Jump to content

Using the MouseClickDelay (Option) Function


hookLine
 Share

Recommended Posts

Basically this sets a global options for yoru script so that if you issue two

mouse click commands this is the pause inbetween them.

Opt("MouseClickDelay", 20)
;20 being the pause in milliseconds
MouseClick()
MouseClick()
MouseClick()
MouseClick()

It's the same as

MouseClick()
Sleep(20)
MouseClick()
Sleep(20)
MouseClick()
Sleep(20)
MouseClick()

Kenny

Edited by ken82m

 "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."

Link to comment
Share on other sites

Basically this sets a global options for yoru script so that if you issue two

mouse click commands this is the pause inbetween them.

Opt("MouseClickDelay", 20)
;20 being the pause in milliseconds
MouseClick()
MouseClick()
MouseClick()
MouseClick()

It's the same as

MouseClick()
Sleep(20)
MouseClick()
Sleep(20)
MouseClick()
Sleep(20)
MouseClick()

Kenny

Thank you very much! This makes my script 1/2 the length :)
Link to comment
Share on other sites

ur welcome :)

 "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."

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