In order to store an object's values for external (outside AS) access, I need to be able to get every property of that object, and then I'd try to coerce it to text and store it somehwere.
How do I get the list of properties that an object holds. As an example, I can write this:
tell me
get properties
end tell
That works for a script object.
But for many other objects, I simply get an error such as "descripter type mismatch", like here:
tell application "iTunes"
get properties of file track 1
end tell
Now, I know the excellent Script Debugger can do it (it can show any object's entire set of properties), so it should be possible in written AppleScript as well. What's the secret to this?