Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #MaxHotkeysPerInterval 1000
- inSwapMode := false
- ; Copy this function into your script to use it.
- HideTrayTip() {
- TrayTip ; Attempt to hide it the normal way.
- if SubStr(A_OSVersion,1,3) = "10."
- {
- Menu Tray, NoIcon
- Sleep 200 ; It may be necessary to adjust this sleep.
- Menu Tray, Icon
- }
- }
- F7::
- if ( inSwapMode = true )
- {
- TrayTip weapon swap status, "mwheel" bound.
- }
- else
- {
- TrayTip weapon swap status, "mwheel" unbound.
- }
- Return
- F8::
- inSwapMode := !inSwapMode
- Return
- WheelDown::
- if ( inSwapMode = true )
- {
- IfWinActive, Path of Exile
- {
- Send, x
- }
- }
- else
- {
- MouseClick, WD
- }
- Return
- WheelUp::
- if ( inSwapMode = true )
- {
- IfWinActive, Path of Exile
- {
- Send, x
- }
- }
- else
- {
- MouseClick, WU
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement