sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27439
[Question #252592]: How to determine which screen my application is running on?
New question #252592 on Sikuli:
https://answers.launchpad.net/sikuli/+question/252592
Hello RaiMan,
I have been using Sikuli for about a week now and I have run into a problem when dealing with multi-monitor environments and would like to ask you for some help.
I have been through this (https://answers.launchpad.net/sikuli/+question/173996) post regarding using Sikuli in multi-monitor environments. The problem I'm facing is that i do not know before hand which screen my application will launch into (the application is started from the Sikuli script itself using subprocess.popen().
In the above post the below lines get the screen of "Chrome":
aChrome = App("Chrome") # to be adapted for Windows
aChrome.focus()
SCR1 = aChrome.window().getScreen()
My question is: is there any way of doing this in Windows 7?
Thanks in advance! :)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.