gikoha’s blog



  • mp4ファイルをdrag&drop➡wavになります
on main(myFiles)
	repeat with myFile in myFiles
		set theFile to POSIX path of myFile
		set theScript to "/usr/local/bin/faad "
                    & (quoted form of theFile)
		display dialog theScript
		set kekka to do shell script theScript
	end repeat
end main

on open dropFiles
	my main(dropFiles)
end open

on run
	set choosedFiles to choose file with multiple selections allowed
	my main(choosedFiles)
end run