JohnRitter Posted June 7, 2016 Share Posted June 7, 2016 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??? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 8, 2016 Moderators Share Posted June 8, 2016 What is the app you're trying to manipulate? Why are you Mouseclicking instead of using Control Click? "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! Link to comment Share on other sites More sharing options...
JohnRitter Posted June 8, 2016 Author Share Posted June 8, 2016 mouseclick because that is what I am physically doing.... Will look into the control click... Link to comment Share on other sites More sharing options...
JohnRitter Posted June 8, 2016 Author Share Posted June 8, 2016 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? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 9, 2016 Moderators Share Posted June 9, 2016 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! 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