← Back to team overview

sikuli-driver team mailing list archive

[Bug 1465945] Re: [1.1.0] OSX 10.7: Can't use App.open, openApp, App.focus running script from IDE started as app --- workaround: run script from Terminal

 

** Description changed:

- Updated to latest build of 1.1 today, and my scripts that previously worked fine on 1.0 have now stopped working.. 
-  
+ ************ workarounds
+ 
+ --- run your script from command line (Terminal)
+ 
+ or
+ 
+ --- start the IDE as "non-application"
+ 
+ After having moved the SikuliX.app to /Applications use the provided
+ command scripts
+ 
+ - doubleclick runsikulix
+ - in a Terminal use runsikulix (if you want to provide parameters)
+ - in a Terminal use /Applications/SikuliX.app/run (equivalent to runsikulix)
+ 
+ running scripts from the so started IDE behave the same as when run from
+ command line.
+ 
+ ----------------------------------------------------
+ 
+ Updated to latest build of 1.1 today, and my scripts that previously
+ worked fine on 1.0 have now stopped working..
+ 
  Env:
  Mac 10.7
  Sikuli IDE 1.1 2015-06-04
  
  I can't open any app with Sikuli, I have tried the following:
  # Open the app if its not already open
  openApp("Safari.app")
  wait(2)
  App.open("Safari.app")
  wait(2)
  App.focus("Safari.app")
  
  It just blinks in the Dock, and then nothing happens (app not docked)
  
  output:
  [log] App.open [-1:Safari]
  [log] App.open [-1:Safari]
  [log] App.focus: [-1:Safari]

** Summary changed:

- [1.1.0] OSX 10.7: Can't use App.open, openApp, App.focus running script from IDE started as app --- workaround: run script from Terminal
+ [1.1.0] OSX 10.7: Can't use App.open, openApp, App.focus running script from IDE started as app --- workarounds 2015-06-19+

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1465945

Title:
  [1.1.0] OSX 10.7: Can't use App.open, openApp, App.focus running
  script from IDE started as app --- workarounds 2015-06-19+

Status in Sikuli:
  In Progress

Bug description:
  ************ workarounds

  --- run your script from command line (Terminal)

  or

  --- start the IDE as "non-application"

  After having moved the SikuliX.app to /Applications use the provided
  command scripts

  - doubleclick runsikulix
  - in a Terminal use runsikulix (if you want to provide parameters)
  - in a Terminal use /Applications/SikuliX.app/run (equivalent to runsikulix)

  running scripts from the so started IDE behave the same as when run
  from command line.

  ----------------------------------------------------

  Updated to latest build of 1.1 today, and my scripts that previously
  worked fine on 1.0 have now stopped working..

  Env:
  Mac 10.7
  Sikuli IDE 1.1 2015-06-04

  I can't open any app with Sikuli, I have tried the following:
  # Open the app if its not already open
  openApp("Safari.app")
  wait(2)
  App.open("Safari.app")
  wait(2)
  App.focus("Safari.app")

  It just blinks in the Dock, and then nothing happens (app not docked)

  output:
  [log] App.open [-1:Safari]
  [log] App.open [-1:Safari]
  [log] App.focus: [-1:Safari]

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1465945/+subscriptions


References