Cyote101 Posted March 24, 2008 Share Posted March 24, 2008 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, Link to comment Share on other sites More sharing options...
Nahuel Posted March 24, 2008 Share Posted March 24, 2008 ControlGetPos() MouseClick() Link to comment Share on other sites More sharing options...
Cyote101 Posted March 24, 2008 Author Share Posted March 24, 2008 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) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now