Jump to content

Recommended Posts

Posted

Hi,

Can someone point me in the right direction. I need a left mouse click script that clicks at the current mouse position which is not a problem but I also need to be able to set the time of day of the mouse click. Can someone help as to how I can add the time of day part of the script?

Thank you in advance for any help,
yeto 

Posted

"I also need to be able to set the time of day of the mouse click"

Have no idea what you're trying to achieve, comment above is vague, please provide the code you've tried and we might be able to figure it out.

Posted
21 hours ago, Subz said:

"I also need to be able to set the time of day of the mouse click"

Have no idea what you're trying to achieve, comment above is vague, please provide the code you've tried and we might be able to figure it out.

If @HOUR is & @MIN is & @sec is Then MouseClick ("left")

How do I input the hour, minute and second that I would like for the mouse to click?

Thank you for any help,
yeto

 

Posted

@yeto
Your statement about what you're trying to do is still vague and badly formatted.
If you are trying to save somewhere the moment of a particular mouse click, then you need to use File* functions to write to a file that moment; otherwise, if you are trying to schedule a mouse click, then the way to run across is different.
 

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Posted
58 minutes ago, FrancescoDiMuro said:

@yeto
Your statement about what you're trying to do is still vague and badly formatted.
If you are trying to save somewhere the moment of a particular mouse click, then you need to use File* functions to write to a file that moment; otherwise, if you are trying to schedule a mouse click, then the way to run across is different.
 

I am sorry for the lack of information. I am brand new at this. I have studied hours of tutorials and Google searches but I am just not getting it. Yes, I want to schedule a mouse click. I will be in front of my computer so I don't need x,y coordinates. I can place the cursor myself. When my computer clock hits a certain time I would like for the mouse to left click. I need to specify the time down to milliseconds. I want to learn AutoIt and this is my first try.

"if you are trying to schedule a mouse click, then the way to run across is different."

Can you point me to a tutorial that will teach me how to code the "run across"?

Thank you for taking time to reply,
yeto 

Posted
3 hours ago, yeto said:

When my computer clock hits a certain time I would like for the mouse to left click. I need to specify the time down to milliseconds.

You could use Task Scheduler to start the script one minute before you need the MouseClick(), and then, make a click with more precision using the script.
Take a look at Timer* or _Timer* functions in the Help file :)

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Posted
10 minutes ago, FrancescoDiMuro said:

You could use Task Scheduler to start the script one minute before you need the MouseClick(), and then, make a click with more precision using the script.
Take a look at Timer* or _Timer* functions in the Help file :)

Thank you. I will take a look. This seems overly complicated though.

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