• 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: Best way to orderly display dialogs etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to orderly display dialogs etc.


  • Subject: Re: Best way to orderly display dialogs etc.
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 31 Oct 2017 23:48:04 +1100

On 31 Oct 2017, at 10:55 pm, 2551phil <email@hidden> wrote:
>
> display dialog doesn’t need to - and ideally shouldn’t - be in a tell block
> at all

It certainly doesn't need to, but there's no reason it shouldn't.

I suspect you're thinking of the general admonition to keep scripting addition
calls outside app tell blocks, but display dialog and a few others (think
UI-type commands) are exceptions that are explicitly designed to be safe in
tell blocks.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Best way to orderly display dialogs etc. (From: Jean-Christophe Helary <email@hidden>)
 >Re: Best way to orderly display dialogs etc. (From: 2551phil <email@hidden>)

  • Prev by Date: Re: Best way to orderly display dialogs etc.
  • Next by Date: Re: Best way to orderly display dialogs etc.
  • Previous by thread: Re: Best way to orderly display dialogs etc.
  • Next by thread: Re: Best way to orderly display dialogs etc.
  • Index(es):
    • Date
    • Thread