Re: [Sikuli-driver] [Question #709291]: Documentation of "Use()" command

2024-03-05 Thread RaiMan
Question #709291 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709291

Status: Open => Answered

RaiMan proposed the following answer:
Sorry for the delay.

No such feature, but this might help to make your own function:

showMonitors()
s0 = use()
print SCREEN.getID()
s1 = use(Screen(1))
print SCREEN.getID()

SCREEN always is the current default Screen object and getID() returns
ist current monitor ID.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #709291]: Documentation of "Use()" command

2024-03-05 Thread Nicolas LEGOUPIL
Question #709291 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709291

Status: Expired => Open

Nicolas LEGOUPIL is still having a problem:
Is there any answer here?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #709291]: Documentation of "Use()" command

2024-03-02 Thread Launchpad Janitor
Question #709291 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709291

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #709291]: Documentation of "Use()" command

2024-02-15 Thread Nicolas LEGOUPIL
New question #709291 on SikuliX:
https://answers.launchpad.net/sikuli/+question/709291

I hope it's not already answered/documented, but as you can imagine it's hard 
to find relevant results with "use" keyword in search.

There is no documentation about the "Use()" command which seems to be really 
useful, especially in multi-monitor environment ; the only article I found 
about it is this one :
https://answers.launchpad.net/sikuli/+question/708296

For example, I would like to know which is the current "default screen region" 
set in the running session (IDE or script) ; let's take this code and assume 
the command I'm looking for is "getCurrentDefaultScreen()":

getCurrentDefaultScreen() #should return 0 or 1, depending of the setup
use(Screen(2))
getCurrentDefaultScreen() #should return 2
use()
getCurrentDefaultScreen() #should return same as first line

Did I miss something?

Thanks in advance

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp