[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+

Bug #1465945 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
High
RaiMan

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]

Revision history for this message
RaiMan (raimund-hocke) wrote :

details see related question

Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
RaiMan (raimund-hocke)
description: updated
summary: [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
+ from IDE started as app --- workarounds 2015-06-19+
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.