Want to move all your items from one storage to another 1 row at the time? Couldn't find a mod that do it?, this may help you: here's the script: Code: +g:: Loop, 10 { Click MouseMove, 18, 0, 1, R } return Install: save the above code into a file with extention ahk, also Install ahk. Use:right click on the ahk file and "run as administrator", then in game, put your mouse in the begining of a row in your inventory and hold shift and press g (can change to any key in the script), keep holding shift until it finishes. if you have big resolution change the 10 to 20 or something that works if it skips some items reduce the 18 to 15 or something that works Also you can edit it to have the Deposit ALL functionality by moving the mouse to the next row and repeating the loop
Hey, I hope you don't mind but I made a minor modification which accounts for desktop resolution and window size. I found your tool useful, it was just kind of annoying to retune it manually. Code: ; This script is an unofficial modification of one made by j_john.doe612 ; Save as whatever.ahk, then open with autohotkey (drag n' drop the file over the executable) ; For the end-user: If you want to change the keybinding then change '!g'. ; Control codes: !Alt #WinKey ^Control +Shift. a-z, 1-9, ect. represent letters. ; By default ('!g') press alt+g to activate ; Change this to adjust how many items will be moved. Loops := 10 !g:: WinGetTitle, Title, A ; Get the name of the active window WinGetPos,,, Width, Height, A ; Get active window size WinGetPos,,, desk_width, desk_height, Program Manager ; Get desktop size ; Only work if the current window is starbound if (%Title% == Starbound) { Send, {shift down} Loop, %Loops% { Click ; Tested for a 1920x1080 screen resolution ; Distance is an exact measure, your milage may vary. ; Takes into account screen resolution & window size. ; Note: do NOT change 1920 to your desktop width - scaling is relative. MouseMove, (desk_width/1920) * (Width/1920) * 50, 0, 1, R } Send, {shift up} } Return If this code doesn't scale correctly on your screen, tell me and i'll attempt to fix it.
Awesome!, good job, worked for me, also added the return functionality in the version below: Code: ; This script is an unofficial modification of one made by j_john.doe612 ; Save as whatever.ahk, then open with autohotkey (drag n' drop the file over the executable) ; For the end-user: If you want to change the keybinding then change'!g'. ; Control codes: !Alt #WinKey ^Control +Shift. a-z, 1-9, ect. represent letters. ; By default ('!g') press alt+g to activate ; Change this to adjust how many items will be moved. Loops := 10 !g:: WinGetTitle, Title, A ; Get the name of the active window WinGetPos,,, Width, Height, A ; Get active window size WinGetPos,,, desk_width, desk_height, Program Manager ; Get desktop size ; Only work if the current window is starbound if (%Title% == Starbound) { Send, {shift down} Loop, %Loops% { Click ; Tested for a 1920x1080 screen resolution ; Distance is an exact measure, your milage may vary. ; Takes into account screen resolution & window size. ; Note: do NOT change 1920 to your desktop width - scaling is relative. MouseMove, (desk_width/1920) * (Width/1920) * 50, 0, 1, R } Send, {shift up} ;Mouse returns to the original position MouseMove, ((desk_width/1920) * (Width/1920) * 50) * (-Loops), 0, 1, R } Return