Created
April 6, 2009 18:42
-
-
Save lypanov/90874 to your computer and use it in GitHub Desktop.
open current itunes selection in qt pro
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
(if needed) gem install rb-appscript | |
ruby -e 'require "appscript"; include Appscript; tune = app("iTunes").selection.get.first.location.get; qt=app("QuickTime Player"); qt.open(tune); qt.activate; app("System Events").keystroke " "' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment