video - Automate Open - Save - Close with several files in QuickTime -


i have many video files convert in quicktime. process use convert each file following: 1- open file quicktime app (default app) 2- file-->save (cmd+s) 3- accept save dialog box, preserving default file name same original file (intro) 4- close file (cmd+w)

start again next file

is there way automate procedure using automator or script? thankyou

this not appear possible automator, following applescript should work you:

set mtsfolder choose folder  tell application "finder" set targets every file in folder mtsfolder name extension = "mts"  repeat etarget in targets     set movname justthename(etarget) & "mov"     tell application "finder" set movdestination (etarget's container text) & movname     tell application "quicktime player"         open etarget alias         delay 2         export front document in movdestination using settings preset "720p"  -- can set whatever available in quicktime         close front document     end tell end repeat   justthename(f)     tell application "finder"         set fname f's name         set fext f's name extension     end tell     return characters 1 thru -((fext's length) + 1) of fname text end justthename 

this set save .mov file @ 720p resolution. can choose of options listed in quicktime's file--> export available mts files.

good luck,


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -