• 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: Popup dialog message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Popup dialog message


  • Subject: Re: Popup dialog message
  • From: Michael Terry <email@hidden>
  • Date: Sat, 8 May 2004 10:40:23 -0700

On May 8, 2004, at 12:03 AM, Gnarlodious wrote:

I'm trying to make a popup message live for 2 seconds then then bring the
original app to the front.

Something like:


tell application "Finder"
set focusApp to every application process whose frontmost is true
tell me to display dialog popupMessage giving up after 2
set frontmost of focusApp to true
end tell


The easiest way to handle this would be to never disturb the front application's frontmost-ness:

tell app "Finder"
tell app (path to frontmost application as text)
display dialog msg giving up after 2
end
end


Mike
_______________________________________________
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: Popup dialog message
      • From: Gnarlodious <email@hidden>
References: 
 >Popup dialog message (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Popup dialog message
  • Next by Date: Internet Connect Script
  • Previous by thread: Re: Popup dialog message
  • Next by thread: Re: Popup dialog message
  • Index(es):
    • Date
    • Thread