PDA

View Full Version : problem using "every file of ...." command




Aerandir
Jun 11, 2008, 04:14 PM
can anybody tell me what's wrong with this code?

tell application "Finder"
set theFolder to ((path to me as string) & "Contents:Resources:.Files:")
set theFiles to (every item of folder theFolder) as list
end tell
choose from list theFile


whenever I try to run it, a strange error box pops up.
HELP!