如何将系统信息复制到剪贴板



我正在创建一个将系统信息复制到剪贴板的程序。 我尝试将变量设置为"系统信息"并复制该变量,但它仅复制我的AppleScript版本(2.2.4)。请帮忙!我的代码如下:

set a to system info
set the clipboard to a

您需要将记录强制到列表中...

set a to (system info) as list
set AppleScript's text item delimiters to linefeed
set a to a as text
set the clipboard to a

最新更新