This is just a little AutoIt script i made to record the position of your mouse cursor.
INSTRUCTIONS:
Start the script (you need AutoIt installed to run it - i would have compiled it to an exe so anyone could use but figured no one would trust a 0 rep .exe file so yeah). its a small autoit script so no virus scan should be necessary
the script runs in the background
press PAUSE to exit the script
pess INSERT/INS to capture the coordinates of wherever the mouse cursor is.
a window will pop up, just type in the label you want, and it will record the position to positions.ini in the same directory the script is in.
here is what the output file will look like
positions.ini:
[Positions]
test position=482,419
test pos 2=1030,938
Most people will probably find this useless, but im trying to contribute at least something.
practical uses are mostly for beginner AutoIt scripters, examples;
-record mouse coords for where to click the "yes" button for the thread about stealing items from the neutral AH
-record mouse positions to level your enchanting (positions for "enchant", the item to enchant, and the ensuing "yes" to overrite the enchant), and then make a simple script to click locations and level enchanting
-record mouse positions to use for an auto clicker, or for programs that take coordinate entry like Pirox AFK bot
-any time you make a script and need to click coords, this is a script to get the coords you need to click.
basically, anytime you want to use autoit or another program that takes mouse coordinates, you can use this script to easily obtain many coordinates to have apps click for you.
link to script file:
http://ninj.as/mposition.au3
and source code:
Code:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.4.0
Author: mmoninja@MMOwned
Script Function:
Record mouse position/coordinates
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
#include <GUIConstants.au3>
HotKeySet("{INSERT}","gmp")
HotKeySet("{PAUSE}","endpos")
Dim = 0
While 1
Sleep(100)
WEnd
Func gmp()
= 0
= MouseGetPos()
GuiCreate("Test",100,50)
= GuiCtrlCreateButton("Ok",0,20)
= GuiCtrlCreateInput("",0,0,900)
ControlFocus("Test","","[CLASS:Input;TEXT:;INSTANT:1]")
GuiSetState(@SW_SHOW)
While = 0
= GuiGetMsg()
Select
Case =
GUIDelete()
GUISetState(@SW_HIDE)
= 1
Case =
= 1
= GuiCtrlRead()
IniWrite(@SCRIPTDIR & "positions.ini","Positions",, & "," & )
GUIDelete()
GUISetState(@SW_HIDE)
EndSelect
WEnd
EndFunc
Func endpos()
GUISetState(@SW_HIDE)
GUIDelete()
Exit
EndFunc