set r to {a:1, b:2, c:3}
tell application "Finder"
activate
set the clipboard to r
set c to the clipboard
end tell
set the_list to list of c
tell the_list
item 1 & item 3 & item 5
end tell
gl,
Model: MBP
AppleScript: 2.2.3
Browser: Safari 536.26.17
Operating System: Mac OS X (10.8)
This should work for a variable number of items, it extract the property names from the list gotten by kel1’s way, in the post above.
set the_List to ...
set propsList to {}
repeat with i from 1 to (count the_List)
if i mod 2 ≠0 then
set end of propsList to item i of the_List
end if
end repeat
or shorter, the Finder is not needed to access the clipboard
set theRecord to {a:1, b:2, c:3}
set the clipboard to theRecord
set recordAsList to the clipboard as list
set identifierList to {}
repeat with i from 1 to (count recordAsList) by 2
set end of identifierList to item i of recordAsList
end repeat