Re: Data Storage and Load Script
Re: Data Storage and Load Script
- Subject: Re: Data Storage and Load Script
- From: jj <email@hidden>
- Date: Thu, 06 Jan 2005 22:22:55 +0100
> I'm working from the Neuberg book (pgs.175,176)
>
> The goal is to pass a variable between two scripts. From script a to script b
> without launching b.
> It seems like store script fits the bill, but perhaps it might be simpler to
> do the "open file for access, write variable, close file
> . routine"
OS X loves now ".plist" files, which are easilly accesible using a "do shell
script" call and the util "defaults". For more complex structures (records,
script objects, etc.) I prefer the "store" method or, better, the read/write
commands, which will store the info in the data fork of a file (eg, "write
foo to x as record", "read file x as record").
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
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