Re: Preferred AS editing tools
Re: Preferred AS editing tools
- Subject: Re: Preferred AS editing tools
- From: Bruce Robertson <email@hidden>
- Date: Thu, 28 Jul 2011 15:15:20 -0700
I see an item marked XMLLib osax 3.1.5 (build 334)
When installed, and after logout/ relogin, this version still gives the error.
Bruce
On Jul 28, 2011, at 2:50 PM, Emmanuel LEVY wrote:
> Latest = beta, now publicly available in the regular download section.
>
> Emmanuel
>
> On Jul 28, 2011, at 11:34 PM, Bruce Robertson wrote:
>
>>
>> On Jul 28, 2011, at 1:59 PM, Emmanuel LEVY wrote:
>>
>>> There have been very good posts about the editing tools, and also the key-value pairs arrays, aka associative arrays.
>>>
>>> I have a piece of technical news about key-value pairs: Satimage's XMLLib now supports the following new syntax.
>>>
>>> set p to PlistNew -- this makes an empty dictionary, and has always done so
>>> PlistSet p to {firstname: "John", lastname: "Doe", age: 28} -- this has always worked: records are AppleScript's structure for associative arrays.
>>> PlistSet p to {"firstname", "John", "lastname", "Doe", "age", 28, "what's his job???", "Bus driver"} -- now you can easily feed a plist with arbitrary keys.
>>>
>>> Emmanuel
>>>
>>
>> Hm, which version exactly? I get:
>>
>> error "Incompatible types of 'to' and direct parameters of PlistSet" number -1
>>
>> Bruce Robertson _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> AppleScript-Users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> Archives: http://lists.apple.com/archives/applescript-users
>>
>> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden