Stormrider Posted August 8, 2009 Share Posted August 8, 2009 Hi. I'm trying to do a very simple script. Part of it is working. I have a frontend called MaLa (like a game menu list). When that program is active, the script works. It simply waits for some time, presses a key (for random game selection), waits for one second and then presses another key, which launches MAME (game emulator, which works with ddraw full screen). The problem is that the script doesn't work while MAME is running. It's like paused. The script is supposed to press another key after one minute or so (esc, for quiting the game). What's wrong? Sorry but I don't have much experience with this program. I've tried looking at the examples. I've tried with the send command. I've also considered using a commnand for closing MAME, instead of using the esc key. Nothing works. I don't think it's a problem with the script, but with MAME pausing the script or something. I've tried using it in a window, instead of fullscreen, at the problem persists. Thanx! Link to comment Share on other sites More sharing options...
herewasplato Posted August 8, 2009 Share Posted August 8, 2009 Welcome to the forum. I think that MAME uses nProtect's GameGuard software which blocks the automation of keystrokes to the program that it is guarding. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Stormrider Posted August 9, 2009 Author Share Posted August 9, 2009 Thanx. I already have this working. I've had to install Autohotkey. With this one, which works more or less the same as Autoit, the script is not halted. The send ESC doesn't works, but Winclose MAME does (I also tried this with Autoit and no way), so problem fixed. >_ Link to comment Share on other sites More sharing options...
bhns Posted January 8, 2014 Share Posted January 8, 2014 I had problems with MALA migrated to ADVMENU, to making a script to create the list and move automatic roms by manufacturer. Post :bike: Att...Cleber Antônio Made in Bio zonte Minas Gerais :sweating: Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 8, 2014 Moderators Share Posted January 8, 2014 (edited) bhns.STOP NECRO_POSTING IN GAME THREADS! M23 Edited January 8, 2014 by Melba23 Typo Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts