Created
October 17, 2014 09:32
-
-
Save erikccoder/d88fb5e249ee22a9b1bc to your computer and use it in GitHub Desktop.
This file contains 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 : "/Applications/ffmpeg/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 | |
display dialog "url" default answer "" | |
set noob_answer to text returned of result | |
main(noob_answer) | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment