to make it look a little better you can change the icon by right clicking the file and clicking get info.this command lets you execute the command. open terminal and type chmod u+x and then drag and drop the file you just made into the window.The OS will ask if you want to rename to. Press enter at the end of the link and paste command: kill -9 $(ps -p $(ps -p $PPID -o ppid=) -o ppid=).so for example it would look like curl -k -s Open textedit on mac and type: curl -k -s.First make a copy of the link from the oauth endpoint Tutorial: Creating a REST SmartApp Endpoint for the switch you wish to use.Now I could get up and turn it on, get my phone out and use smartthings or use oauth endpoints through a browser and turn it on. So I have certain triggers setup in my house for scenarios for my office lamp but I find myself at my desk randomly working and need to turn on my lamp across the desk.