Jump to content
Sign in to follow this  
siraig

Help the noob...

Recommended Posts

Hey all,

I am trying to perform a very simple task - but have absolutely NO prior experience to this. I want to be able to run a script that allows me to click once and have the script "double click."

I searched around and found this script...

Func mouse()

; Double click at the current mouse pos

MouseClick("left")

MouseClick("left")

EndFunc

BUT - ive loaded it into a new script, and run the script, but nothing is happening. I am sorry for not having any idea what to do here. any help is GREATLY appreciated.

Edited by siraig

Share this post


Link to post
Share on other sites

Can you please tell us why you can't do the double click yourself?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2019-08-19 - Version 1.4.13.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-07-24 - Version 1.3.6.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (NEW 2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Taks Scheduler (NEW 2019-10-09 - Version 0.9.0.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Perhaps you might post the full script you have placed this function in? The function in question does in fact invoke a double click at the current mouse position. In conclusion, I fail to see the problem.

Share this post


Link to post
Share on other sites

You'll need a while loop to keep the script alive, and also a _IsPressed("01") in that loop to detect the mouse click and trigger the function.

Edited by JohnOne

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  

×
×
  • Create New...