Jump to content

X, Y Coordinates


Recommended Posts

That worked amazing, thanks a lot.

Welcome!

you can remember AutoitInfo.au3 in the future for all Autoit command returns!

.. it will display Autoit errors/arrays/success with information 5 different ways!

.. and even if its not from Autoit you can display almost anything. (in writting)

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

Hi,

#include<WinAPI.au3>
While 1
    ToolTip("x: " & _WinAPI_GetMousePosX() & @CRLF & "y: " & _WinAPI_GetMousePosY(), 0, 0)
    Sleep(10)
WEnd

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

and, how about...

#include <AutoitInfo.au3>

; Set option
Opt("MouseCoordMode", 1)        ;1=absolute, 0=relative, 2=client

; Get mouse position / looped
While GUIGetMsg() <> -3
    $return = _AutoitInfoDisplay(MouseGetPos(), "MouseGetPos", 0)
    
    $return = _AutoitInfoDisplay(MouseGetPos(), "MouseGetPos", 2)
    
    $return = _AutoitInfoDisplay(MouseGetPos(), "MouseGetPos", 3)
    Sleep(10)
WEnd

8)

NEWHeader1.png

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...