Skip to content

Instantly share code, notes, and snippets.

View saschafoerster's full-sized avatar

Sascha Foerster saschafoerster

View GitHub Profile
@saschafoerster
saschafoerster / TweetSongViaTweetbot.applescript
Last active January 12, 2018 21:51 — forked from romainbriche/TweetViaTweetbot.applescript
Put this script into ~/Library/iTunes/Scripts and tweet your songs via Tweetbot
-- TweetSongViaTweetbot.applescript
-- Copy title, artist, album and year of playing song from iTunes to Tweetbot
-- Author: Sascha Foerster
-- based on script from: Romain Briche
-- iTunes and Tweetbot active?
tell application "System Events"
if not (exists application process "Tweetbot") or not (exists application process "iTunes") then
display alert "iTunes and Tweetbot required" message "You have to launch iTunes and Tweetbot before executing script"
end if