• 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: Christopher Nebel <email@hidden>
  • Date: Wed, 11 Sep 2002 18:21:33 -0700

On Wednesday, September 11, 2002, at 01:26 PM, Paul Berkowitz wrote:

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

This will certainly work, but I want to point out that this sort of thing is considered to be in bad taste, interface-wise. The user is doing what they're doing, and it's presumptuous and rude to suddenly jump in their face yammering on about how they need to choose a file *right now*.

Of course, this only applies if you plan to give your script to someone else. If it's purely for your own use, you can do whatever you darn well please.


--Chris Nebel
AppleScript Engineering
_______________________________________________
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: email@hidden (Michael Sullivan)
    • Re: Display dialog frontmost?
      • From: Steven Angier <email@hidden>
    • Re: Display dialog frontmost?
      • From: Jon Pugh <email@hidden>
References: 
 >Re: Display dialog frontmost? (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Found a use for 'reopen'
  • Next by Date: Re: Creating TextBox in Excel
  • Previous by thread: Re: Display dialog frontmost?
  • Next by thread: Re: Display dialog frontmost?
  • Index(es):
    • Date
    • Thread