zeffy Posted May 1, 2010 Posted May 1, 2010 Hey, I'm trying to get ControlSend() to ALT+ENTER a game when it starts to make it open in windowed mode, but I'm a tad confused with the controlID, how do I get it? I read the Controls page in the help file, but it left me even more confused.. Can someone point me in the right direction? Thanks <3
l3ill Posted May 1, 2010 Posted May 1, 2010 Try this: ShellExecute('yourgame.exe') WinWaitActive("thename of the window") WinSetState("thename of the window", "", @SW_MAXIMIZE) My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example
zeffy Posted May 1, 2010 Author Posted May 1, 2010 (edited) I tried what you suggested, but the only way to get it into windowed mode is to alt+enter, I just need someone to explain to me what controlID's are, and how to get them, thanks :3 EDIT: Nvm, I got it working lol, thanks for the help Edited May 1, 2010 by zeffy
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