Airplay a URL

Hi guys,

I am trying to see if I can use KM to airplay a url from safari. At the moment I use a bookmarklet ( which allows me to pick the destination Apple TV.

I have a predefined url and destination so I just want to be able to automate the process of sending it. Wonder if anyone has suggestions of how I can do it using KM. I'd prefer not to rely on GUI Scripting.