• 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: Steven Angier <email@hidden>
  • Date: Fri, 13 Sep 2002 09:11:36 +1000

On 12/9/02 11:21 AM, "Christopher Nebel" <email@hidden> wrote:

> 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*.

By that logic, you could also say that it is rude for a script to activate
another application, since that wasn't initiated by the user either.

And it is often a necessity that the user stop farting around and that they
do choose a file *right now*, because the AppleScript is trying to get work
done, and whatever the user is doing at that moment is impeding that.

Sometimes it makes perfect sense to put up a dialog over whatever
application happens to be in front.


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.

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

  • Prev by Date: Re: Display dialog frontmost?
  • Next by Date: Two questions - on the dumbish side
  • Previous by thread: Re: Display dialog frontmost?
  • Next by thread: Re: Display dialog frontmost?
  • Index(es):
    • Date
    • Thread