Re: "on run" & "on re-run"
Re: "on run" & "on re-run"
- Subject: Re: "on run" & "on re-run"
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 15 Feb 2002 16:28:00 -0800
On 2/15/02 3:37 PM, "JJ" <email@hidden> wrote:
>
I don't wish communicate myself with the droplet (sending it commands "tell
>
app My_Droplet to open"), but through "apple menu" or some app able to
>
"open" alias, such as Entourage.
I have a script (a compiled script running in Entourage, as it happens) that
tells a stay-open applet to run. It obeys every time, even though it's open.
I needed to do it this way because it's something that ha to run in the
background and couldn't be run directly from Entourage (it uses Sigma's to
emulate key pressing, which won't work if Entourage itself is running a
script).
Try it that way: forget about Apple menu. Run a compiled script from
Entourage, or OSA menu (OS 9), or ScriptMenu (OS X). if it really needs to
call your applet rather than just run the script itself, it will work if it
just tells the applet to run. You'll have to have a first-run setup
procedure that stores the applet as alias in a property of the calling
script.
--
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.