Re: can i 'store script' as stay open applet?
Re: can i 'store script' as stay open applet?
- Subject: Re: can i 'store script' as stay open applet?
- From: Christopher Nebel <email@hidden>
- Date: Wed, 5 Sep 2001 16:29:26 -0700
On Wednesday, September 5, 2001, at 12:48 PM, Denis G. Marcin, Lazarus
Engineering Inc. wrote:
can i from within one script create, store and eventually trigger
stay-open classic applets?
You should be able to cheat. An applet is really a compiled script with
a different file type and a bunch of extra resources (a little
executable code, icons, and some application-related goo.)
What you do is create a stay-open classic applet that has some trivial
script in it. When you want to create a new applet, duplicate the
skeleton to where you want it and then "store script" into it. Voila!
(Disclaimer: I've never actually tried this, but it should work.)
--Chris Nebel
AppleScript Engineering