Apple script help

photophil

Registered
So I have a csv file ( numbers file actually ) with a list of 45 jpg files...and I have a folder of 300 actual jpg files...I would love to have a script/droplet/app that will automatically move or copy the files for me... i have ( with limited success ) made some workflow droplets with automator - guess i just need some direction

thanks!
 
Something along these lines should work:
Code:
set the_file to open for access POSIX file "/path/to/your/csv"
set file_contents to read the_file
close access the_file

set AppleScript's text item delimiters to ","
set values to every text item of file_contents
repeat with f in values
	--do something with f here
end repeat
 
Back
Top