Re: App and droplet
Re: App and droplet
- Subject: Re: App and droplet
- From: Axel Luttgens <email@hidden>
- Date: Fri, 13 Oct 2006 10:04:19 +0200
On 12/10/06 22:41, Philip Aker wrote:
On 2006-10-12, at 06:20:24, Axel Luttgens wrote:
[...]
Seems to work here, as a stay-open applet.
The problem was (as I discovered from a post Craig sent me off-list)
is that he was in an AppleScript Studio droplet…
Yes, that's why I made a reference to AS Studio in my code (which in
fact, because of a bad reading of mine, was rather similar to Kai's one...).
But I forgot other peculiarities of an AS Studio app...
Perhaps could something like this do the trick:
property GotActivated : false
on open names
(* Add your script to process the names here. *)
if not GotActivated then quit
end open
on activated theObject
set GotActivated to true
end activated
Quick tests tend to show that it is indeed the case.
But is that ordering of events firing reliable?
And anyway, I may have forgotten something else...
HTH,
Axel
_______________________________________________
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