Skip to content

Instantly share code, notes, and snippets.

@luketurcotte
luketurcotte / Love iTunes Track
Created July 1, 2015 23:15
Simple Applescript to "Love" the currently playing track in iTunes 12.2+.
tell application "System Events"
if (name of processes) contains "iTunes" then
set iTunesRunning to true
else
set iTunesRunning to false
end if
end tell
if iTunesRunning then
tell application "iTunes"