← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #191950]: focus() works the first time only

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- Do you think that having different behaviours on Mac and Windows for
the same function focus() is a bit tricky for those who write scripts
for both OS ?

of course it is ;-)
But compared to the beta state of Sikuli, the features of the App class are somehow alpha state ;-) so we have to live with it for now.

For some features it might be of value to write your own helper functions or wrapper classes, that hide this differences to some extent. but this is always a decision based on effort and outcome for yourself.
As with many things in life :-)

--- scripting tools:
web apps: Selenium
Windows: AutoIt
Mac: AppleScript (might be integrated with Sikuli via osascript)

BTW: I am not one of the developers !

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