Skip to content

Instantly share code, notes, and snippets.

@skahack
Created July 21, 2011 11:35
Show Gist options
  • Save skahack/1097004 to your computer and use it in GitHub Desktop.
Save skahack/1097004 to your computer and use it in GitHub Desktop.
iTunes 現在再生中の曲名
# encoding:UTF-8
require 'rubygems'
require 'appscript'
itunes = Appscript.app('iTunes')
p itunes.current_track.name.get()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment