Originally posted by completelyhis
View Post
Code:
if hs.DeviceStringByName( "XM Play" ) = "Play" then hs.TriggerEvent "XM Stop" end if if hs.DeviceStringByName( "XM Login" ) = "Online" then hs.TriggerEvent "XM XaMp Logout" end if ' could do a process check to see if it is running first .. hs.TriggerEvent "XM Shutdown XaMp"
Comment