• 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
Listing labelled folders: choose folder vs. Manual alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Listing labelled folders: choose folder vs. Manual alias
      • From: Shane Stanley <email@hidden>
    • Re: Listing labelled folders: choose folder vs. Manual alias
      • From: kai <email@hidden>
  • Prev by Date: [OT] Re: Oh lord, here we go again
  • Next by Date: GUI scripting disguised as AS ?
  • Previous by thread: Re: [OT] Re: Oh lord, here we go again
  • Next by thread: Re: Listing labelled folders: choose folder vs. Manual alias
  • Index(es):
    • Date
    • Thread