Sign in to follow this  
Followers 0
Resonanace

Simple Question

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

maby MouseMove() is the function you want

Edited by pieeater

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

Share this post


Link to post
Share on other sites

MouseMove, I believe, just simply moves it to whatever location with no clicking.

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
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
Sign in to follow this  
Followers 0