Last active
January 2, 2022 19:05
-
-
Save fre-sch/b013dfabe3b59c2ed5aac83ab18a8c14 to your computer and use it in GitHub Desktop.
Autohotkey script to make moving inventory items in Star Citizen (3.16) easier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
#Warn | |
SetWorkingDir %A_ScriptDir% | |
SendMode, Input | |
SetMousedelay, 20 | |
SetMousedelay, 20, Play | |
;MoveXOffset := 43 | |
#IfWinActive ahk_exe StarCitizen.exe | |
; Alt+P: Move from right inventory to left | |
!p:: | |
Send, {LButton Down} | |
Sleep, 50 | |
MouseMove, -43, 0 | |
Sleep, 50 | |
Send, {LButton Up} | |
MouseMove, 43, 0 | |
Sleep, 50 | |
return | |
; Alt+Y: Move from left inventory to right | |
!y:: | |
Send, {LButton Down} | |
Sleep, 50 | |
MouseMove, 43, 0 | |
Sleep, 50 | |
Send, {LButton Up} | |
Sleep, 50 | |
MouseMove, -43, 0 | |
return | |
F9::Suspend | |
#IfWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment