Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - chijb55

Pages: [1]
General / Need multiple ESC presses to exit AttractMode?
« on: November 05, 2018, 03:20:02 PM »
I love AttractMode, and it runs really well on my system:  I use MAME64 as my emulator, along with a X-Arcade Tankstick.  Awesome.

One minor irritation:  When i want to exit any particular game (and go back to the main menu), i have to press the ESC key multiple times.  Like 4, 5, or even 6 times before it responds.

When I run MAME64 with the Tankstick (and don't use AttractMode), one press is all it takes.

It's not a big deal - a minor annoyance - but if there's an easy way to fix this I'd appreciate any kind of help.

Great program.  Love it.

General / How to Wake/Sleep via Task Scheduler in Windows 10 (Solved)
« on: February 24, 2018, 02:05:14 PM »
Maybe this wasn't as hard for you as it was for me.  But after reading (countless) entries on Wake/Sleep via Task Scheduler in Windows 10, I've finally got it figured out.

My goal was to have my Arcade Cabinet - running Attract Mode - Sleep at night.  But be awake when I come downstairs in the morning to greet me <grin>.  I also combined this with a (cool and cheap) powerstrip from Home Depot with a timer, so as to turn the monitor and marquee power off at the same time.

Following is the magic Task Scheduler commands that make it work under Windows 10. 

Note:  You have to download PSTOOLS, but it's free.  Find it here:

NOTE:  Using Windows rundll32.exe isntead of pstools is nothing but trouble...

I scheduled 3 different events:  (1) Kill attract.exe process at 10pm (2) Sleep the PC at 1005pm (3) Wake the PC at 600am by starting a new copy of attract.exe.

Note that I leave 5 minutes between (1) Kill attract.exe and (2) Sleep the PC.  One minute was sometimes (rarely) not enough, and it caused issues.  This method works fine.

In Task Scheduler, create 3 "Basic Tasks" one at a time.  Setup On/Off times, then go to each inividual "Actions" tab and enter the following commands as indicated.  Note for the first two, nothing is entered in the optional "Start" section - this is only used for the 3rd (Wake) item.


(1) Kill AttractMode
Setup On/Off Times, then go to the "Actions Tab"   
        Program:  taskkill.exe
   Arguments: /im attract.exe

(2) Sleep PC
Setup On/Off Times, then go to the "Actions Tab"
   Program:  c:/pstools/psshutdown.exe
   Arguments: -d -t 0 -accepteula

(3) WakeAttractMode
Setup On/Off Times, then go to the "Actions Tab"
   Program:   attract.exe
   Start:      c:\attractmode

Every night at 10pm, AttractMode (nicely) shuts down.  5 minutes later, the PC quietly goes to sleep.  At 6am the next morning, AttractMode starts.  Make sure in WakeAttractMode that you put your OWN directory of where you have AttractMode installed (mine is c:\attractmode.)  This is the only one of the 3 that needs a "Start" option entered.

Good luck.

Pages: [1]