Last active
December 15, 2015 23:59
-
-
Save mattintosh4/5344311 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
property ffplay : "/usr/local/bin/ffplay" | |
on main(input) | |
do shell script ffplay & space & quoted form of input | |
end main | |
on open argv | |
repeat with aFile in argv | |
main(POSIX path of aFile) | |
end repeat | |
end open | |
on run | |
main(POSIX path of (choose file)) | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment