Listing labelled folders: choose folder vs. Manual alias
Listing labelled folders: choose folder vs. Manual alias
- Subject: Listing labelled folders: choose folder vs. Manual alias
- From: Jay Louvion <email@hidden>
- Date: Tue, 29 Nov 2005 13:25:11 +0100
Title: Listing labelled folders: choose folder vs. Manual alias
Why does this not work out the same ?
tell application "Finder"
set thedisk to (choose folder)
delay 1
set thelist to name of every folder in folder thedisk whose label index is 2
end tell
Returns the right list of names.
tell application "Finder"
set thedisk to ("LaCie Disk:Tempo:DIDIER") as alias
delay 1
set thelist to name of every folder in folder thedisk whose label index is 2
end tell
Returns an error.
The folder mentionned is an existing folder, same as the one pointed out in the previous script.
Anyone knows why ?
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