tags:

views:

215

answers:

2

I need to figure out how to shut down the computer from an Adobe AIR application. I have been trying to figure out how to do this, and without success.

+4  A: 

Sorry, I don't think you can do this.

Bandi-T
It's guaranteed to be impossible to do in a cross-platform manner. Any OS where the user isn't running with administrator privileges (like linux) won't allow it. I'd imagine Adobe would make it impossible for that reason alone.
rmeador
+3  A: 

With Air 2.0 (currently available as beta) you can use the support for native code integration and call an external shutdown script.

Thomas