Jump to content
Sign in to follow this  
JustANewb

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

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

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...