• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Confusing the finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: select vs. reveal
  • Next by Date: Re: When is a file open but not open?
  • Previous by thread: select vs. reveal
  • Next by thread: Strange error...
  • Index(es):
    • Date
    • Thread