Select Text
Posted: 29 Aug 2018, 12:58
by Wazowski
Hello boys,
I require something very simple.
Excuse me for my bad English
I'm from Venezuela using Google Translate
Re: Select Text Topic is solved
Posted: 29 Aug 2018, 13:21
by jackdunning
I use a technique I call the Standard AutoHotkey Clipboard Routine (as described in "
AutoHotkey Windows Clipboard Techniques for Swapping Letters"):
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
Select the text and execute the CTRL+ALT+F key combination.
Re: Select Text
Posted: 29 Aug 2018, 15:22
by Guest
Send ^V might actually send Ctrl+Shift+V so be sure to make it lower case v
Re: Select Text
Posted: 29 Aug 2018, 16:21
by jackdunning
You'll find times when the case does matter, but, in this instance, it has the same effect. However, in principle, I agree with you and have adjusted my post respectively.
Re: Select Text
Posted: 29 Aug 2018, 20:32
by Wazowski
jackdunning wrote:I use a technique I call the Standard AutoHotkey Clipboard Routine (as described in "
AutoHotkey Windows Clipboard Techniques for Swapping Letters"):
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
Select the text and execute the CTRL+ALT+F key combination.
Works perfectly
thank you very much