sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32976
Re: [Question #267765]: Can't use App.open, openApp, App.focus (Mac 10.7, Sikuli 1.1 2015-06-04)
Question #267765 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267765
Status: Needs information => Open
Linda gave more information on the question:
I just copied your code and ran it, nothing else;
bs = App("Safari")
bs.open() # open and focus
bs.focus() # has the same effects as open() on Mac currently
bs.close() # close the app
--------------------------------------------------------------------------------
Also tried with "Safari.app" - same result.
bs.focus() does not throw the error, but it only works when app is
minimized or behind another window, not when it's closed, then I get the
same result as in original post (icon jumps in dock, then nothing
happens)
bs.close() works fine.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.