Re: Tell Blocks Considered Harmful (was Re: open for access)
Re: Tell Blocks Considered Harmful (was Re: open for access)
- Subject: Re: Tell Blocks Considered Harmful (was Re: open for access)
- From: Shane Stanley <email@hidden>
- Date: Tue, 16 Dec 2008 21:18:16 +1100
- Thread-topic: Tell Blocks Considered Harmful (was Re: open for access)
On 16/12/08 9:08 PM, "Chris Page" <email@hidden> wrote:
> What I'm asking is whether you need that script
> running within InDesign to be able to display a modal dialog in
> another application to prevent the user from interacting with that
> other application. That's what you can do today:
>
> tell application "Finder" to display alert "Hi!"
>
> If you do that in a script running in InDesign, the user won't be able
> to interact with Finder or the Desktop without dismissing the dialog.
> At the same time, the script will be paused waiting for the display
> alert¹ command to return from Finder and InDesign will (probably) not
> respond to user input until the script proceeds.
Yes, that's needed. Not so much for the case of being run from InDesign or
the Finder or whatever -- although there are times when that's wanted too --
but when being run from an applet or droplet.
--
Shane Stanley <email@hidden>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
_______________________________________________
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