Detecting mouseclicks

Recommended Posts

esteban 0

esteban 0

Ok Im trying to write a script that will detect where the mouse is clicked and also the delay between the events. What i have right now works excellent if I am only recording single clicks. I know why this is happening See "decides to write or not". I added this because the coordinates were being written to the file hundreds of times and I only wanted 1 per click. So now if I click in the same place 2 times in a row the second click is not written.

Does any one have any suggestions for me to record double clicks and prevent writing the same thing multiple times? any input would be very helpful.

Share this post

Link to post

Share on other sites

esteban 0

esteban 0

I did actually find your topic in my search, but I didn't pay much attention to it because the command is GUI oriented.I have a slight gui phobia. The help pages confused me too. Thanks for your input. I have to find something relatively simple, as i have no idea how to use DLLs.

Share this post

Link to post

Share on other sites

esteban 0

esteban 0

I did actually find your topic in my search, but I didn't pay much attention to it because the command is GUI oriented.I have a slight gui phobia. The help pages confused me too. Thanks for your input. I have to find something relatively simple, as i have no idea how to use DLLs.

Share this post

Link to post

Share on other sites

esteban 0

esteban 0

Psibernetic You are a genius. I got what i needed from your example. I couldent detect those double clicks because of the way i program, I dont usually use case or select in my scripts and if i use that with your delay idea i think i can do it. thank you !