I've been using Ditto for a long time. I briefly switched to another clipboard viewer, but ultimately returned to Ditto because it simply offers the best overall package for me.
But even good things can be improved, or rather, adapted to your workflow.
There were a few things about Ditto that bothered me, which I've now adjusted and expanded - at least for my own needs.
These functions have been added/improved:
1.) Extended the ChaiScript interface with the following features:
- Images can be copied directly from Ditto to an image editing program using CTRL-E, provided they were copied to the clipboard as real (bitmap) images. However, if you only saved the image file path - or a copy of a file - in Ditto, this doesn't work. I've added a function that returns the file path so that image files that only contain a reference to the file path can be directly passed to an image editing program (perhaps this is very specific, but since I often have to exchange graphic files with graphic designers, I frequently work with file paths).
- Similarly, I can now directly forward email addresses to the default mail client on my system. Of course, pasting and copying, as well as opening the email client, will serve their purpose, but a shortcut is always faster.
- And finally, I can, for example, associate URLs with a tool of my choice via a shell command by integration of an external caller. This allows me to pass clip content - like the file path based images above, but also URLs - to an external application of my choice via ChaiScripts.
- Duplicate check: While Ditto allows you to disable the 'Allow Duplicates' option in the advanced settings, this setting had no effect when clips were moved directly to a specific folder upon import via the ChaiScript interface. This does not work because the ChaiScript On Copy Scripts interface is called in the OnCopy event before the duplicate check takes place. Therefore, over time I accumulated a lot of duplicates, as I frequently copy URLs that have been moved to special URL folders via ChaiScript. That was very annoying.
I've extended the ChaiScript interface with a corresponding command so that I can now prevent clip duplication using an if statement in the On Copy (Chai)Script if the clip already exists in the database:
if(clip.IsDuplicate() == 1) { return true; }
2.) Image Viewer (Image Preview):
While Ditto's integrated image preview offers the option to adjust the images to the preview window size, this didn't always work depending on the image dimensions. I've improved this somewhat and also implemented zooming, unzooming, and resetting via keyboard commands ('+': Zoom In, '-': Zoom Out, '*': Fit Image to Window, CTRL + '*': Size Window To Content, SHIFT + CTRL + '*': Full Window Size Mode). Therefore, I don't need to zoom with the mouse wheel, which is of course also possible without any problems, but I prefer to operate such productivity tools exclusively with the keyboard.
3.) ListView Icons:
- Email Addresses
- URL Addresses
- Image Clips
- File-Based Clips
- HTML-Formatted Clips
- RTF Clips
- Text Clips
4.) Optional URL Access via Double-Click:
Normally, double-clicking a clip pastes it into the target window. I've now implemented an option so that double-clicking while holding down SHIFT and CTRL allows me to directly open the URL in my default browser. It's certainly not a game-changer, but since many applications allow you to open URLs directly with a double-click, there's no reason not to handle it similarly in Ditto.










Keine Kommentare:
Kommentar veröffentlichen