Re: NSDictionary simulation
Re: NSDictionary simulation
- Subject: Re: NSDictionary simulation
- From: has <email@hidden>
- Date: Thu, 19 Jan 2006 16:46:35 +0000
Emmanuel wrote:
>>There's also various applications and osaxen that can store values under arbitrary keys which may be an option, though you're a bit restricted in the types of values you can store in those due to the limitations in Apple events.
>
>Sorry, I have *really* no time to be more specific, but XMLLib.osax' plist suite does store any AppleScript quantity.
Application references to anything but the current application can't be stored (AS will raise an error). AppleScript references can't be stored (the value being referenced is stored instead). Mutable values - lists, records, dates, script objects - can be stored, but the stored values are copies - not the originals - which is unsuitable for certain tasks.
As stated before, these are limitations of the Apple event transport mechanism used, not the applications and osaxen themselves. Tools like XMLLib and ScriptDB are fine for many tasks, but there are others that have to be done either partly or completely in vanilla code.
has
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
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