langthang084 Posted August 23, 2014 Share Posted August 23, 2014 I use Clipput("") but It dont work. So, how to make Office Clipboard empty? Link to comment Share on other sites More sharing options...
abberration Posted August 23, 2014 Share Posted August 23, 2014 Never tried it, but the help file includes _ClipBoard_Empty. Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
langthang084 Posted August 23, 2014 Author Share Posted August 23, 2014 #include <Clipboard.au3> Opt("WinTitleMatchMode", 2) WinWaitActive("Word") send("^a") sleep(300) send("^c") $win = WinGetHandle("Word") _ClipBoard_Open($win) sleep(300) _ClipBoard_Empty() here's my code, but it dont work Link to comment Share on other sites More sharing options...
abberration Posted August 23, 2014 Share Posted August 23, 2014 I have been trying to get your script to work, but I have had no luck. Apparently, Word's clipboard is separate from the operating system. I thought if there were some kind of shortcut key to perform this function in Word, then that could be a solution. I found a pdf that shows all shortcut keys in Word, but there is none to clear the clipboard. Sorry, but I don't see any way to accomplish your task. langthang084 1 Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
l3ill Posted August 23, 2014 Share Posted August 23, 2014 (edited) If you are referring to the Clip Organizer that comes with MS Office, it uses its own little database to collect and keep "clips". Find where it storing these and build a little script to delete the database. Edited August 23, 2014 by l3ill My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now