Original item in Finder
Original item in Finder
- Subject: Original item in Finder
- From: Jay Louvion <email@hidden>
- Date: Tue, 30 Aug 2005 12:15:08 +0200
Title: Original item in Finder
Can someone show me how “original item” is used ?
The following returns the most surprising error:
tell application "Finder"
set folderalias to choose folder
set thefolder to original item of folderalias
return thefolder
end tell
Finder got an error: can’t return original item of alias “full:path:to:an:exisiting:file”
My point is to get the name of a file or folder pointed to by an alias without starting to cut up an alias with “:” text delimiters...
But I might simply be looking at it the wrong way round.
J.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden