Activating applet or app?
Activating applet or app?
- Subject: Activating applet or app?
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 08 Apr 2002 15:26:30 -0700
I'm most accustomed to writing scripts for applications (Entourage and
Outlook Express) which run them as compiled scripts from their Scripts menu
and which are designed not to allow user interaction (interference) of any
type via clicks or menu items while a script is running.
I'm writing a dew scripts now for an app (Excel) which doesn't have a Script
menu, so the scripts will be applets. Naturally, when the script has to open
display dialogs, either the applet has to activate, or it will activate
Excel and set the display dialog within the Excel block.
Does anyone have any opinions on which is better? And for that matter,
whether it also makes a difference while the script is doing other things
such as text and file manipulations, some of which might go on for a bit.
Given that the applet will be double-clicked in the Finder, and occasionally
the display dialog questions refer to things in an Excel Worksheet which
probably should be visible at the time, I can see the advantage of
activating Excel. But that might get the user clicking away in Excel before
the script has finished - probably not a good idea. So I was thinking that
maybe I should activate Excel for an instant to put it in front of the
Finder and other apps, then re-activate the applet for the rest of its run.
Or will Excel's own events go faster with Excel in the front? And, if so,
does that apply only to OS 9 and not X?
I'd appreciate hearing from anyone with experience here. Thanks in advance.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.