Jump to content
Sign in to follow this  
bbaffert

Mouseclicks, HELP!

Recommended Posts

ControlClick($pagename, "", $RedButton);

Replaced it with this

mouseclick(207,481,1);

Did not work? Is there anyway to make this into a mouseclick?

Share this post


Link to post
Share on other sites

Control* options are preferred. Since of direct interaction with the control. More information, maybe needed to help you.

Share this post


Link to post
Share on other sites

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 by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

Thanks,

Set the Opt(MouseCordMode,0) and added a "left" before the mouse coordinates and it actually worked.

Now new problem!!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...