Re: Display dialog frontmost?
Re: Display dialog frontmost?
- Subject: Re: Display dialog frontmost?
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 11 Sep 2002 13:26:55 -0700
If you activate a different app and then want the dd to display in front
while there, then put it in the tell block to that app:
tell application "Finder"
activate
display dialog "Boo"
end tell
--
Paul Berkowitz
>
From: Jason Bourque <email@hidden>
>
Date: Wed, 11 Sep 2002 14:21:21 -0400
>
To: John Delacour <email@hidden>, AS
>
<email@hidden>
>
Subject: Re: Display dialog frontmost?
>
>
I just saved the below script as an app and ran it.
>
>
The dialog does not appear unless the application is brought to the front.
>
So your experience is different than mine in OS 10.2 with AS 1.9
>
>
>
tell application "Finder" to activate
>
tell me to display dialog "Boo"
>
>
>
Me refers to the script or the editor your running it from, not the
>
frontmost app. U
>
>
Thanks,
>
>
Jason Bourque
>
>
>
On 9/11/02 1:35 PM, "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.
>
>
>
> JD - Mini-Scripter
>
> _______________________________________________
>
> 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.
>
_______________________________________________
>
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.
_______________________________________________
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.