in reply to Scripting for Video Games

One problem you'll encounter with scripting 3D games on Win32 is that the DirectInput drivers/interface sits below the windows message queue for keystrokes. The SendKeys API (which Win32::Setupsup and Win32::GuiTest use) will only work with mouse events and not with keyboard events for games that use DirectInput--i.e. almost all of them.

This has been a problem for me in non-game applications where developers used DirectX/DirectInput for basic input.

An updated Win32 API call exists to provide the needed functionality. I think if you googled DirectInput and SendKeys you'd get some useful info about it. It would require some real work with Win32::API, though.

--Solo

--
I think my eyes are getting better. Instead of a big dark blur, I see a big light blur.