Created
August 3, 2016 23:32
-
-
Save davestewart/ccefd4ce0c2292e7bd53ad8e841316d5 to your computer and use it in GitHub Desktop.
Droplet/App launcher script for MPlayerX (or any app if you change the app reference)
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
on run | |
do shell script "open -n /Applications/MPlayerX.app" | |
tell application "MPlayerX" to activate | |
end run | |
on open theFiles | |
repeat with theFile in theFiles | |
do shell script "open -na /Applications/MPlayerX.app " & quote & (POSIX path of theFile) & quote | |
end repeat | |
tell application "MPlayerX" to activate | |
end open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment