Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Requires AutoHotkey v2.0
- ; ======================================================
- ; USAGE:
- ; Open some chest or other container -> Hover over the first slot in your inventory (highest row, left-most column) with your cursor.
- ; Press the key that will launch the macro.
- ; It will almost instantly shift+click on every field in your inventory to move its contents to the chest you opened.
- ; After the macro ends your cursor will be at the same spot it was when you started.
- ; INSTRUCTIONS FOR MAKING EDITS:
- ; Row "+m::" means it starts the macro after pressing "Shift+m" combination.
- ; ^m:: would be "Ctrl+m" // !m:: -> "Alt+m" // #m:: -> "WinKey+m"
- ; and of course just "m::" would start the macro after pressing only "m"
- ; Change the "8" below to how many rows of inventory you have.
- ; Change the "14" below to how many columns of inventory you have.
- ; Change the "60" in every place below to how many pixels apart are the cells in your inventory
- ; I took a screenshot and counted the pixels in Paint. On your resolution/monitor ratio it might be different, or it might be the same, I don't know.
- ; Change the "840" to whatever your value of "14" multiplied by "60" is, if you changed it. Keep the minus in front of it.
- ; Change the "480" to whatever your value of "8" multiplied by "60" is, if you changed it. Keep the minus in front of it.
- ; ======================================================
- +m::
- {
- Loop 8
- {
- Send "+{Click}"
- Loop 14
- {
- MouseMove 60, 0, 5, "R"
- Send "+{Click}"
- }
- MouseMove -840, 0, 5, "R"
- MouseMove 0, 60, 5, "R"
- }
- MouseMove 0, -480, 5, "R"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement