• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Display dialog frontmost?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Display dialog frontmost?
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: Display dialog frontmost? (From: Jason Bourque <email@hidden>)

  • Prev by Date: Re: Saving a property after running a script remotely
  • Next by Date: Re: System version as number (on non-US systems)
  • Previous by thread: Re: Display dialog frontmost?
  • Next by thread: Re: Display dialog frontmost?
  • Index(es):
    • Date
    • Thread