Re: Yosemite and activate failures
Re: Yosemite and activate failures
- Subject: Re: Yosemite and activate failures
- From: Ray Robertson <email@hidden>
- Date: Thu, 15 Jan 2015 16:15:48 -0500
- Sun-java-system-smtp-warning: Lines longer than SMTP allows found and truncated.
On Jan 15, 2015, at 3:06 PM, Yvan KOENIG <email@hidden> wrote:
What I described as the correct result is in fact : <snip>
So, It's not the normal one.
Thanks for testing. I should add: I’m often getting different results when running the original script with the “activate” command. I’ve yet to see a pattern behind the behavior. I just know in almost all cases the result is wrong.
My understanding is that as it has so graphical interface, the script's process is not seen as the frontmost one.
I have not heard that anything app without a GUI would not be seen as frontmost. Regardless, it seems as if System Events is able to ensure an application is frontmost. But under Yosemite we can no longer rely upon “activate” in applets. Anyone using GUI scripting in an applet should take note, though this will also affect some scripts using pure AppleScript as well.
Ray |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden