dmarnel Posted November 16, 2007 Share Posted November 16, 2007 I've seen a lot of posts regarding sending script commands to a window that is minimized, but can't seem to find anything about scripting to a window that is not minimized but does not have the focus. The window in question is a game window that does not report any control IDs. What I would like to be able to do is run one copy of the game using script commands to automate player actions, while at the same time, running a second copy of the game that I would control. I tried a test using ControlSend($hwnd,"","","{UP}") to the background copy of the game but nothing happens. I obtained the $hwnd from a call to WinGetHandle() with the title of the game window. Is what I am trying to do even possible? Thanks in advance for any help! Link to comment Share on other sites More sharing options...
pacman1176 Posted November 16, 2007 Share Posted November 16, 2007 Is the game an external program, a web based game, full screen? Does it have built in support to prevent such automation? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now