Adding a Shutdown Option to Front Row in 10.6

I was wondering if anyone has had any luck in creating a System Shutdown application/applescript that will work with Front Row?

I was thinking of something along these lines…


on run
       do shell script "command" user name "Bob's Computer" password
"exc1t3r" with administrator privileges

do shell script "shutdown -r now" with administrator privileges


I need the applescript to shutdown the computer regardless of anything else/other programs that are running, which is why I believe a shell script command is the way to go. And I am uncertain if that can be done using python, which is what the other Front Row plugins are based on.

I have seen some attempts of having Front Row shutdown but it seems to not work at all with 10.6

Thank you in advance for your help.

Regards,
paulmattallen