hm,
Shuting down will probably be a bit of a problem
The Clicker works in such a way that it controls apple scripts.
apple script can access a lot of functions in applications.
however the only application that I right now know, is the terminal, sporting the the command
%shutdown -h now
however, you need to be root to be allowed to run it
%sudo shutdown -h now
Password:
I wouldn't know how to enter the pw via the clicker or apple script in the event.
you could try to change permissions on shutdown..
open terminal
%sudo chmod 755 /sbin/shutdown
but as it is a system file, it might still not work, or do some kind of harm (I haven't tried it anyway.)
another way to access it would be to add yourself to the 'operator' group, but you wont want to do that.
anyway, best would be to find a way in applescript to shutdown the computer, the rest should then be trivial
