bbaffert Posted March 7, 2005 Share Posted March 7, 2005 ControlClick($pagename, "", $RedButton); Replaced it with this mouseclick(207,481,1); Did not work? Is there anyway to make this into a mouseclick? Link to comment Share on other sites More sharing options...
MHz Posted March 7, 2005 Share Posted March 7, 2005 Control* options are preferred. Since of direct interaction with the control. More information, maybe needed to help you. Link to comment Share on other sites More sharing options...
Blue_Drache Posted March 7, 2005 Share Posted March 7, 2005 (edited) ControlClick($pagename, "", $RedButton); Replaced it with this mouseclick(207,481,1);Did not work? Is there anyway to make this into a mouseclick?<{POST_SNAPBACK}>Opt(MouseCordMode,1) is the default. That's the global screen coordinates. So, unless your window's upper left corner is at 0,0 (or the upper left corner of the monitor) then it won't work.Try setting Opt(MouseCordMode,0) and that will force the MouseClick command to use the active window's upper left as the origin instead of the whole monitor.Keep in mind, that you only have to set an Opt() once, not every time...so they fit best in the initialization seciton of the script. Edited March 7, 2005 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
bbaffert Posted March 7, 2005 Author Share Posted March 7, 2005 Thanks, Set the Opt(MouseCordMode,0) and added a "left" before the mouse coordinates and it actually worked. Now new problem!! 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