Jump to content
Sign in to follow this  
Cyote101

ControlClick Help

Recommended Posts

Hello,

I'm trying to figure out a way to script a right click based off of the location of a control, "tbookbar", I have the following in my window a form and a control called "tbookbar" I would like to script a right click at 500 pixels to the left and 500 pixels down from the "Tbookbar" control.

Thanks,

Share this post


Link to post
Share on other sites

I know the following is not correct, but that's the general Idea, any ideas

$pos = ControlGetPos ( "TPS REPORT","+","TBookBar1" )

mouseclick("SECOUNDARY", $pos [0] +300,$pos [1] +25, 2)

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