openApp('iTerm') -> [error] App.open failed: iTerm not found

Asked by Юрий Аполлов

macOS High Sierra, 10.13.5 (17F77)
SikuliX 1.1.2, Build: 2018-03-08_08:37

Neigher do work 'iTerm2', 'iTerm.app', '/Applications/iTerm.app/Contents/MacOS/iTerm2'.
At the same time 'Google Chrome' and 'iTunes' work just fine.

BUT!

If I run iTerm beforehand, than it would be raised or launched if it had no windows, so this behavior is persistent only if there's no iTerm process running.
Same thing goes for Calendar suddenly.

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#2

Just tested on my macOS 10.13.5 using latest nightly 1.1.3

openApp("calendar")
openApp("Calendar")

and

openApp("iterm")
openApp("iTerm")

all are working.

Revision history for this message
Юрий Аполлов (apollovy) said :
#3

update to nightly, still no luck.
any ideas what could I do wrong?

Revision history for this message
RaiMan (raimund-hocke) said :
#4

pls. show a snippet, that does not work.

Revision history for this message
Юрий Аполлов (apollovy) said :
#5

Strange, but simple `openApp("iTerm")`, without any more symbols, doesn't work for some reason for me.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

May be a language problem.

Switch your Mac to system language english and try again.

Revision history for this message
Юрий Аполлов (apollovy) said :
#7

I switched language to English, rebuilt the app, but no success. Still the same error...
The strange thing is that if I have iTerm running with no windows, but present among launched applications (Cmd+Tab), then it launches just fine...

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.