Jump to content

Recommended Posts

Posted

Okay, so I've used scripts created by others for simple things before and I am now attempting to make my own.

I understood a lot of the coding by reading through the scripts (Yay for good comments), but there is a function I'm not sure which command to use.

Basically, I want to left click location A and then move the cursor to location B before whilst still clicking, and then release.

Think of something like simply highlighting a group of cells in a spreadsheet or such.

I tried using a record to generate the code and got something along the lines of:

MouseMove(29,563)

MouseDown("left")

MouseMove(281,465)

MouseUp("left")

I don't fully understand this one, and I was wondering if something like MouseClickDrag would be simpler.

Any ideas on what the best way to code it is?

Posted

right. move the mouse to location a then use MouseClickDrag to drag it to location b. i could be wrong because i never use those functions but just what i thought might work

[spoiler]My UDFs: Login UDF[/spoiler]

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
  • Recently Browsing   0 members

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