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: AutoHotKey help with MadDog McCree major strife.  (Read 2848 times)

0 Members and 1 Guest are viewing this topic.

rdowdy95

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 609
  • Last login:July 29, 2011, 11:48:50 am
  • This is my rifle.
AutoHotKey help with MadDog McCree major strife.
« on: February 02, 2007, 10:30:39 am »
First let me just cuss out IE7 for deleting all the ---steaming pile of meadow muffin--- I wrote then when I tried to load up a BMP Byoac says can't load that file then I click back and am like where the hell is my post I wrote.

Anyways here is the problem.  Trying to just get to the part that works.  I am trying to make a script in ahk.  Here is the script I was using.

Run,C:\Program Files\MadDog\mdm.exe   ; Run MadDog McCree
IfWinNotExist,Mad Dog McCree
{
   
   winwait,Mad Dog McCree,,100
   WinActivate,Mad Dog McCree
   Send f   ; Fullscreen
   Send r    ; reload don't move the cursor   down
   return
}
else
{
   
   WinActivate,Mad Dog McCree
   Send f   ; Fullscreen
   Send r    ; Reload don't move the cursor down   
   return
}

*1::Send {LControl}; like LControl starts the game I remap to the '1' key


ExitApp    ; Kill this script
return


Now when I run that script I am having an error message that pops up over the MDM window.  Here is the error message in jpg format.


rdowdy95

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 609
  • Last login:July 29, 2011, 11:48:50 am
  • This is my rifle.
Re: AutoHotKey help with MadDog McCree major strife.
« Reply #1 on: February 03, 2007, 06:02:37 pm »
last bump on this, other than that I will just use the ALGLaunch program, and launch them from the desktop.

Fozzy The Bear

  • Handbags at dawn in here!!!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Last login:September 18, 2011, 11:29:59 am
  • It's Been One Of Those Days... Don't Ask!
Re: AutoHotKey help with MadDog McCree major strife.
« Reply #2 on: February 03, 2007, 08:42:02 pm »
last bump on this, other than that I will just use the ALGLaunch program, and launch them from the desktop.

Take out the path information!!! your script should read as follows:
Code: [Select]
Run,mdm.exe ; Run MadDog McCree
IfWinNotExist,Mad Dog McCree
{
   
   winwait,Mad Dog McCree,,100
   WinActivate,Mad Dog McCree
   Send f ; Fullscreen
   Send r ; reload don't move the cursor down
   return
}
else
{
   
   WinActivate,Mad Dog McCree
   Send f ; Fullscreen
   Send r ; Reload don't move the cursor down
   return
}

*1::Send {LControl}; like LControl starts the game I remap to the '1' key


ExitApp ; Kill this script
return
Tell autohotkey to turn it into an EXE file. Put the EXE file in the same folder as MDM.EXE and call the Autohotkey EXE file from a shortcut to it.

It will work! or at least it does on my machine.

Best Regards,
Julian (Fozzy The Bear)
Most bottles and jars contain at least twenty-five percent recycled Pacman.
And research indicates that Space Invaders are strongly attracted to people who have recently eaten meat pies.

rdowdy95

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 609
  • Last login:July 29, 2011, 11:48:50 am
  • This is my rifle.
Re: AutoHotKey help with MadDog McCree major strife.
« Reply #3 on: February 04, 2007, 03:59:05 pm »
Thanks Fozzy.  I never put them in the same directory.  But get this no need. 
I had been using ALGLaunch to launch the games and I made shortcuts from the desktop.  Mamewah  wasnt  working like I wanted it to though.  But I finally figured out the problem on my own.  It was all in the command line command in my alg.ini in mamewah.  I will post this information very soon on how to get the ALGLaunch Program to work with Mamewah to bring up the American Laser Games from MAMEwah.  It will be like another emulator for MAME.  Now I just need to get Daphne configured for Mamewah, and the PC games House of the Dead.  I have House of the Dead 2  working with a no cd patch.  Just need to get no cd patch for HOTD3 then try them out.  This will be good info for anyone wanting to use ALGLaunch with MAMEwah.

Fozzy The Bear

  • Handbags at dawn in here!!!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Last login:September 18, 2011, 11:29:59 am
  • It's Been One Of Those Days... Don't Ask!
Re: AutoHotKey help with MadDog McCree major strife.
« Reply #4 on: February 05, 2007, 07:41:09 pm »
Thanks Fozzy.  I never put them in the same directory.  But get this no need. 
I had been using ALGLaunch to launch the games and I made shortcuts from the desktop.  Mamewah  wasnt  working like I wanted it to though.  But I finally figured out the problem on my own.  It was all in the command line command in my alg.ini in mamewah.  I will post this information very soon on how to get the ALGLaunch Program to work with Mamewah to bring up the American Laser Games from MAMEwah.  It will be like another emulator for MAME.  Now I just need to get Daphne configured for Mamewah, and the PC games House of the Dead.  I have House of the Dead 2  working with a no cd patch.  Just need to get no cd patch for HOTD3 then try them out.  This will be good info for anyone wanting to use ALGLaunch with MAMEwah.

Great!!! Look forward to reading exactly how you tackle these problems. It sounds like an ideal set of information to add to the Wiki.

Best Regards,
Julian (Fozzy The Bear)
« Last Edit: February 05, 2007, 10:07:49 pm by Fozzy The Bear »
Most bottles and jars contain at least twenty-five percent recycled Pacman.
And research indicates that Space Invaders are strongly attracted to people who have recently eaten meat pies.

rdowdy95

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 609
  • Last login:July 29, 2011, 11:48:50 am
  • This is my rifle.
Re: AutoHotKey help with MadDog McCree major strife.
« Reply #5 on: February 05, 2007, 11:53:36 pm »
Yeah I need to get all the info compiled and get it under control.  It will be info on how to get it to work in MAMEWAH with the ALGLAUNCHER installed.