Property List Tools osax with Framework Foundation
Property List Tools osax with Framework Foundation
- Subject: Property List Tools osax with Framework Foundation
- From: Denis Boyd <email@hidden>
- Date: Fri, 12 May 2017 18:42:58 +0100
I'm using the Mark Aldritt's Property List Tools osax, but
when there is a use framework
"Foundation" statement the store
property list statement fails. Error: Can't
make some data into the expected type. Expected type: 'cobj'
This works:
use AppleScript version "2.4"
use scripting
additions
store
property list {myvalue:"the value"} in file
"Macintosh
HD:Users:[username]:Library:Preferences:com.myPlist.plist"
But this doesn't:
use AppleScript version "2.4"
use framework
"Foundation"
use scripting
additions
store
property list {myvalue:"the value"} in file
"Macintosh
HD:Users:[username]:Library:Preferences:com.myPlist.plist"
Does
anyone have a workaround for this?
TIA
Denis
|
_______________________________________________
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