What is the fastest method of send text
send by clipbord?
What is the fastest method of send text
What is the fastest method of send text
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: What is the fastest method of send text
SendInput, ^c is a good candidate I think.
Re: What is the fastest method of send text
thanks you proably meanwolf_II wrote:SendInput, ^c is a good candidate I think.
SendInput, ^v
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: What is the fastest method of send text
Oops, sorry. Yes, I meant SendInput, ^v
Re: What is the fastest method of send text
example send2notepad with ctrl+c
Code: Select all
pr=notepad.exe
sc=ahk_exe notepad.exe
$^c::
sendinput, ^c ;- copy marked text
clipwait,2
IfWinNotExist,%sc%
{
Run, %pr%,,,pid1
scx:= "ahk_pid " . PID1
WinWait,%scx%
}
IfWinNotActive ,%scx%,,WinActivate,%scx%
WinWaitActive,%scx%
send,^v ;- send to notepad
sleep,200
sendinput,{Enter}
clipboard=
return
esc::exitapp ; quit this script with escape
Re: What is the fastest method of send text
Yes, I suggest that too.
Probably an even more correct method would be:
If you used your clipboard for anything (before pressing F1),
the content of the clipboard will still remain after executing the script.
otherwise your clipboard would be deleted/overwritten.
Regards
Code: Select all
F1::
Clipboard = put your text message here
Send ^v
return
Code: Select all
F1::
ClipBackup := Clipboard
Clipboard = put your text message here
Send ^v
Clipboard := ClipBackup
return
the content of the clipboard will still remain after executing the script.
otherwise your clipboard would be deleted/overwritten.
Regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
Re: What is the fastest method of send text
yes thats the way i did arleadyScr1pter wrote:Yes, I suggest that too.
Probably an even more correct method would be:
Code: Select all
F1:: ClipBackup := Clipboard Clipboard = put your text message here Send ^v Clipboard := ClipBackup return
feel free to copy:
https://github.com/sl5net/global-Intell ... c.ahk#L252
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Who is online
Users browsing this forum: sbrady19 and 124 guests