In MS Word you are able to move paragraphs up and down by holding shift & alt and using the up and down arrows.
However, I would like to just move the selected word(s) left or right, like you are able to do in AHK Studio with the left & right arrow keys.
In AHK Studio this will move the selected text one space but I would like to move the selected text skipping whole words.
The actions that are needed for this are cut selected text -> press ctrl + left of right (so you skip a word) -> paste selected text.
I converted this to code but it doestn't work unfortunately. Both aren't doing what I want to.
Code: Select all
~^+!Right::
send {ctrl down}x
send {Right}
send v{ctrl up}
return
~^+!Right::
send {ctrl down}x{ctrl up}
send {ctrl down}{Right}{up}
send {ctrl down}v{ctrl up}
return