CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins, API, ...

Post your working scripts, libraries and tools for AHK v1.1 and older
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins, API, ...

30 Nov 2013, 05:23

CL3 is a lightweight clone of the CLCL clipboard caching utility which can be found at http://www.nakka.com/soft/clcl/index_eng.html written in AutoHotkey, source at https://github.com/hi5/CL3

It is not meant to compete with the many clipboard caching utilities that are (freely) available, but merely as minimal program with some very basic features. You can call the clipboard history menu by its default hotkey Ctrl+Alt+v. (CL3 gets its name from CLCL CLone = CL3)

Features
  • Captures text only
  • Limited history (18 items+26 items in secondary menu, does remember more entries in XML history file though)
  • Remove (yank) entries from history
  • No duplicate entries in clipboard (automatically removed)
  • Templates: simply textfiles which are read at start up
  • Plugins: AutoHotkey functions (scripts) defined in separate files
  • Search history
  • 10 predefined slots using rctrl1..0 (save and load as many as you like)
  • Cycle through clipboard - forwards and backwards - with tooltip preview
  • ClipChain
  • Paste current clipboard as plain text
  • API to manipulate clipboard history, slots and clipchain


Screenshots
Image
Image
Image
Last edited by ahk7 on 19 Aug 2020, 14:10, edited 5 times in total.
pomJ
Posts: 6
Joined: 12 Nov 2013, 00:39

Re: CL3 minimal clipboard caching utility

03 Dec 2013, 03:05

When I try to run it I get an error message saying that menu does not exist. what gives?
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

Re: CL3 minimal clipboard caching utility

03 Dec 2013, 12:20

Thanks for reporting it. My bad. I forgot that *.bak files are ignored by default and the script relies on res\history.bak to be there at first startup, I added it as res\history.bak.txt and it should work now. I will add additional safety checks as well later on.
pomJ
Posts: 6
Joined: 12 Nov 2013, 00:39

Re: CL3 minimal clipboard caching utility

04 Dec 2013, 11:12

ahk7 wrote:Thanks for reporting it. My bad. I forgot that *.bak files are ignored by default and the script relies on res\history.bak to be there at first startup, I added it as res\history.bak.txt and it should work now. I will add additional safety checks as well later on.
Thanks for the quick fix. works flawlessly sofar
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

Re: CL3 minimal clipboard caching utility

25 Feb 2015, 12:35

Although I promised myself not to develop this further here are some new features:
- Slots: To facility quick pasting of 10 predefined texts using RCtrl+1 .. RCtrl+0. You can save and load as many slot-files as you like via the buttons available when the Slots gui is open.
- Search: Search the CL3 history
- Icons in menu: show the icon from the program where the text was copied from (menu is also a bit wider)

GH: https://github.com/hi5/CL3
Guest

Re: CL3 minimal clipboard caching utility

05 Mar 2015, 01:52

ahk7 wrote:Although I promised myself not to develop this further here are some new features:
- Slots: To facility quick pasting of 10 predefined texts using RCtrl+1 .. RCtrl+0. You can save and load as many slot-files as you like via the buttons available when the Slots gui is open.
- Search: Search the CL3 history
- Icons in menu: show the icon from the program where the text was copied from (menu is also a bit wider)

GH: https://github.com/hi5/CL3
Great. Nice update. This is a really nice script
User avatar
joedf
Posts: 8940
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: CL3 minimal clipboard caching utility

05 Mar 2015, 09:39

I like how it's minimalistic, CLCL-tastic! :D
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

Re: CL3 minimal clipboard caching utility

06 Mar 2015, 12:39

Thanks - glad you like it :-0
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

Re: CL3 minimal clipboard caching utility

07 Aug 2015, 17:03

As of v1.3:
  • Press Ctrl+Shift+v to paste the current clipboard item as plain (unformatted) text - this can be useful if you have selected rich / formatted text but don't want to paste that in your current application.
  • Cycle through clipboard - forwards and backwards - with tooltip preview. Lwin + V and Lwin + C to cycle through clipboard history - Lwin + x to cancel - see https://github.com/hi5/CL3#cycle-throug ... istory-v13 (note sure how reliable it is as I only briefly tested it today - seems to work OK - coding of that feature is probably sub-optimal
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

14 Nov 2015, 09:14

Since the last post some new plugins have been added, most notably the ClipChain in v1.5
https://github.com/hi5/CL3

The CL3 ClipChain plugin allows you to cycle through a predefined clipboard history.
With each paste it advances to the next item in the chain. The item to be pasted next is indicated in the listview with a >>.
When the last item is reached it moves back to the start.
This can be useful if you need to paste the same data into several documents or programs in a particular order.

Image
Wiki: https://github.com/hi5/CL3/wiki/ClipChain

Also new since 1.3 are Dump History and AutoReplace, more info at https://github.com/hi5/CL3
Guest

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

30 May 2016, 14:13

CL3 v1.7 @ https://github.com/hi5/CL3

Changes

v1.7
  • Added FIFO plugin (first in first out) - allow the user to paste entries back in the order in which the entries were added to the clipboard history.
v1.62
  • Added DoubleClick to paste and progress in ClipChain
pomJ_

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

31 May 2016, 01:57

This is so great. The best clip tool.

I have one question though. Is it possible to have more contrast on the selected item? Or is that a AHK limitation?
ahk7-nli

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

31 May 2016, 04:19

pomJ_ wrote:This is so great. The best clip tool.
Thanks - I like it too :D
pomJ_ wrote:I have one question though. Is it possible to have more contrast on the selected item? Or is that a AHK limitation?
For the menus that is not possible as far as I know as these are just standard Windows menus.

If you mean the "highlighted" row indicated with ">>" in the Clipchain listview as shown in the animation above that would be possible. The ">>" could be replaced by an Icon and/or the entire row could be given a color by using LV_Colors by just me (I haven't tried it yet)

If you mean something else let me know.
pomj_

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

01 Jun 2016, 01:18

ahk7-nli wrote:For the menus that is not possible as far as I know as these are just standard Windows menus.
Yes I meant the menus

Oh well then I'll just have to live with it
ahk7-nli

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

01 Jun 2016, 02:31

The only to change it would be to create a GUI that looks like a Menu, that way there would be some control over how it looks. It would also allow for tooltips on the menu items. Or perhaps create a HTML Gui as you can do some fancy stuff in html no doubt. (If I'm really very bored I might have stab at it just for fun).

Another thing I might try is to have an "always on top" GUI - which would look just like the clipchain - with the clipboard history so you see it all the time - double clicking on an item would paste it and the visible history would be updated each time you add/remove/paste.
pomj_

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

03 Jun 2016, 01:26

It could be a win7 problem. I have way less contrast than you have in your screenshots
ahk7-nli

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

03 Jun 2016, 01:39

I see. You could try to change your theme (right click desktop, personalize).
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

18 Feb 2017, 16:26

Cl3 v1.8 @ https://github.com/hi5/CL3
  • Search plugin: Added option to Edit entry and update history (shortcut: f4)
  • Cycle through plugins (show preview in tooltip): #+f - can be used in combination with #+v / #+c
    Image
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

17 Mar 2018, 05:07

v1.92 @ https://github.com/hi5/CL3
  • Make it so that we can push public updates without accidentally releasing QEDlg()
  • Merge History items via search menu (select multiple, press F5)
  • Fix for Cycle + Plugins hotkeys #+v / #+c / #+f
  • Folder structure for Templates\
  • Adding dpi() for GUIs (Search, ClipChain, Slots) - https://github.com/hi5/dpi
User avatar
joedf
Posts: 8940
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins...

18 Mar 2018, 10:03

Very nice!
I might even integrate it as plugin with Keypirinha if i had the time ahaha :+1:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 113 guests