Sony Ericsson Clicker

Discussion in 'Mac Apps and Mac App Store' started by yogi477, Jun 5, 2003.

  1. yogi477 macrumors regular

    Jun 8, 2002
    I was just wondering if any of you lot use Sony Ericsson Clicker with your T68i as I have started using it and wondered if there are any more than the basic scripts available. and if so which do you find most useful? Also, is it possible to use a script to shut down your mac...basically so I can use my mac as a hi-fi then switch it off when I want to sleep.
    Thanks in advance
  2. visor macrumors 6502

    May 13, 2003
    in bed

    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

    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 ;)

Share This Page