Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Mouse Coords WAS working

$
0
0

This script did work, like a hour ago when i did it and now it wont work. It's suppose to display the tooltip where the mouse coords are but it doesnt go to the mouse, it goes to one of the sides of my screen, what the heck? did i do something wrong? 

AutoIt         
#include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3>  #Include <Constants.au3> #include <WinAPI.au3> #include <Misc.au3> #include <File.au3> #include <Misc.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Roblox Draw", 203, 61, 192, 124) $Input1 = GUICtrlCreateInput("Input1", 0, 0, 201, 21) $Input2 = GUICtrlCreateInput("Input2", 0, 32, 201, 21) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### ;;;;;;;;;;;;;;;;;;;;;;;;; Local $hDLL = DllOpen("user32.dll") Global $Paused HotKeySet("{F4}", "getdat") While 1 WEnd func getdat()     $pos = MouseGetPos() tooltip("lol",1, $pos[0] & "," & $pos[1])     endfunc

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>