Jump to content

CountClick help


Vegar
 Share

Recommended Posts

Hello ...

im making a script that Logs how many times you click on evry button..

and i've figured out how to log them but i got into a litle problem

here is how i do it now:

...

$clicksX = 0

If _IsPressed("58", "user32.dll") Then

while _IsPressed("58","user32.dll")

sleep(1)

WEnd

$clicksX = $clicksX + 1

GUICtrlSetData($X_label, "X Have been Clicked = " & $clicksX & "Times")

EndIf

...

butt i wanted to use the script for some gaming, and then it does not regisert the clicks if more than one button is pushed at the same time, witch is quite annoying..

so do anyone know what i should do to prewent this?!!?

Edited by Vegar
Link to comment
Share on other sites

Hello ...

im making a script that Logs how many times you click on evry button..

and i've figured out how to log them but i got into a litle problem

here is how i do it now:

butt i wanted to use the script for some gaming, and then it does not regisert the clicks if more than one button is pushed at the same time, witch is quite annoying..

so do anyone know what i should do to prewent this?!!?

This post, and previous post, might help.

EDIT:added the missing link.

Edited by martin
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...