Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: kaptainsteve on May 08, 2016, 06:53:20 PM

Title: Power Off Option for PC?
Post by: kaptainsteve on May 08, 2016, 06:53:20 PM
Hello,

I would like to suggest a power off option/button for Attract.  It would be very convenient to have a way to shutdown the Pc inside my cabinet from the frontend  possibly with a key stroke combination and or delay press.   If there is one and I haven't seen it I apologize in advance.

P.S.  I have just discovered Attract and love it.  I was a Mala fan but that seems not to work anymore, as do most of the others (at least on W10). 

Thanks to all involved and active here in the forums.

Steve
Title: Re: Power Off Option for PC?
Post by: Finhead on May 08, 2016, 09:24:08 PM
Not sure if this will work for you or not, I don't use Windows for AM just my RPi3.

For linux I use the "Exit Command" in the Configure/Miscellaneous menu, Hit TAB then General scroll down to "Exit Command" .

For my setup I can use "sudo shutdown -h now"  For your setup I would try "C:\Windows\Sysytem32\shutdown.exe" See if that works.
Title: Re: Power Off Option for PC?
Post by: xbs on May 09, 2016, 02:33:55 AM
Press TAB then General > Exit Command and add:

Code: [Select]
shutdown -s -t 00
Works on XP can't say if it works for 10
Title: Re: Power Off Option for PC?
Post by: jimmer on May 10, 2016, 11:26:15 AM

I do:
shutdown -s -t 10

And on my desktop I have ABORT_SHUTDOWN.bat  (shutdown -a)  so I can choose to stay in XP when I want to play with the setup.
Title: Re: Power Off Option for PC?
Post by: xbs on May 10, 2016, 12:56:21 PM
You can also add a key to exit AM without shuting down windows.
Title: Re: Power Off Option for PC?
Post by: jimmer on May 10, 2016, 02:51:05 PM
You can also add a key to exit AM without shuting down windows.

How do you do that?
Title: Re: Power Off Option for PC?
Post by: hermine.potter on May 10, 2016, 10:22:46 PM
@jimmer
Tab > Controls > Set a key "Exit to Desktop"
Title: Re: Power Off Option for PC?
Post by: jimmer on May 12, 2016, 03:18:24 AM
Thanks. Don't know how I missed that.  Probably I didn't want it last time I was in that section.
Title: Re: Power Off Option for PC?
Post by: kaptainsteve on May 12, 2016, 01:53:41 PM
Press TAB then General > Exit Command and add:

Code: [Select]
shutdown -s -t 00
Works on XP can't say if it works for 10

Worked like a charm!
Thanks!
Title: Re: Power Off Option for PC?
Post by: manzarek on April 23, 2020, 10:37:27 AM
Press TAB then General > Exit Command and add:

Code: [Select]
shutdown -s -t 00
Works on XP can't say if it works for 10

Worked like a charm!
Thanks!

Windows 7 Ultimate working