Script does what it is supposed to, works as intended for moving the items.
My issue is I am unable to make the mouse courser (basically ingame ui pointer), to actually go back to where it started before the script started. Actually, the ui point moves immediately to the bottom right corner of the screen during any scripted mouse movements yet it does do what it was meant to do, "move items from one box to another box.".
Script 100% works in console command, main menu, in any other windows app, it's just in the Inventory ui it doesn't actually send the courser back to its location
Script code below
•••••••••••••••••••••••••••••••••••••
Code: Select all
IfWinExist Star Citizen
{
WinActive Star Citizen
SetDefaultMouseSpeed, 0
;Loop, 0
{
;saved automatically in the outputvars though
CoordMode, Mouse, Screen
; Get mouse xy
MouseGetPos, OutputVarX, OutputVarY
; move mouse to xy to xy
MouseDragClick, % OutputVarX, % OutputVarY, 500, 600
; move mouse back to saved mouse xy
MouseMove, % OutputVarX, % OutputVarY
}
}
ExitApp