• 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: Jolly Roger <email@hidden>
  • Date: Thu, 18 Jan 2001 17:58:20 -0600
  • Replyto: email@hidden

on 1/18/2001 5:18 PM, email@hidden (email@hidden) wrote:

> I have not seen that lately. It's been my experience that whichever app is
> told to display a dialog moves to the front. Even if there are cases where
> that does not happen, then I believe it would be better to advise scripters
> to activate the app before displaying a dialog otherwise the Applet will
> move to the front in order to display the dialog which could also be a
> problem, especially if you're running from OSA Menu or another FBA. I
> believe Leonard recommends not calling display dialog outside of a tell
> block. (At least he used to, he may have fixed that)

Cal's discussion was based on the fact that people make the mistake of
sending commands to apps that do not handle them, which can cause problems
if a dialog is displayed in the app if it is in the background.

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"


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

  • Prev by Date: Re: How do I .....
  • 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