Re: Display dialog frontmost?
Re: Display dialog frontmost?
- Subject: Re: Display dialog frontmost?
- From: Steven Angier <email@hidden>
- Date: Fri, 13 Sep 2002 08:50:15 +1000
On 12/9/02 3:35 AM, "John Delacour" <email@hidden> wrote:
>
At 12:07 pm -0400 11/9/02, Jason Bourque wrote:
>
>
> tell application (path to frontmost application as string)
>
> display dialog "boo"
>
> End
>
>
>
> This avoids having to know what app is frontmost at any given time.
>
>
tell me to display dialog "boo"
>
>
Has always and still does do the same thing without the verbiage.
Not quite the same thing. "tell me to display dialog..." will display the
dialog over the process running the script (and, incidentally, won't bring
that process to the front).
"tell app (path to frontmost...)" will display the dialog over whatever
process is in front at the time (no need to activate anything). But this
technique also requires that you manage timeouts.
Steven Angier
Macscript.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.