I’m facing a little problem.
- I have a virtual OS in VMWare and i need to take a screenshot of it.
- I have to be able to take screenshot from original OS(my software is running in original OS and key presses in virtual OS are forbidden :)).
- If i operate in virtual OS the keyboard and mouse is used by VMWare and original OS cannot take screenshot using key combination “Alt+Print Screen”.
What i have to be able to do is:
- I have to be able to operate in virtual OS(i will be using it while software is taking screenshots) and software in original OS has to be able to take screenshot of all the windows in original OS(including VMWare window)
- There shouldn’t be any key presses in virtual OS
My view of solving this problem is to take a screenshot in original OS without pressing keyboard shortcut “Alt+Print Screen” (because keyboard is used by virtual OS). So how could taking a screenshot be achieved without using keyboard?
Can anyone give me an idea how to managa that (in some programming language for example:c or c++?) My software is written in Java so it’s possible to run c and c++ code from there.
All the best to you all,
KMI
You should have a look at the
Robotclass. Specifically, thecreateScreenCapturemethod.