Created
November 5, 2012 00:44
-
-
Save dawnerd/4014592 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
repeat with movieFile in input | |
try | |
if name extension of (info for movieFile) is "mp4" then | |
tell application "iFlicks" | |
import movieFile as QuickTime movie with deleting | |
end tell | |
else if name extension of (info for movieFile) is "mkv" then | |
tell application "iFlicks" | |
import movieFile as QuickTime movie with deleting | |
end tell | |
else if name extension of (info for movieFile) is "m4v" then | |
tell application "iFlicks" | |
import movieFile as QuickTime movie with deleting | |
end tell | |
else | |
tell application "iFlicks" | |
import movieFile with deleting | |
end tell | |
end if | |
end try | |
end repeat | |
return input | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment