Capture screen turns to save a screen

Asked by Juan Carlos Barbosa

Hello, I am new working with Sikuli, I can confess that is very usable, but I am having an issue that sometimes stops me working.

When I am trying to capture several elements to test using the buttons on the left bar, sometimes the system opens a screen used before and I am unable to use the elements I want to use, so, sometimes I need to close the Sikuli in order to continue working.

Is there another shortcut to avoid these issues?

Regards and congratulations for your project, it helping me a lot to automate in unexpected GUIs.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bruno Vieira (giuliapo) said :
#1

If I understood correctly, you are trying to capture some element on the screen and when you press a button on the Sikuli interface that allows to capture something, the Sikuli IDE hides and comes up another window.

This "other window" is the last used window. So, if you wish to take a screenshot of Internet Explorer you should focus on it and then alternate to Sikuli and only then press the button to capture. This way, it will focus on Internet Explorer since it was the last focuses window.

Another way to do this is to use the shortcut CTRL+SHIFT+2 that will make a capture wherever you are and add it to your script.

If I miss the point of your question, please clarify.

Can you help with this problem?

Provide an answer of your own, or ask Juan Carlos Barbosa for more information if necessary.

To post a message you must log in.