Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;;;;;;;;;;;;;;;;;;ARK FAST SWAP FOLDER MACRO;;;;;;;;;;;;;;;;;;;;;
- ;How to use: Run with AHK...
- ;+OPEN YOUR INVENTORY.
- ;+Make a folder.
- ;+Press F8
- ;+Right Click on the Folder for swapping.
- ;+Right Click on the 'Equip All Folder Items' button.
- ;+Leave Inventory
- ;+Press F2 to fast swap!
- ;Fill the folder with the gear you want to swap... duh...
- ;F9 sets a swap folder for F3... This is set up for two swap folders if needed.
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- F2:: ;Default is F2 to for swap folder one... set it there.
- SendEvent {i}
- Sleep 220 ;adjust for your pc/lag... make sure Disable Menu Transitions in Ark settings.
- SendEvent {Click, Right, %folderPos1x%, %folderPos1y%}
- Sleep 20 ;adjust for your pc/lag
- SendEvent {Click, %equipPos1x%, %equipPos1y%}
- SendEvent {i}
- return
- F3:: ;Default is F3 for swap folder two... set it there.
- SendEvent {i}
- Sleep 220
- SendEvent {Click, Right, %folderPos2x%, %folderPos2y%}
- Sleep 20
- SendEvent {Click, %equipPos2x%, %equipPos2y%}
- SendEvent {i}
- return
- tooltipTimer:
- IfWinActive ARK: Survival Evolved
- {
- ToolTip, RIGHT Click on the Swap Folder!!!,,,1
- }
- else
- {
- SetTimer, tooltipTimer, off
- Tooltip, , , , 1
- }
- return
- tooltipTimer2:
- IfWinActive ARK: Survival Evolved
- {
- ToolTip, RIGHT Click on the Equip Button!!!,,,2
- }
- else
- {
- SetTimer, tooltipTimer, off
- Tooltip, , , , 1
- }
- return
- F8:: ;Default is F8 to Set up the swap folder1... set it there.
- SetTimer, tooltipTimer, 50
- KeyWait, RButton, D
- MouseGetPos, xpos, ypos
- folderPos1x = %xpos%
- folderPos1y = %ypos%
- SetTimer, tooltipTimer, off
- Tooltip FOLDER HAS BEEN SET!!! ,50 ,50 , 3
- Tooltip, , , , 1
- Sleep 200
- SetTimer, tooltipTimer2, 50
- KeyWait, RButton, D
- MouseGetPos, xpos, ypos
- equipPos1x = %xpos%
- equipPos1y = %ypos%
- SetTimer, tooltipTimer2, off
- Tooltip EQUIP BUTTON HAS BEEN SET!!! ,50 ,50 , 3
- Tooltip, , , , 2
- ToolTip Quick Swap Set!!,,,5
- Sleep 2000
- Tooltip, , , , 3
- Tooltip, , , , 4
- Tooltip, , , , 5
- return
- return
- F9:: ;Default is F9 to Set up the swap folder2... set it there.
- SetTimer, tooltipTimer, 50
- KeyWait, RButton, D
- MouseGetPos, xpos, ypos
- folderPos2x = %xpos%
- folderPos2y = %ypos%
- SetTimer, tooltipTimer, off
- Tooltip FOLDER HAS BEEN SET!!! ,50 ,50 , 3
- Tooltip, , , , 1
- Sleep 200
- SetTimer, tooltipTimer2, 50
- KeyWait, RButton, D
- MouseGetPos, xpos, ypos
- equipPos2x = %xpos%
- equipPos2y = %ypos%
- SetTimer, tooltipTimer2, off
- Tooltip EQUIP BUTTON HAS BEEN SET!!! ,50 ,50 , 3
- Tooltip, , , , 2
- ToolTip Quick Swap Set!!,,,5
- Sleep 2000
- Tooltip, , , , 3
- Tooltip, , , , 4
- Tooltip, , , , 5
- return
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement