Jump to content
Sign in to follow this  
JohnRitter

Operating in windowed mode

Recommended Posts

So I am having an issue, and I would like to know if anyone else has had the same issue...  If so how did you correct it?

The issue is this.. I wrote code based on the program being open and in full screen mode.. That part of my code works great..  I decided to change it to windowed mode... and this is where I am running into issues...

opt("Mousecoordmode",0)

Winactivate("xxxxx")

mouseclick("left",x,y,1,1)

and so forth... but it jumps to the specified window and then back to autoit.... Is there something that I am missisng here???

 

 

Share this post


Link to post
Share on other sites

so if it is

Mouseclick("left",x,y,1,0)

how does that translate to control click? seems control click works from center of the window? is this correct?

Share this post


Link to post
Share on other sites

What is the window? You would use the AutoIt Window Info tool (same directory where you installed AutoIt) and hover over the control. Then you can ControlClick right on that control (button, combobox, whatever). Window doesn't even have to be active.


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...