Clipboard Viewer
Overview
The ClipboardViewer registers itself in the Windows Clipboard Chain and displays the current contents. Text (including Unicode and RichText), Pictures and "FileDrop" (displayed as a String of Paths) are supported.
It optionally reregisters itself regularly (somehow sometimes it doesn't get updates anymore...). Also optional is a bring to front / send to back mechanism, so the window stays hidden behind other windows and only presents itself if the clipboard contents changed. You can also make it not show anything by double clicking the status bar; could come in handy when copying passwords while being watched. Note that this isn't really a security feature.
Programmed in C# using Microsoft Visual Studio. Requires .NET Framework 4.
Current Version: 1.4.0.0 (random rapid number increase ftw)
Download: Executable / Source
Screenshots
(Screenshots from before 1.3.3.0)
If there are multiple recognized formats present at the same time, they are all displayed (right picture: UnicodeText in the top half and FileDrop in the lower half).
Documentation(ish)
Used registry location: HKEY_CURRENT_USER\Software\ClipboardViewer
Stored Values:
- BringToFront: 0 (off) / 1 (on)
- ForceGarbageCollection: 0 (off) / 1 (on)
- Reregister: 0 (off) / 1 (on)
- ShowExceptions: 0 (off) / 1 (status bar indicator - click to show) / 2 (show)
- X, Y, dX, dY: Window location and size
UI:
- Double click icon in taskbar notification area to show/hide window
- Double click status bar to toggle display of clipboard contents
- Some types show measurements:
- Pictures/Bitmap: Size of picture in pixels
- FileDrop: Number of elements
- Text: If one line is copied, number of characters. If multiple lines are copied, number of characters (C), number of lines (L), number of non-empty lines (N)
Future Development
One major enhancement that is planned (but may take a while as it requires some rewriting) is the usage of a BackgroundWorker or other multithreading as it might solve unresponsiveness with huge amounts of data in the clipboard and probably improves compatibility with programs that use the clipboard in a strange way.
Changelog
1.4.0.0 (2019-06-18): Add icon; change window class to toolbox so it shows on all virtual desktops (Windows 10); show icon in the taskbar notification area, double click to hide/show ClipboardViewer window
1.3.5.3 (2019-01-16): Remove wait before retry (.1); try to prevent window from stealing focus on first bring to front (.2); set text displays to system default (.3); different clear methods for unused text displays (.2)
1.3.5.0 (2019-01-09): Additional settings regarding how exceptions are shown; show line numbers for text; perform first clipboard read after loading settings; small wait before clipboard read retry
1.3.4.0 (2014-07-07): Now displays size/length information for pictures/text similar to the number of items in FileDrop
1.3.3.1 (2014-07-06): Allow window position to be negative (i.e. on a monitor left of/above the main screen)
1.3.3.0 (2014-01-03): show number of items in FileDrop; "-d" command line parameter for debug output; Secret Registry option to force garbage collection
1.3.2.1 (2013-10-26): "(Hidden)" status indicator now has correct background
1.3.2.0 (2013-09-20): Added Option to not display clipboard contents in ClipboardViewer by double clicking status bar at the bottom; also remove those old contents that aren't overwritten on clipboard change (somewhat improved memory footprint)
1.3.1.2 (2013-04-21): Prevent Window from being positioned outside of visible Screen Space
1.3.1.0 (2012-12-23): Save Window Position & Size in Registry
1.3.0.0 (2012-12-13): Options are now saved in the Windows Registry; Added an url to the about dialog;
1.2.1.3 (2012ish): ???;
Licence
You may use this program and its source code free of charge without crediting me in any non-commercial and non-military environment or project.
If you want to use it commercially, contact me: leo ät oneko dot de