Overlap mouse on windows

Ask gaming related questions (AHK v1.1 and older)
hieveryone
Posts: 43
Joined: 28 Nov 2022, 01:31

Overlap mouse on windows

Post by hieveryone » 28 Nov 2022, 05:26

Hi I'm kinder new , could you over lay cursor?
For example if I have to windows on, could one window read where the mouse position is on the main window?

Because I want multibox script NOT WOW MULTIBOX

Thanks you

User avatar
mikeyww
Posts: 26939
Joined: 09 Sep 2014, 18:38

Re: Overlap mouse on windows

Post by mikeyww » 28 Nov 2022, 07:25

Hello,

Code: Select all

F3::
CoordMode, Mouse
MouseGetPos, x, y
MsgBox, 64, Mouse position, (%x%, %y%)
Return

hieveryone
Posts: 43
Joined: 28 Nov 2022, 01:31

Re: Overlap mouse on windows

Post by hieveryone » 28 Nov 2022, 22:06

Thanks but I see many multibox script with Winget and some other stuff like control send are those nesccesary to build a multibox script?

Also about your script, I know most games read like mousemove
Will the mouse position be read by mousemove?

User avatar
mikeyww
Posts: 26939
Joined: 09 Sep 2014, 18:38

Re: Overlap mouse on windows

Post by mikeyww » 29 Nov 2022, 06:42

A specific goal determines what is necessary in a script.

Use MouseMove to move the mouse cursor. Use MouseGetPos to retrieve the position. By default, coordinates are relative to the active window. The links that I have cited here provide details & examples.

Post Reply

Return to “Gaming Help (v1)”