FANEq Posted February 4, 2011 Share Posted February 4, 2011 hay i have a problem when i use _MouseClickPlus or ControlClick its work just when window is acrive when i minimalize it mouse just move to the coord but dont click any idea why ? i try the both command. Link to comment Share on other sites More sharing options...
heyhey Posted February 4, 2011 Share Posted February 4, 2011 Hmm, would this do the job? MouseMove(x,y) MouseClick("left") Link to comment Share on other sites More sharing options...
heyhey Posted February 4, 2011 Share Posted February 4, 2011 (edited) Double post, sorry. Edited February 4, 2011 by heyhey Link to comment Share on other sites More sharing options...
FANEq Posted February 4, 2011 Author Share Posted February 4, 2011 how mouse click will work if the window is minimalize it wont work and i try control click after taht but its the same problem ... u read in google that the both command wont work with window of any internet exploler or game its true ? is there any other command maybe ? Link to comment Share on other sites More sharing options...
heyhey Posted February 4, 2011 Share Posted February 4, 2011 So you're trying to say you want a fake cursor to click on it, while moving around with your other cursor? This seems interesting to me, but I would have no clue how to do it as I'm a beginner myself. Link to comment Share on other sites More sharing options...
FANEq Posted February 4, 2011 Author Share Posted February 4, 2011 (edited) i know i can use #include <MouseClickPlus.au3> WinSetState("window", "", @SW_HIDE) WinGetHandle("window") _MouseClickPlus( "window", "left", 640, 40,1) WinSetState("window", "", @SW_SHOW) but thats make the window off i want just minimalize this and work on it so maybe eny idea? Edited February 4, 2011 by FANEq Link to comment Share on other sites More sharing options...
SinisterSaint Posted February 5, 2011 Share Posted February 5, 2011 Hey FANEq, I'm having a similar problem, but mine is a bit more simple. My mouse clicks don't require coordinates, and I'm hoping you might be able to help. Here is the script that I run on the window while it's active: Send, q Sleep, 450 MouseClick, right Sleep, 200 MouseClick, right Sleep, 1500 Let's say I want to run this script on WinTitle "Pancakes". How could I rewrite this to perform the actions on the inactive window titled "Pancakes"? Is Window Spy necessary? Or perhaps the MouseClickPlus you speak of? Thanks... Link to comment Share on other sites More sharing options...
FANEq Posted February 5, 2011 Author Share Posted February 5, 2011 (edited) @SinisterSaint u should use this command to do what u want. Send("Q") sleep(450) MOUSECLICK("right","x","y","1","speed") sleep(200) MOUSECLICK("right","x","y","1","speed") sleep(1500) x,y = position right = button mouse use left, right speed = how fast ur script will clock there exepmple 10 slow 1 very fast but still i have a problem and cant do anything to be able to work on minimalize window i just use right now WinSetState("window","",@SW_HIDE) WinSetState("","",@SW_SHOW) but its not good solution Edited February 5, 2011 by FANEq 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