Re: Can a script create an applet?
Re: Can a script create an applet?
- Subject: Re: Can a script create an applet?
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 02 Feb 2001 01:14:26 -0800
On 2/2/01 12:48 AM, "Mr Tea" <email@hidden> wrote:
>
This from Paul Berkowitz - dateline 2/2/01 2.28 am:
>
>
> Smile can. And Smile is scriptable. So a script can tell Smile to make an
>
> applet to specifications if the user has Smile on their machine.
>
>
Excellent, but can Smile make a droplet? I've been dabbling with it for a
>
couple of days now (the recent thread about it was kinda difficult to
>
ignore) and have so far been unable to save a script as a droplet. The 'on
>
open' block is there, the same script saves as an applet out of Script
>
editor - what obvious and fundamental step am I missing?
>
Yes it can. If you open up Smile's own Script Window script in its Class
Script folder, you'll find a handler SaveAsDroplet (which actually will save
as droplet or applet according to choice), which demonstrates how to do it.
Some of it can be omitted for general use, but don't forget
PutResource +data shor0001; to newf type "pref" index 128
using the Satimage osax.
--
Paul Berkowitz