• 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
Re: Finding folder from its id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding folder from its id


  • Subject: Re: Finding folder from its id
  • From: nick weldin <email@hidden>
  • Date: Sat, 23 Mar 2002 21:56:55 +0000

Well at least you are getting the sort of results i am. If you direct
it to the folder the folder is in then it finds it! Not much use if
you don't know where it is already. You can search through nested
folders by saying

tell application "Finder"
get (the first item whose id = 289345) of entire
contents of folder "test" of startup disk
end tell

but if you ask it to

get (the first item whose id = 289345) of entire contents of startup disk

(which I know may be slow but should work) the machine hangs - I left
it while I had tea just in case it was taking an incredibly long
time, but no it was on the road to nowhere.

Unfortunately this scripting will be looking for the file that
someone else has saved - I know I can ask them to save it within a
certain area in the machine, but the reason we need the script is for
the people who don't do that! absolute novices who may have
difficulty navigating (or forget) where they have put stuff.

I may go for multiple users and limit them to just saving in their
document folder but that gives me another layer of admin that I could
do without.

Cheers

Nick
_______________________________________________
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.

  • Follow-Ups:
    • Re: Finding folder from its id
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: what is the best way to 'unset' a variable
  • Next by Date: Re: Scripting Startup Disk System Preference in OS X
  • Previous by thread: Re: Finding folder from its id
  • Next by thread: Re: Finding folder from its id
  • Index(es):
    • Date
    • Thread