The main problems with standard apps like TextEdit (not having a space
in name - to be fixed) should be fixed now.

There are 3 items to identify a running app (samples for TextEdit)
 1- displayed name (that shows up in the top menu bar) = TextEdit
 2- process name (currently used to find the app) = TextEdit
 3- file name (that was used to start the app) = /Applications/TextEdit.app

So for apps like TextEdit the names are somehow homogenous.

But there are apps, that show up in-homogenous:
JetBrain's IntelliJ IDEA: 
1- IntelliJ IDEA   
2- idea   
3- /Applications/IntelliJ IDEA CE.app

I will now trigger a build, that uses 1- (displayed name) to identify
running apps, since that might be the most intuitiv identifier.

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

Title:
  [1.1.4] Mac: Problems with App.focus() and App.isRunning()

Status in Sikuli:
  Fix Committed

Bug description:
  Running 1.1.4 12-14-2018 build on Mac OS Mojave 10.14.2

  It appears that isRunning() is having a problem on my Mac. 
  When the app being tested is not running, then the isRunning() command 
returns False in a couple of seconds. 
  When the app being test is running, then the command hangs for about 16 
seconds. It does eventually return True. 
  I think this is also causing the App.focus() command to not actually set 
focus to the designated app.
  I did not have these problems in my scripts prior to upgrading to 1.1.4

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

_______________________________________________
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

Reply via email to