Hello,
I want to do this please watch the video
for a better understanding of what I want
https://streamable.com/uth8o
Please help with this function that I want
Re: Please help with this function that I want
Code: Select all
#NoEnv
#SingleInstance Force
SendMode Input
SetBatchLines -1
^b::surroundWith("*")
^i::surroundWith("_")
surroundWith(char) {
clipSaved := ClipboardAll
Clipboard := ""
Send ^x
ClipWait 1
Send % Format("{Text}{1:}{2:}{1:}", char, Clipboard)
Send % "{Left}+{Left " StrLen(Clipboard) "}"
Clipboard := clipSaved
}
Re: Please help with this function that I want
@swagfag Ohh Excellent
will there be a way to make more instant?
will there be a way to make more instant?
Re: Please help with this function that I want
there are other nonportable, application-specific ways of manipulating text without relying on keystrokes or the clipboard that might be faster
COM automation, EM_GETSEL + WM_SETTEXT
COM automation, EM_GETSEL + WM_SETTEXT
Who is online
Users browsing this forum: filipemb, Google [Bot] and 155 guests