我以为这会很简单...
我想要一个启动普通剪辑的 AppleScript,然后将剪贴板粘贴到光标所在的当前文档中。我的脚本启动Plain Clip(一种不会窃取焦点的格式清除应用程序),但它不会粘贴新的剪贴板。有任何想法吗?
tell application "Plain Clip" to activate
delay 1
tell application "System Events" to tell (name of application processes whose frontmost is true) to keystroke "v" using {command down}
Run Code Online (Sandbox Code Playgroud)