Re: App and droplet
Re: App and droplet
- Subject: Re: App and droplet
- From: kai <email@hidden>
- Date: Fri, 13 Oct 2006 00:28:55 +0100
On 12 Oct 2006, at 08:33, Philip Aker wrote:
I think there was a miniscule typo in kai's example. The following
works OMM:
So miniscule, Philip, that it continues to escape me - not to mention
my Mac (on which it runs as intended).
I can see only 3 differences between your version and mine: a changed
variable label, the insertion of an action in the open handler - and
a variation of the Boolean test; <if really_quit then quit> vs. <if
(really_quit is true) then quit>. Are you saying the former test
fails on your machine?
--------------
On 12 Oct 2006, at 21: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…
To be fair to Craig, he did mention the fact - albeit after I'd
posted my suggestion. (In view of that, and since this isn't the
applescript-studio list, perhaps the dearth of cigars around here
isn't too surprising. ;-))
Something like this should work for both a regular (stay-open)
droplet - and one produced in AppleScript Studio:
--------
property really_quit : true
on open some_list
(* do something with some_list *)
if really_quit then quit
end open
on idle
set really_quit to false
days
end idle
--------
---
kai
_______________________________________________
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