Jump to content
Sign in to follow this  
nusaki

Help with Autoit code in VB2008 please

Recommended Posts

nusaki

I tried to do this in VB but it highlights $ symbols. How can I make this code work? >_<

Dim objAu3 As New AutoItX3Lib.AutoItX3

objAu3.WinActivate("blablabla", "")
            objAu3.$winPos = WinGetPos("blablabla")
            objAu3.$foldX=random(520,590)
            objAu3.$foldy=random(530,560)
            objAu3.MouseClick("left", $winpos[0]+$foldX, $winpos[1]+$foldY)

keywen.com

Share this post


Link to post
Share on other sites
Richard Robertson

That's really not how it works at all. AutoItX is not for running AutoIt scripts. It's for accessing a few of the built in functions.

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  

×