Re: Best practice for activation of another application
Re: Best practice for activation of another application
- Subject: Re: Best practice for activation of another application
- From: David Crowe <email@hidden>
- Date: Sat, 8 Oct 2005 12:38:29 -0600
I like to put 'activate' before every display dialog and 'error'
statement, although sometimes it can be annoying. But if the input is
needed, c'est la vie.
It's also important to minimize user input, and to try to cluster it
in time, so that the user isn't supposed to interact every few
seconds, it's much better to get the input up front, if possible.
It's also important to remember that 'activate' may be necessary even
when the application may already be active according to your script,
because the user may have changed the focus if more than a few
seconds has elapsed.
I wish this was the default behavior for display dialog/error,
actually, with the scripter having to add "without activation" to
stop it from doing this.
- David Crowe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden