Skip to content

Instantly share code, notes, and snippets.

@lypanov
Created April 6, 2009 18:42
Show Gist options
  • Save lypanov/90874 to your computer and use it in GitHub Desktop.
Save lypanov/90874 to your computer and use it in GitHub Desktop.
open current itunes selection in qt pro
(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