Empty Record
Empty Record
- Subject: Empty Record
- From: Luther Fuller <email@hidden>
- Date: Mon, 11 Apr 2011 15:02:14 -0500
This ought to be an easy question ...
set emptyString to "" -- easy set emptyList to {} -- easy set emptyRecord to {} as record -- No! This does not work.
but, I have been trying for awhile now, and can't find a way to create an empty record. Does anyone know how to do this?
(The record will end up being written to a .plist file, so I have a work-around using
do shell script "defaults write " & the result & " 'NameOfEmptyRecord' -dict" -- adds an empty dictionary to the root dictionary
but I could avoid this if I could create an empty record.)
|
_______________________________________________
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