Confusing the finder
Confusing the finder
- Subject: Confusing the finder
- From: "Gregory J. Smith" <email@hidden>
- Date: Fri, 5 Aug 2005 07:13:49 -0600
I've found the source of my problem with getting lists of folders
using this code.
ProcessFolder(choose folder)
on ProcessFolder(main_folder)
set folder_list to {}
tell application "Finder"
set folder_list to every folder in main_folder
end tell
end ProcessFolder
I can choose "Macintosh HD" and get a list just fine. However when I
choose my Home directory, Applescirpt complains "Finder got an error:
Can't get every folder of alias "gregjsmith:"." (my user name is
gregjsmith). I also have filevault on so my user folder is really a
sparse image. When I mount my iDisk, in which my .mac username is
also gregjsmith, I can choose my home folder and it will successfully
get a folder list from my iDisk. So it would seem that the finder get
confused as to which disk I choose.
Gregory J. Smith
email@hidden
http://homepage.mac.com/gregjsmith
_______________________________________________
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