Jump to content

Hello. I am making an AppleScript + automator RickRoll Application. I have an afplay file to play 'never gonna give you up' (classic rickroll song) but to keep it playing over the inverting screen and hundreds of windows opening (option+cmd+w to close them all) I use 

afplay /Users/████/Documents/RICKROLLD.mp3 > /dev/null 2>&1 &

the > /dev/null 2>&1 & makes it IMPOSSIBLE to stop, so every time I test it I have to mute the volume otherwise face the terror of 'never gonna give you up' for the duration of the song. Is there a better way to do this?

Link to comment
https://linustechtips.com/topic/1224810-applescript-rickroll-testing-error/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×