I'm trying to extract finder information for files on disk using
info for
set fileInfo to info for (theFolder & theFile) as alias
I can use all the items in the returned record, EXCEPT kind
...
I get an error when referring to kind like this:
set myvar to kind of fileInfo
"Can't get kind of ...."
I'm presuming AS is getting confused, seeing it as an internal
property rather than letting me refer to the record item. Can I
express it differently to extract this nugget?
Are you executing this in the context of a tell block to an
application that might have its own interpretation of the "kind"
property? I just ran this as a standalone script:
set fileinfo to info for file
"Futura:Users:neil:Desktop:BMSINAME.TXT"
kind of fileinfo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden
This email sent to email@hidden