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: Paul Berkowitz <email@hidden>
- Date: Sun, 14 Dec 2008 10:53:56 -0800
- Thread-topic: Tell Blocks Considered Harmful (was Re: open for access)
On 12/14/08 5:11 AM, "Chris Page" <email@hidden> wrote:
> On Dec 14, 2008, at 9:39 PM, Shane Stanley wrote:
>
>> On 14/12/08 8:30 PM, "Chris Page" <email@hidden> wrote:
>>
>>> 2. The dialog is modal and prevents the user from interacting with
>>> the target application.
>>
>> I'd be sad to see that go.
>
> Why is that important for your scripts? Is it critical for correct
> operation or just nice-to-have? Do you need to be able to prevent the
> user from interacting with the target application?
Yes, exactly. display dialogs need an answer before the script can move on;
and in many cases allowing the user to modify things between the question
and answer would mess everything up. In other cases, with complex apps that
do hundreds of things, 99% of which would not interfere with the script, it
might be a convenience to the user to be able to take care of something
unrelated to the script. But the minor inconvenience of forcing him to
answer the question first as opposed to messing up the script leading, who
knows, to possible data loss is certainly worth preserving.
--
Paul Berkowitz
_______________________________________________
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