Skip to content

Instantly share code, notes, and snippets.

@mattintosh4
Last active December 15, 2015 23:59
Show Gist options
  • Save mattintosh4/5344311 to your computer and use it in GitHub Desktop.
Save mattintosh4/5344311 to your computer and use it in GitHub Desktop.
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