Coerce to 'alias list'
Coerce to 'alias list'
- Subject: Coerce to 'alias list'
- From: Jean-Baptiste <email@hidden>
- Date: Tue, 20 Jan 2004 21:57:15 +0100
Why can't I coerce a list of a single item that is a file reference to
an 'alias list' ?
EG :
Folder 1 contains 1 (one) folder
set theRootFolder to alias "Jean-Baptiste:Desktop:Folder1:"
tell application "Finder" to (get every folder of folder theRootFolder)
as alias list --> fails
Folder 1 contains 2 (two) folders
set theRootFolder to alias "Jean-Baptiste:Desktop:Folder2:"
tell application "Finder" to (get every folder of folder theRootFolder)
as alias list --> works
++ JB
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.