Jump to content
Sign in to follow this  
deeznuts

Vista problem ?

Recommended Posts

deeznuts

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

Share this post


Link to post
Share on other sites
LarryDalooza

I know " left" should be "left" ... (no space) ... that would exhibit your problem...

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites
crzftx

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.

Share this post


Link to post
Share on other sites
BrettF

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.