Re: [Sikuli-driver] [Question #270449]: App.close fails to close
Question #270449 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270449 RaiMan posted a new comment: @Jeff: 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #270449]: App.close fails to close
Question #270449 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270449 Jeff_Vallis posted a new comment: Tested 1.1.0(2015-08-20_01:00nightly)/Mac10.10.4/Java8(64)1.8.0_25-b17 App.close(TheApp) now works fine -- 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
Re: [Sikuli-driver] [Question #270449]: App.close fails to close
Question #270449 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270449 Status: Open = Answered RaiMan proposed the following answer: tested with latest build (your config). this works: saf = App(Safari) # create App instance saf.open() # open it wait(3) saf.close() # close it conclusion: use the instance methods instead of the class methods (nevertheless: App.close(Safari) should work also, but does not do yet ;-) -- 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
Re: [Sikuli-driver] [Question #270449]: App.close fails to close
Question #270449 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270449 Status: Answered = Solved Jeff_Vallis confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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
Re: [Sikuli-driver] [Question #270449]: App.close fails to close
Question #270449 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/270449 RaiMan posted a new comment: I just fixed the problems with the class methods. With tomorrow's build your usage should work also. Would be nice if you test it. -- 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
[Sikuli-driver] [Question #270449]: App.close fails to close
New question #270449 on Sikuli: https://answers.launchpad.net/sikuli/+question/270449 1.1.0(2015-07-21_01:00nightly)/Mac10.10.4/Java8(64)1.8.0_25-b17 def Gen_Close_App(): global Which_App App.close(Which_App) #closeApp(Which_App) print Gen_Close_App() ,Which_App Which_App = Tuck Gen_Close_App() Result :- Gen_Close_App() Tuck but app still running Opening the App works fine :- def Gen_Open_App(): global Which_App App.open(Which_App); wait(1) App.focus(Which_App) App.open(Which_App); wait(1) App.focus(Which_App) print Gen_Open_App() ,Which_App Which_App = Tuck Gen_Open_App() result :- [log] App.open [-1:Tuck] [log] App.focus: [-1:Tuck] [log] App.open [-1:Tuck] [log] App.focus: [-1:Tuck] Gen_Open_App() Tuck I saw from reading instructions that the name needs to be the name in the Tool Bar - I presume that this means the name in the Dock Tuck is the name in the Dock and also the name in Activity Monitor I also tried the above with Which_App = Google Chrome Which_App = Safari and failed to get it to close is this a bug or am I doing something wrong what is Tuck - Tuck is a Fluid Application - http://fluidapp.com/ Fluid allows you to load a specific web site -- 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