Question #245030 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245030

    Status: Open => Answered

RaiMan proposed the following answer:
Before trying such complex things like observe (btw: not working
reliably in RC3 and 1.0.1), you should do some basics.

1. known class names are red (sorry for this historical thing ;-) so scr
= Screen(0) is ok, but not needed, since any undotted method addresses
Screen(0).

2. selectRegion() as such is not bound to any screen (like capture also. So 
(see 1.) just using 
r = selectRegion()
is always enough.
Only in the moment when you start the select/capture, the selection is 
restricted to the screen where you started the action.

Do this:
Screen(0).highlight(3)
Screen(1).highlight(3)

This will show you the respective screen with a red frame and print the
dimensions.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
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

Reply via email to