如何不用Ctrl+A的情况下全选当前文本?

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 如何不用Ctrl+A的情况下全选当前文本?

Re: 如何不用Ctrl+A的情况下全选当前文本?

by sxr » 24 Mar 2023, 02:52

我也是,发送Ctrl+C无法复制文本

如何不用Ctrl+A的情况下全选当前文本?

by Gettingoldslowly » 25 Nov 2021, 11:46

先祝大家感恩节快乐,身体健康。我用的程序不支持Ctrl+A的全选功能,我尝试一下两个版本的代码都失败了,我的想法是按着shift+右方向键让光标从左往右选取所有文本,然后复制粘贴。请问有哪些代码可以用呢?谢谢。

Code: Select all

^NumpadDot::
sendInput, +{right}
send ^c
WinActivate, ahk_exe OUTLOOK.EXE
send ^v
send, {Enter}
return

Code: Select all

^NumpadDot::
KeyWait, +
KeyWait, {right}
Clipwait, 3000
send ^c
WinActivate, ahk_exe OUTLOOK.EXE
send ^v
send, {Enter}
return

Top