Code: Select all
xposition := 0
yposition := 0
return ; end autoexecute section
~LButton::
{
MouseGetPos &xposition, &yposition
global xposition := xposition
global yposition := yposition
}
F5::
{
MsgBox "Last time you pressed the left mouse button the mouse position was`n`nX: " . xposition . "`nY: " . yposition
}