New question #144624 on Sikuli: https://answers.launchpad.net/sikuli/+question/144624
Hi all, i try define a region with a image, this is my code: def define_region(): scr.hover(left-top corner of image) xy1 = Env.getMouseLocation() scr.hover(right-lower corner of image) xy2 = Env.getMouseLocation() x = xy1.x y = xy1.y w = xy2.x - xy1.x h = xy2.y - xy1.y return Region(x, y, w, h) any way more simple? thanks =) -- 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 : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

