I would like to make a menu with applescript wich displays the content of a folder and let an user to choose a file from the list…
Here's the line wich feeds my shell object:
osascript -e 'tell application "Finder"' -e 'set file_list to name of every file of entire contents of alias "Macbook Pro:XXX:"' -e 'set blah to (choose from list file_list with prompt "Wich file ?" Ok button name "Ok" cancel button name "Annuler")' -e 'end tell'
Nothing occurs…Do you have any clue about this ?