Sign in to follow this  
Followers 0
FANEq

Control click dont work whille minimalize window.

8 posts in this topic

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



#3 ·  Posted (edited)

Double post, sorry.

Edited by heyhey

Share this post


Link to post
Share on other sites

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

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

#6 ·  Posted (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 by FANEq

Share this post


Link to post
Share on other sites

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

#8 ·  Posted (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 by FANEq

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  
Followers 0