• 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: Script Menu in 10.6.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Menu in 10.6.2


  • Subject: Re: Script Menu in 10.6.2
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 3 Feb 2010 18:21:51 +0100


Le 3 févr. 2010 à 17:35, Steve Valenti a écrit :

tell application "Finder"

          set ListOfFiles to name of files of folder (path to documents folder)

end tell

 

 

set ChosenFile to (choose from list ListOfFiles with prompt "Select a File and press Choose" OK button name"Choose")


As other posters responded, it works if you put the set choosenFile … instruction in the tell block but, it seems to be perfectly odd.

ListOfFiles is a list of names , which means a list of strings.
I see no reason for the described requirement which didn't existed in older operating systems .

I guess that we may name that a bug.

Yvan KOENIG (VALLAURIS, France) mercredi 3 février 2010 18:21:42


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Script Menu in 10.6.2 (From: "Steve Valenti" <email@hidden>)

  • Prev by Date: Re: Script Menu in 10.6.2
  • Next by Date: RE: Script Menu in 10.6.2
  • Previous by thread: Re: Script Menu in 10.6.2
  • Next by thread: Re: Script Menu in 10.6.2
  • Index(es):
    • Date
    • Thread