Hello, first of all let me say that I work for a computer security company, and I train our "Virus Fighters."As part of their training I need to make an applescript application that when opened, will first add itself to the user's login items, then shutdown the computer. The aim of this is that whenever the Fighter logs on to their account, the computer turns off. I am planning on doing this when the Fighters leave the office for the night, so that they will wake up to a nice morning challenge. I already have the shutdown command, but I was wondering how to add to some sort of login items when the application runs. Thanks for your help!
P.S. I have already googled it.
P.S. I have already googled it.