Connecting Apple TV/iOS Device as trigger

Hi all,

I currently use an Apple TV plugged into my iMac as a screenshare device, which I can then use apps like QuickTime Player to view. I'd like to create a macro that is triggered by the ATV being plugged in (as seen below in the Finder). However, neither a USB device trigger nor a Mounted Volume trigger with the name "Apple TV" seems to work. Any suggestions?


Just answered my own question (in case this is useful to others) - I checked the USB device name in System Profiler and it actually did not have a space - just AppleTV. Not sure why.