Give Applescript a file list?

The Cyberduck forums have moved to Google Groups, this forum is read only.
Locked
buzzwig
Harmless
Posts: 4
Joined: Mon Apr 14, 2008 2:51 am

Give Applescript a file list?

Post by buzzwig »

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?
dzr
Harmless
Posts: 4
Joined: Mon Apr 14, 2008 10:13 am

Re: Give Applescript a file list?

Post by dzr »

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!
buzzwig
Harmless
Posts: 4
Joined: Mon Apr 14, 2008 2:51 am

Re: Give Applescript a file list?

Post by buzzwig »

Yes, that was it! I am stumbling my way through a fairly complex Applescript project with somewhat elementary knowledge. Thanks for your help!
Locked