Jump to content
Sign in to follow this  
address

Mouse move and text type

Recommended Posts

address

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.

Share this post


Link to post
Share on other sites
Swift

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...

Share this post


Link to post
Share on other sites
address

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.

Share this post


Link to post
Share on other sites
address

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.

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  

×