Is there a way to get the labels of a record?
Have you checked Has’ web site? I reckon that if it’s possible, he knows how to do it.
:arrow: The Little Page of Libraries
Okay, I’ll have a look at it, Has send me an answer on the Applescript-users list
Thanks Rob.
set aRecord to {a:1, file:"2", c:3}
set the clipboard to aRecord
set aRecordAsList to the clipboard as list
set theKeys to {}
repeat with i from 1 to count aRecordAsList by 2
set end of theKeys to item i of aRecordAsList -- GET ONLY VALID KEYS OF THE RECORD
end repeat
return theKeys