FANEq 0 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. Share this post Link to post Share on other sites
heyhey 0 Posted February 4, 2011 Hmm, would this do the job? MouseMove(x,y) MouseClick("left") Share this post Link to post Share on other sites
heyhey 0 Posted February 4, 2011 (edited) Double post, sorry. Edited February 4, 2011 by heyhey Share this post Link to post Share on other sites
FANEq 0 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 ? Share this post Link to post Share on other sites
heyhey 0 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. Share this post Link to post Share on other sites
FANEq 0 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 Share this post Link to post Share on other sites
SinisterSaint 0 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... Share this post Link to post Share on other sites
FANEq 0 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 Share this post Link to post Share on other sites