Re: Obnoxious Script Editor 2
Re: Obnoxious Script Editor 2
- Subject: Re: Obnoxious Script Editor 2
- From: Rob Jorgensen <email@hidden>
- Date: Sun, 2 Nov 2003 10:22:42 -0500
At 12:52 PM +0000 11/2/03, Nigel Garvey wrote:
Rob Jorgensen wrote on Sat, 1 Nov 2003 21:44:39 -0500:
Howdy,
The following script, when saved as a stay open application, opens
the dictionary of the frontmost application in Script Editor 2.
During my tests, if I reopen the applet (click the script's icon in
the dock while the script is running), Script Editor, which is
already running, becomes visible but not active, blocking the
frontmost application that is still active according to the menus.
The weird part is that this behavior isn't consistent. Reopening the
script while switching back and forth between different apps
(scriptable and non-scriptable) doesn't always produce the unwanted
Script Editor behavior, and I can't detect a pattern.
Hi, Rob.
I get the same results using your set-up - OS 10.2.8 and SE 2.0 beta.
However, the effect only occurs if Script Editor is hidden at the time
the script reopens. It seems that when it's made visible (by being told
to open the file), its current windows come to the front even though it
itself doesn't. The dictionary window opens in the background. If Script
Editor's in the background, but visible, none of its windows covers the
frontmost window of the frontmost app. Similarly if Script Editor has to
launch to obey the 'open' command, its windows don't get in the way.
I don't know if you'll like this compromise. If SE 2.0 is hidden, it
covers the frontmost app briefly, but then retreats to the background:
I generally don't use Script Editor so it isn't much of an issue for
me. I have, however, previously released the script and I was
attempting to improve its behavior when a non-scriptable app was
targeted. The improvements to the Script Debugger version are in
place and it works as desired (SD comes forward only when a
scriptable app is targeted). Since I don't have access to Panther and
the non-beta version of Script Editor 2, I might just disclaim the
behavior of the SE script and move on. It's editable and users can
tweak as desired. :-)
Thanks to Craig and Nigel for taking the time to test the script and
provide detailed feedback.
-- Rob
_______________________________________________
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.