On Jan 15, 2015, at 12:33, Ray Robertson < email@hidden> wrote: When using “activate” in an applet, I’m getting unreliable results under 10.10.1. I’m using the script below to test, which should display the name of each application which was activated…
______________________________________________________________________
Hey Ray,
Activate has been rather iffy pre-Yosemite for some while, but I'm fuzzy on exactly how long.
This works reliably for me on Mavericks.
---------------------------------------------- tell application "TextEdit" launch activate set curName to path to frontmost application set AppleScript's text item delimiters to {".", ":"} set _app to text item -3 of (curName as text) end tell ----------------------------------------------
I'd be interested to know if it works on Yosemite.
-- Best Regards, Chris
|