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 10:50:07 -0800
No, I think he's looking for:
on reopen
end reopen
which will work with a droplet. You can tell it to run (or to open) if you
wish to direct it to do the same as that command handler, or to do something
else instead.
--
Paul Berkowitz
>
From: paulskinner <email@hidden>
>
Date: Fri, 15 Feb 2002 13:29:12 -0500
>
To: AppleScript Users <email@hidden>
>
Subject: Re: "on run" & "on re-run"
>
>
What you're looking for is...
>
>
on activate
>
--do stuff
>
end
>
>
On Friday, February 15, 2002, at 01:19 PM, JJ wrote:
>
>
> Let's say I'm running a stay-open applet/droplet from apple menu or
>
> from any
>
> app able to launch external files.
>
>
>
> on run
>
> beep
>
> end run
>
> --> first time works OK
>
> --> Also, every time it is double-clicked, works OK
>
>
>
> But, the second time I choose my app at apple menu, it becomes the
>
> frontmost
>
> app, but doesn't do nothing.
>
>
>
> What's the apple event I should handle to catch Finder's requests?
>
> Doesn't it exists "on re-run"?
>
>
>
> JJ
>
> _______________________________________________
>
> 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.
>
>
>
>
>
--
>
Paul Skinner
>
_______________________________________________
>
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.
_______________________________________________
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.