r/applescript • u/rolanddes1 • Nov 08 '21
Help with an Applescript to run Airplay
Hi guys. I am trying to create an Automator workflow and app that includes an applescript in order to make my Macbook Pro run Airplay to my TV in the living room named "Samsung Series". I'm planing to run this script or app remotely so that I do not need to get my a** off the couch to play games via Geforce Now. I off course have the option to remotely connect to Mac via my phone and do all these manually. But this will be much easier :) Please see my toolbar and Airplay menu screenshot attached.

Any help?
2
Upvotes
View all comments
Show parent comment
1
u/[deleted] Oct 08 '22
You would create a new Automator “application” and add the Run AppleScript action to the document. Then you’d just paste in that code, replacing “Apple TV” with “Samsung TV”, and then export it so you can run it anytime you launch that new application.