clipboard
How do I clear my clipboard? There is something on it from a previous copy and paste, and I can't get rid of it. So everytine I try to cut and paste, the old cut gets pasted. Help!
iMac (2017 – 2020)
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
How do I clear my clipboard? There is something on it from a previous copy and paste, and I can't get rid of it. So everytine I try to cut and paste, the old cut gets pasted. Help!
iMac (2017 – 2020)
Launch the Terminal and at the prompt, enter the following to clear the main clipboard:
pbcopy <<<""
or AppleScript copy/pasted into Script Editor, click compile and run:
use framework "Foundation"
use AppleScript version "2.4" -- Yosemite 10.10 or later
use scripting additions
property ca : current application
set pb to ca's NSPasteboard's generalPasteboard()
pb's clearContents()
return
You can even save this as a double-clickable script or application to your Desktop when you want to quickly clear the clipboard.
Launch the Terminal and at the prompt, enter the following to clear the main clipboard:
pbcopy <<<""
or AppleScript copy/pasted into Script Editor, click compile and run:
use framework "Foundation"
use AppleScript version "2.4" -- Yosemite 10.10 or later
use scripting additions
property ca : current application
set pb to ca's NSPasteboard's generalPasteboard()
pb's clearContents()
return
You can even save this as a double-clickable script or application to your Desktop when you want to quickly clear the clipboard.
This seems to be a problem in the interaction of Acrobat and Word. The clipboard internal to Word works correctly. Copying from Acrobat to Word was inducing the error. I have overcome the problem, but I don't know what I did that made it go away.
Thanks. The first routine (using Terminal) cleared the clipboard and has allowed me to use it again.
You are welcome.
I have the same problem and your instructions do not work.
"Launch the terminal" !?!?
I've used my macs in every version since the Lisa and have never launched the terminal.
clipboard