Jump to content

Sim City 4 Macro.. NOT WORKING!? ='(


 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...