I require something very simple.

Excuse me for my bad English

I'm from Venezuela using Google Translate
Code: Select all
^!f::
OldClipboard := ClipboardAll
Clipboard = ;clears the Clipboard
SendInput, ^c
ClipWait 0 ;pause for Clipboard data
If ErrorLevel
{
MsgBox, No text selected!
}
Clipboard := "_" . Clipboard . "_"
SendInput, ^v
Clipboard := OldClipboard
Return
Works perfectlyjackdunning wrote:I use a technique I call the Standard AutoHotkey Clipboard Routine (as described in "AutoHotkey Windows Clipboard Techniques for Swapping Letters"):
Select the text and execute the CTRL+ALT+F key combination.Code: Select all
^!f:: OldClipboard := ClipboardAll Clipboard = ;clears the Clipboard SendInput, ^c ClipWait 0 ;pause for Clipboard data If ErrorLevel { MsgBox, No text selected! } Clipboard := "_" . Clipboard . "_" SendInput, ^v Clipboard := OldClipboard Return