Jump to content

Recommended Posts

Posted

I want such thing: pointer of mouse should move in certain place, then click, then text typed, then again moved, clicked and text typed, then moved, pressed, moved, unpressed and retryed in one minute. Help please.

Posted

I want such thing: pointer of mouse should move in certain place, then click, then text typed, then again moved, clicked and text typed, then moved, pressed, moved, unpressed and retryed in one minute. Help please.

What? :D

The only thing I got outa that was you need this:

MouseClick(), or maybe even: Send()

Check Out The AutoIt Helpfile...

Posted

while 1

MouseClick("left", 120, 123, 1)

MouseClick("left", 913, 431, 1)

Send ("{HOME}")

MouseClick("left", 376, 598, 1)

Send("#my script")

MouseClick("left", 736, 637, 1)

Dim $aWord[5] = [4, "Hello", "World", "Good", "Morning"]

For $i = 1 To $aWord[0]

Send($aWord[$i])

MouseClick("left", 644, 596, 1)

MouseClick("left", 295, 120, 1)

Next

Sleep(1000 * 120)

WEnd

I need to write Hello, make 2 mouseclicks, 2 minutes quiet, and then write next word (World) (before upper mouseclicks should be made of course). And I cannot do this whereever I put Next.

Help please.

Posted

while 1

MouseClick("left", 120, 123, 1)

MouseClick("left", 913, 431, 1)

Send ("{HOME}")

MouseClick("left", 376, 598, 1)

Send("#my script")

MouseClick("left", 736, 637, 1)

Dim $aWord[5] = [4, "Hello", "World", "Good", "Morning"]

For $i = 1 To $aWord[0]

Send($aWord[$i])

MouseClick("left", 644, 596, 1)

MouseClick("left", 295, 120, 1)

Next

Sleep(1000 * 120)

WEnd

I need to write Hello, make 2 mouseclicks, 2 minutes quiet, and then write next word (World) (before upper mouseclicks should be made of course). And I cannot do this whereever I put Next.

Help please.

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
×
×
  • Create New...