Moving a word right or left

Dear Collegues

I am not an expert but I did program this small code to easily move a word to the left or the right of another one, without having to select it but just having the cursor in front or in it. It is very practical for me when translating EN to FR. It surely can be improved. Do not hesitate.

To move the word to the right : Alt-Ctrl Right arrow

^!Right::
Send, ^{Right}+^{Left}
Send, ^x
Send, ^{Right}
Send, ^v
Send, ^{Left}

To move the word to the left : Alt-Ctrl Left arrow

^!Left::
Send, ^{Right}+^{Left}
Send, ^x
Send, ^{Left}
Send, ^v
Send, ^{Left}

Regards

Parents Reply Children
No Data