How to tell App to open on a specific Screen

Asked by J Sproat

Currently I use openApp() to launch my applications. Is there a way to tell the App to open on Screen(1), with openApp() or is there another method available?

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
j (j-the-k) said :
#1

I think most apps will decide themselves on which screen they will open, like they do when you start them manually. Sikuli internally starts Apps with the CreateProccess function in c++. This function has no possibility to set a screen for the app.
To appear on the right screen is the responsibility of the app, and as far as I can see it, Sikuli has no influence on it.

Can you help with this problem?

Provide an answer of your own, or ask J Sproat for more information if necessary.

To post a message you must log in.