Author Topic: Power Off Option for PC?  (Read 9863 times)

kaptainsteve

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Power Off Option for PC?
« 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
« Last Edit: May 08, 2016, 06:56:31 PM by kaptainsteve »

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Power Off Option for PC?
« Reply #1 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.

xbs

  • Sr. Member
  • ****
  • Posts: 180
    • View Profile
Re: Power Off Option for PC?
« Reply #2 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

jimmer

  • Full Member
  • ***
  • Posts: 45
    • View Profile
Re: Power Off Option for PC?
« Reply #3 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.

xbs

  • Sr. Member
  • ****
  • Posts: 180
    • View Profile
Re: Power Off Option for PC?
« Reply #4 on: May 10, 2016, 12:56:21 PM »
You can also add a key to exit AM without shuting down windows.

jimmer

  • Full Member
  • ***
  • Posts: 45
    • View Profile
Re: Power Off Option for PC?
« Reply #5 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?

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Power Off Option for PC?
« Reply #6 on: May 10, 2016, 10:22:46 PM »
@jimmer
Tab > Controls > Set a key "Exit to Desktop"
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

jimmer

  • Full Member
  • ***
  • Posts: 45
    • View Profile
Re: Power Off Option for PC?
« Reply #7 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.

kaptainsteve

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Power Off Option for PC?
« Reply #8 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!

manzarek

  • Sr. Member
  • ****
  • Posts: 147
    • View Profile
    • YouTube
Re: Power Off Option for PC?
« Reply #9 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
Mame Fighting