Just because sometimes you need a break in the day

ammonsc
Contributor II

This is the best script yet:

osascript -e 'tell application "Terminal" do script "curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash" tell application "Terminal" activate end tell delay 10 display dialog "Make it Stop!" buttons {"I Love This Song!", "Stop!"} default button 2 set x to button returned of result if x is "Stop!" then do script "killall Terminal" delay 10 else if x = "I Love This Song!" then delay 210 do script "killall Terminal" end if
end tell'

Combine that with a search and kill for the process "coreaudiod" and you have endless Rick Roll fun

I know it's pointless but I had to do it.

2 REPLIES 2

Aziz
Valued Contributor

I iMessaged my brother last night with this "curl -L http://bit.ly/10hA8iC | bash" (same thing, but without Rick Roll in the link) and told him to paste it in Terminal, he did and it was pretty funny. He actually started singing along.

cwaldrip
Valued Contributor

omg - this is funny. even funnier that the audio won't stop even after I quit Terminal! Grrr. LOL! :D