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: Chris Page <email@hidden>
- Date: Tue, 16 Dec 2008 02:08:15 -0800
I was reviewing earlier messages and realized this could use a reply.
On Dec 15, 2008, at 9:20 AM, Shane Stanley wrote:
What I'm asking is whether, if the script is being run by an
application -- let's say InDesign via its Scripts panel -- would it
then block interaction with the app via the UI?
Yes, as it does now. 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.
--
Chris Page
The other, other AppleScript Chris
_______________________________________________
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