Re: Resolving an alias
Re: Resolving an alias
- Subject: Re: Resolving an alias
- From: Thomas Fischer <email@hidden>
- Date: Fri, 30 Oct 2009 16:34:17 +0100
Sander,
[...]
If somebody drops anything on your AppleScript app, your on handler
receives a list of aliases and I was wondering how I could decide if
they were files, folders or anything else.
tell me
info for someAlias
end
No, this doesn't quite do what I need, unless I go into some
additional analysis of the info record I get. I get a folder flag, but
would need to check if the alias is e.g. for a file or an internet
location. And it definitely doesn't give me a hold of the original file.
Deivy's method
tell application "Finder" to class of (get properties of l)
gets the correct class if this is all I need.
Thomas
_______________________________________________
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