Jump to content

Recommended Posts

Posted

sorry if this has been answered elsewhere, i searched forums and read stickies and came up empty handed.

I am just learning how to use autoit and use coding and i am having a problem.

i started making a script however when i use mouseclick it will only mouseover what i want it to click. i spoke with a friend who is experienced with autoit and he said he had the same problem on vista.

any help would be appreciated.

HotKeySet("{ESC}","exitme")
HotKeySet("{F2}","test")

While 1

WEnd

Func Test()
    MouseClick( " left" , 22, 497 , 1 , 3)
    Sleep (1000)
    MouseClick( " left" , 552, 215 , 1, 1)
EndFunc

Func exitme()
    Exit
EndFunc
Posted

I prefer MouseDown("left")

MouseUp("left")

it's faster, and may be a good workaround if Larry's help still doesn't solve the issue.

Posted

I prefer MouseDown("left")

MouseUp("left")

it's faster, and may be a good workaround if Larry's help still doesn't solve the issue.

What Larry said will fix the issue

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