Jump to content

Recommended Posts

Posted

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.

Posted

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 ?

Posted

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.

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
Posted

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...

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

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
×
×
  • Create New...