「AppleScript,Perl,Shell」OS Xでスクリプトスレ
■ このスレッドは過去ログ倉庫に格納されています
0577名称未設定
04/01/12 20:58ID:Rop/VyseQuickTimeムービーファイル群をドロップすると、
最近の書き出し設定にしたがって別のQuickTimeムービーに
書き出すスクリプトを作りました。
on open FileList
repeat with aFile in FileList
tell application "QuickTime Player"
with timeout of 3600 seconds
activate
open aFile
set newFile to ((aFile as text) & "_mp4.mov")
export movie 1 to file newFile as QuickTime movie using most recent settings
close window 1
end timeout
end tell
end repeat
end open
Q1. hoge.mov に対する保存先のファイル名を hoge.mov_mp4.mov
にしているのですが、これを hoge_mp4.mov にするにはどうしたら
よいでしょうか。
Q2. スクリプト全体に対する添削などありましたらご指摘お願いします。
■ このスレッドは過去ログ倉庫に格納されています