Jump to content
Sign in to follow this  
siraig

Help the noob...

Recommended Posts

siraig

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
water

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


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - 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
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
MouseSpotter

This might be too obvious but have you invoked the Mouse function

Mouse()
Func mouse()
; Double click at the current mouse pos
MouseClick("left")
MouseClick("left")
EndFunc
Edited by MouseSpotter

Share this post


Link to post
Share on other sites
Tekk

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
JLogan3o13

siraig, what is the application you're trying to manipulate? There is often a much better way to do what you want (activate a button, click on a link, etc.), without having to resort to Mouseclicks.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

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  

×