Main > Project Announcements

"The Varsity Club" Dual Monitor Arcade *Reconstruction has begun* 12/29/09

Pages: << < (86/102) > >>

mccoy178:

Okay, I finally got the 2 second delay AHK set up so that there are no accidental exits during those key games!  It is freaking great! :cheers: 


Whew, now that the excitement is over, here is how I did it.  I first downloaded the Auto Hot Key program from www.autohotkey.com.  I then copied and pasted this text into a blank text document:


--- Quote ---;HoldEscape:

toggletimer = 0
esckill = 1
SetKeyDelay, 10, 20

$esc::
   if toggletimer = 0
      SetTimer, resettimer, 1000
   toggletimer++
   if toggletimer > 3
      goto, toggleesckill
   if esckill = 1
   {
      tt=0 ; set time to 0
      loop,100
      {
         GetKeyState, s , esc, p
        if s=U
           Break
         tt+=25
         sleep 25
      }
      if tt>=2000  ; if key pressed for 2 or more sec
      {
         send, {esc}
         toggletimer = 0
         sleep 1200
      }
   }
   else
   {
      send, {esc}
   }
return

resettimer:
   toggletimer = 0
return

toggleesckill:
   soundplay, *48
   toggletimer = 0
   esckill *= -1
   sleep 500
return


--- End quote ---

After that was done, I right clicked on the document, selected properties, and chose to have AutoHotKey open the file from the program files folder.  I then copied the document, and put a copy in my startup folder.  Now it works like a champ! :applaud:  I have attached said .ahk file.  Just delete the .txt after downloading it.

mccoy178:

I bought the motion sensor today from radioshack and the led's for the coindoor.  I'll report back later with updates.

mccoy178:

I just wanted to add that I took care of a necessary evil today.  I bought a new 500W power supply from Fry's electronics.  I knew that when I installed the computer into the cabinet, it was too far towards the back.  So tonight, since I new I would have it apart anyways, I took the board out that had the entire computer mounted to it and made the necessary adjustments.  I also added a fan for the harddrives to keep them cool.  It was a well spent two/three hour adventure.  The only problem now is that it is 5am! :banghead:

mccoy178:

A bump for the biggest game of the century. :cheers:

arcadefever:


--- Quote from: mccoy178 on November 15, 2006, 01:21:59 am ---A bump for the biggest game of the century. :cheers:

--- End quote ---

 :cheers: yep.... that a big great looking cab ...

Pages: << < (86/102) > >>

Go to full version