Re: FastScripts and script editor discrepancies
Re: FastScripts and script editor discrepancies
- Subject: Re: FastScripts and script editor discrepancies
- From: Yvan KOENIG <email@hidden>
- Date: Wed, 22 Jun 2016 20:48:36 +0200
Le 22 juin 2016 à 20:25, Christopher Stone < email@hidden> a écrit :
System Events produces the same text as the Finder and is a better option, because you don't disrupt the user's visual-space – and you can easily return him/her to the app they were working in:
--------------------------------------------------- tell application "System Events" set frontApp to first process whose frontmost is true activate display dialog "1212" set frontmost of frontApp to true end tell ---------------------------------------------------
Hello Christopher
Did you look at the events log ?
Here I get :
tell application "System Events" get process 1 whose frontmost = true activate display dialog "1212" «event ascrgdut» display dialog "1212" set frontmost of application process "Script Editor" to true end tell
which seems to be odd.
Yvan KOENIG running El Capitan 10.11.5 in French (VALLAURIS, France) mercredi 22 juin 2016 20:46:18
|
_______________________________________________
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