JustANewb Posted December 18, 2007 Share Posted December 18, 2007 Hello everyone! I am VERY new to AutoIT.. Look's like a amazing program! Now, I would like to use it in this fashon. (I need it to do the following) Window is Called "SimCity 4" Hit CTRL - SHIFT - ALT - X to open the "cheat" console Type "weaknesspays" into the box and repeat.. Now, If you hold SHIFT the "cheat box" stays open, otherwise it closes when cheat is activated. --------- HotkeySet('{ESC}', 'Terminate') WinWaitActive('SimCity 4') While 1 WinActivate('SimCity 4') Send('^x') Sleep(100) Send('weaknesspays{ENTER}') Sleep(100) WEnd Func Terminate() Exit EndFunc -------- Found this on the Forum already. The HotKey "ESC" did NOT work.. Thanks in advance guys!? =) Running V3 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