Prefs in a loadable ircle script...
Prefs in a loadable ircle script...
- Subject: Prefs in a loadable ircle script...
- From: giZm0 <email@hidden>
- Date: Wed, 07 Feb 2001 17:10:09 -0500
Hi,
i am presently coding a loadable script for ircle and SoundJam. It is called
FireFly and you can find the version 1.1 on
http://www.mac-fr.org/firefly
Now i am coding the version 2.0, wich absolutely needs a way to store prefs
on unload since ircle doesnt keep the properties of a script when you unload
it. My workaround was to create a "Script Application" wich consists of
properties without any handlers or commands.
The main scripts then lauchn this application and make him change his
properties. It works well and my variables are stored and recovered properly
on another load.
The problem is, if the user doesnt have this application the first time he
runs the main script, he will be asked to choose an application (a wrong one
for sure...) and then he wont be able to run the script again even if he has
the application. Is there a way to make sure the user has the application
and that it is the correct one ?
Tanks,
giZm0
PS: Maybe it is the second time I ask, but i think i am clearer this time.