Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Exit windows from the CP  (Read 1472 times)

0 Members and 1 Guest are viewing this topic.

Gradius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 117
  • Last login:February 04, 2008, 03:10:49 pm
  • I'm a llama!
Exit windows from the CP
« on: May 08, 2004, 01:58:44 pm »
I'd like to exit windows 2000 from my CP, using one button or better a combination of two or three buttons. My CP is a psx pad hack connected via USB. I've thought I could use a program I have called af1shutdown, which exits windows when you double click the the program. I could associate a combination of keys to the shortcut to the program, but how to controls this from the control panel?

DaveMMR

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3244
  • Last login:April 28, 2025, 11:33:13 am
Re:Exit windows from the CP
« Reply #1 on: May 08, 2004, 05:03:52 pm »
I dunno but wouldn't your computer shut down by accident a lot (unless you have a dedicated button for it) while just playing a game?

Gradius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 117
  • Last login:February 04, 2008, 03:10:49 pm
  • I'm a llama!
Re:Exit windows from the CP
« Reply #2 on: May 08, 2004, 06:09:58 pm »
I would use a combination of one of the fir buttons + start. That's what I use as ui cancel in mame (for quiting emulation). I've been trying with joytokey and it seems to work. I assing for instance shift to one button, and F12 to the other. Then I create a shortcut to a program to exit windows called af1shutdown, and associate the combination of keys shift + F12. The problem is that I don't know if this will have side effects. I mean having joytokey running, and registering shift every time I hit the button during gameplay. Also, I have to test this: I also use the same combination of buttons in mame to exit emulation, so maybe it also tries to exit windows apart from quiting emulation, which would be a problem.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Exit windows from the CP
« Reply #3 on: May 08, 2004, 06:20:59 pm »
Many cabinet frontends allow the shutdown of the PC via button(s) or menus.

I'm not 100% sure which others do but I know MAMEWAH does, I bet Dragon King, 3D Arcade & Kymaera too...

You might find JoyToKey ( http://hp.vector.co.jp/authors/VA016823/joytokey/english.html ) helpful too :)

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re:Exit windows from the CP
« Reply #4 on: May 08, 2004, 06:23:10 pm »
If you have buttons on your panel that are control and escape then they can be pressed together to pop up the start menu, and from there it is up enter enter.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

Doc-

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 178
  • Last login:April 09, 2007, 01:04:51 am
  • Carpe Arcadium!
    • Doc's Modular MAME
Re:Exit windows from the CP
« Reply #5 on: May 08, 2004, 11:01:55 pm »
  I have a button that is wired directly to the "Power" switch pins on my motherboard.  This is equivalent to the "power" button you use to power up any modern PC.  Its a smaller "momentary" radio shack button and mounted out of the way so it is not hit by accident.

 On startup I just switch the master power strip on and then press this button for a few seconds and it fires up the computer.  When I'm done playing, I just press this button again for a few seconds and it will automatically log off and shut down windows (at least this works under XP).  Once I hear the computer click itself off (at the end of the shut down sequence), I turn off the power strip.

  It works just fine - even if I'm in the front end when I click it - it neatly closes all of the programs and shuts down.


Industen

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 109
  • Last login:December 15, 2014, 03:16:41 pm
  • Visit my WWW page below
    • Joel's Main Mame Page
Re:Exit windows from the CP
« Reply #6 on: May 09, 2004, 03:45:11 am »
Quote
On startup I just switch the master power strip on and then press this button for a few seconds and it fires up the computer.  When I'm done playing, I just press this button again for a few seconds and it will automatically log off and shut down windows (at least this works under XP).  Once I hear the computer click itself off (at the end of the shut down sequence), I turn off the power strip.

I wrote a tutorial on how to do this

http://joelsgadgets.com/computeronpushbutton.html

I suggest booting the computer up with this method with a quick press, but wouldn't recommend holding it for 5 seconds to shut the PC down. I just get a bad feeling when I shut down abruptly like that. While XP seems to handle it better then any other OS it still bothers me. You are better off linking buttons to your control panel or using mamewah to directly shut down the computer.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Exit windows from the CP
« Reply #7 on: May 09, 2004, 11:00:28 am »
I suggest booting the computer up with this method with a quick press, but wouldn't recommend holding it for 5 seconds to shut the PC down. I just get a bad feeling when I shut down abruptly like that. While XP seems to handle it better then any other OS it still bothers me. You are better off linking buttons to your control panel or using mamewah to directly shut down the computer.

It should be fine in XP.  Basically hitting the power button should shut-down the PC just the same as Start > Shut down.  For some reason I too like to close programs before doing so if possible tho...

ray_slup

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 111
  • Last login:July 11, 2020, 11:12:38 am
Re:Exit windows from the CP
« Reply #8 on: May 09, 2004, 03:29:01 pm »
In windows xp you can also have your computer hibernate when you press the power button.
This way you will start up right where you were when you shut down.  :)