[Sikuli-driver] [Question #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-05-05 Thread Geoff Bache
New question #266528 on Sikuli: https://answers.launchpad.net/sikuli/+question/266528 I'm focussing on an application via its window title, but finding that further calls to focus() don't work after the app has changed window title. Basically what I want to do is return focus to the application

Re: [Sikuli-driver] [Question #266382]: Sikuli, IDE, libopencv, Windows

2015-05-05 Thread Rustam
Question #266382 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266382 Rustam posted a new comment: Arrrg :) The same problem, i think i'll try offline installation -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contac

Re: [Sikuli-driver] [Question #266508]: using ctypes I get the error: 'module' object has no attribute 'WinDLL'

2015-05-05 Thread RaiMan
Question #266508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266508 RaiMan posted a new comment: thanks for feedback. I have the time and SikuliX is my hobby ;-) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer conta

Re: [Sikuli-driver] [Question #266508]: using ctypes I get the error: 'module' object has no attribute 'WinDLL'

2015-05-05 Thread G Z
Question #266508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266508 Status: Answered => Solved G Z confirmed that the question is solved: Woow OK. Sorry I didn't know that exists! Thank you, that's great! I will have a good look at the commands on that page! ps. You a

Re: [Sikuli-driver] [Question #266508]: using ctypes I get the error: 'module' object has no attribute 'WinDLL'

2015-05-05 Thread RaiMan
Question #266508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266508 Status: Open => Answered RaiMan proposed the following answer: use SikuliX features: http://sikulix-2014.readthedocs.org/en/latest/globals.html#get-information-about-the-runtime-environment (isLockOn) .

Re: [Sikuli-driver] [Question #266508]: using ctypes I get the error: 'module' object has no attribute 'WinDLL'

2015-05-05 Thread G Z
Question #266508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266508 Status: Answered => Open G Z is still having a problem: Ahh I see :( I would use it to check the num-lock state and if it is 1, I would run type(Key.NUM_LOCK) to disable it and then I can use KEY_SHIFT

Re: [Sikuli-driver] [Question #266508]: using ctypes I get the error: 'module' object has no attribute 'WinDLL'

2015-05-05 Thread RaiMan
Question #266508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266508 Status: Open => Answered RaiMan proposed the following answer: the ctypes module cannot be loaded in Jython environment. Only modules that are completely written in Python language and do not have any n

[Sikuli-driver] [Question #266508]: using ctypes I get the error: 'module' object has no attribute 'WinDLL'

2015-05-05 Thread G Z
New question #266508 on Sikuli: https://answers.launchpad.net/sikuli/+question/266508 Hi Everyone, To check num lock state (and deactivate if necessary to overcome the shift key bug), I do the following in python: import ctypest ctypes.WinDLL("User32.dll").GetKeyState(0x90) This works in pytho

Re: [Sikuli-driver] [Question #266455]: Region arguments seem to be mixed up?

2015-05-05 Thread G Z
Question #266455 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266455 Status: Answered => Solved G Z confirmed that the question is solved: Awesome!! Thanks guys for the prompt reply, you are the best! :) -- You received this question notification because you are a memb

Re: [Sikuli-driver] [Question #266455]: Region arguments seem to be mixed up?

2015-05-05 Thread Manfred Hampl
Question #266455 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266455 Manfred Hampl proposed the following answer: see http://sikulix-2014.readthedocs.org/en/latest/region.html A Region is a rectangular area on a Screen and is defined by 1.its upper left corner (x, y) being th

Re: [Sikuli-driver] [Question #266455]: Region arguments seem to be mixed up?

2015-05-05 Thread RaiMan
Question #266455 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266455 Status: Open => Answered RaiMan proposed the following answer: A region is defined by reg = Region(x, y, w, h) where (x,y) is the top left corner and w is the width and h is the height (hence printing

[Sikuli-driver] [Question #266455]: Region arguments seem to be mixed up?

2015-05-05 Thread G Z
New question #266455 on Sikuli: https://answers.launchpad.net/sikuli/+question/266455 Hi RaiMan, I've noticed that while using the Region() function it wouldn't find the things in the area I defined, so I used selectRegion() to check if my coordinates for the Region() are correct and I've found