Jump to content

repeat mouse click and move location


 Share

Recommended Posts

yes it's very possible..

Put mouseclick in a for loop and everytime subtract $i*$dec from x and y co-ordinates. where $dec is the value u want to lower coordinates with.

like this

for $i=1 to $whatever
    MouseClick(($x-($i*$dec)),($y-($i*$dec)))
Next
[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

yes it's very possible..

Put mouseclick in a for loop and everytime subtract $i*$dec from x and y co-ordinates. where $dec is the value u want to lower coordinates with.

like this

for $i=1 to $whatever
    MouseClick(($x-($i*$dec)),($y-($i*$dec)))
Next

Thanks man, so if i want to say just move the x axis ill do

MouseClick(($x-($i*$dec)),100)

or something similar?

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