• 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: OSAX within tells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSAX within tells


  • Subject: Re: OSAX within tells
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 19 Jan 2001 11:40:14 +1100

On 19/1/01 10:58 AM +1000, Jolly Roger, email@hidden, wrote:

> I'm not sure I understand your comment in that context. You seem to be
> suggesting that people do this:
>
> tell application "Outlook Express"
> -- display dialog is not an Outlook Express command,
> -- so rather than not sending the command to OE, we
> -- activate OE to circumvent the dialog-in-background
> -- problem
> activate
> display dialog "blah"
> end tell
>
> ...rather than this?:
>
> -- no tell block, no problem!
> display dialog "blah"

There _is_ a problem in your example if something other than the script is
frontmost -- it needs an activate anyway. And if something else is active
for some good reason, you're just slowing things down.

I can't believe that anyone is really worried about the time taken to call
display dialog -- I mean, it's peanuts compared with the time to for the
dialog to actually be drawn and used.

It all smacks of an anal need to set down rules...

--
Shane Stanley, email@hidden


  • Follow-Ups:
    • Re: OSAX within tells
      • From: Jolly Roger <email@hidden>
References: 
 >Re: OSAX within tells (From: Jolly Roger <email@hidden>)

  • Prev by Date: Re: OSAX within tells
  • Next by Date: Re: OSAX within tells
  • Previous by thread: Re: OSAX within tells
  • Next by thread: Re: OSAX within tells
  • Index(es):
    • Date
    • Thread