Code: Select all
;Move selected words left or right
!Left::
!Right::
if(!x){
send ^x
hotkey,Alt up,paste,on
x:=1
}
send % "^{" . subStr(a_thisHotkey,2) . "}"
return
paste:
hotkey,Alt up,paste,off
x:=0
send ^v
return
Code: Select all
;Move selected words left or right
!Left::
!Right::
if(!x){
send ^x
hotkey,Alt up,paste,on
x:=1
}
send % "^{" . subStr(a_thisHotkey,2) . "}"
return
paste:
hotkey,Alt up,paste,off
x:=0
send ^v
return
Code: Select all
!Left::
!Right::
Send {Left}^+{Right}
; … the rest of your code
Code: Select all
Send ^{Right}^{Left}^+{Right}
Users browsing this forum: Google [Bot], mstrauss2021, Spawnova, zephyrus2706 and 361 guests