• 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: Thu, 12 Sep 2002 17:23:21 -0700

On 9/12/02 4:11 PM, "Steven Angier" <email@hidden> wrote:

> 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.
>
>
It's sure a whole lot better than putting up a dialog which may be behind
the front app, timing out a minute later, and the first the user knows about
it is getting "AppleEvent timed out."


--
Paul Berkowitz
_______________________________________________
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: bill fancher <email@hidden>
References: 
 >Re: Display dialog frontmost? (From: Steven Angier <email@hidden>)

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