use csv to populate apple script variables
I am dabbling in Apple Script and I want to use a csv file to populate variables to my apple script that I can use to create an app in Automator. Can someone show me how? This is what my csv contains: L R C LFE Ls Rs and I want these variables to replace <$> in the apple script. Is this possible?
for f in "$@"
do
/Applications/Compressor.app/Contents/MacOS/Compressor -jobpath $f -relabelaudiotracks <$> -renametrackswithlayouts
done