Give Applescript a file list?
Give Applescript a file list?
I've been trying to get Cyberduck to pass a list of file names in a browser window to Applescript so I can control which files the script will download, but I can't get Cyberduck to give it to me. Anyone know how?
Re: Give Applescript a file list?
Hi there,
I think you're looking for something like:
set theFiles to (browse folder (get working folder))
repeat with theFile in theFiles
*do stuff like download theFile here*
end repeat
Hope this helps!
I think you're looking for something like:
set theFiles to (browse folder (get working folder))
repeat with theFile in theFiles
*do stuff like download theFile here*
end repeat
Hope this helps!
Re: Give Applescript a file list?
Yes, that was it! I am stumbling my way through a fairly complex Applescript project with somewhat elementary knowledge. Thanks for your help!