Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Installkeybdhook
- #IfWinActive, ahk_class Photoshop
- RButton::
- GetKeyState, state, LAlt
- if state = U
- {
- SendInput {LAlt down}{LButton down}
- return
- }
- else {
- SendInput {]}
- return
- }
- ~RButton Up::
- GetKeyState, state, LAlt
- if state = D
- {
- Sendinput {LAlt up}{LButton up}
- }
- #IfWinActive
- #IfWinActive, CLIP STUDIO PAINT
- RButton::
- GetKeyState, state, LAlt
- if state = U
- {
- SendInput {LAlt down}{LButton down}
- return
- }
- else {
- SendInput {]}
- return
- }
- ~RButton Up::
- GetKeyState, state, LAlt
- if state = D
- {
- Sendinput {LAlt up}{LButton up}
- }
- #IfWinActive
- ;esc::exitapp ; press escape key to exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement