Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: tony.silveira on April 24, 2010, 09:32:34 pm
-
hi all,
i'm trying to incorporate freedo 2.02 ALFA into my machine but i'm having a small issue. this release was taken on by a russian programmer so none of the options are in english.
when i start the emu thru mamewah, it starts out in a window and i have to use one of the menu options to actually start the emulator.
i'd love to have a batch file run the key codes needed to fully launch the emu into full screen and run it but i know diddly about batch files. if anyone can help, i am indebted. here are the key presses that i would like to send when starting the emu:
ALT, right arrow, down arrow, enter, F10
thank you all for your time
-
Take a look at AutoHotkey
-
thanks kaze. i gave it a try but it doesn't seem to work. i think it's because of the name of the window when it's open, i don't think all of the extra characters are agreeing with AHK, here is what the window is named:
FreeDO v2.02 Alfa!+++ FPS 60`, INTFPS 60
it shows the fps which are always fluctuating so i don't think it can lock in on the window.
i appreciate the idea, this will work for some other stuff for me so thank you!
any other thoughts?
Take a look at AutoHotkey
-
http://www.autohotkey.com/docs/commands/SetTitleMatchMode.htm (http://www.autohotkey.com/docs/commands/SetTitleMatchMode.htm)
-
thanks again, the script now works.
unfortunately, it doesn't work when launched thru my FE, mamewah. when launched outside of my FE, it runs perfectly.
hopefully i'll get this thing working :)
-
I don't know what kind of behavior you are getting when it doesn't work but when using a script and an FE be sure to have the script run until you quit the emulator. I have a feeling that mamewah works similar to mala (what I use) in that the if you use a script to launch something and the script finishes before the program you're using it to launch, even though the emu is now running the fe sees the program it launched has started and exited so it will return to the fe.
Longwinded but be sure to have winwaitclose in there or something similar if this sounds familiar
-
You need to convert the script to an .exe in order for it to work with Mamewah.
-
thanks guys. yes, converting to an exe worked, all good now. thanks to all for the feedback!