我知道这可能真的很愚蠢 但是我无法将变量发送到剪贴板
我仍然收到错误消息“无法将剪贴板设置为”
我尝试将结果设置为变量并将变量设置为文本、字符串、Unicode 文本,但始终是相同的问题
set data1 to "Hello"
set data2 to "Yes"
set data3 to "No"
set finalResult to "text: " & data1 & "
Text2: " & data2 & "
Text3: " & data3 as string
set clipboard to finalResult
最佳答案
你是对的,AppleScript 并不总是很聪明:
set the clipboard to finalResult
关于AppleScript : can’t set clipboard to,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30665093/