我使用applescript Finder的菜单来显示剪贴板。 我想知道其他东西或方式来显示剪贴板。谢谢您的回答。如何使用Applescript显示剪贴板
tell application "System Events" to tell process "Finder"
set frontmost to true
click menu item "show Clipboard" of menu "Edit" of menu bar 1
end tell
我使用applescript Finder的菜单来显示剪贴板。 我想知道其他东西或方式来显示剪贴板。谢谢您的回答。如何使用Applescript显示剪贴板
tell application "System Events" to tell process "Finder"
set frontmost to true
click menu item "show Clipboard" of menu "Edit" of menu bar 1
end tell
如果剪贴板文本,你可以在一个AppleScript对话框中显示其内容:
try
display dialog (get the clipboard)
on error
display dialog "The clipboard is not text."
end try
这将涉及展示的窗口。你是怎么想这样做的?换句话说:如何做到这一点? – matt