【发布时间】:2023-02-04 14:09:13
【问题描述】:
我只想将当前剪贴板内容粘贴到新的记事本窗口中,但以下内容不起作用:
#t::
Run "notepad.exe"
WinWaitActive, Untitled - Notepad
WinActivate, Untitled - Notepad ; to bring the window to the front ?
ControlSend, Edit1, ^v, ahk_class Notepad
return
还...
ControlSetText, RichEditD2DPT1, New Text Here
...只有效(写新文本在这里进入记事本)我自己手动点击记事本的文本字段后。
如何通过 AHK 将当前剪贴板项目自动写入新的记事本窗口,最好通过Ctrl+V?
【问题讨论】:
标签: autohotkey