You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StringLower, OutputVarPrograms, OutputVarPrograms ; needed due to "StringCaseSense, On" set at startup
311
+
OutputVarPrograms:=Trim(RegExReplace(OutputVarPrograms,"ms)\s*,\s*",","),",") ; trim spaces between program names e.g. program.exe , anotherprogram.exe
CL3 started as a lightweight clone of the CLCL clipboard caching utility
4
4
which can be found at <http://www.nakka.com/soft/clcl/index_eng.html>.
5
-
But some unique [features](#features) have been added making it more versatile "text only" Clipboard manager.
5
+
But some unique [features](#features) have been added making it a more versatile "text only" Clipboard manager.
6
6
7
-
Intended for AutoHotkey Unicode (64-bit version of AutoHotkey is automatically Unicode).
7
+
Intended for AutoHotkey Unicode (the 64-bit version of AutoHotkey is automatically Unicode).
8
8
9
-
💡 Relies standard copy/paste shortcuts for the applications you are using, so <kbd>Ctrl</kbd>+<kbd>c</kbd> and <kbd>Ctrl</kbd>+<kbd>v</kbd>, and right click "copy" via mouse actions.
10
-
Programs that rely on other shortcuts to store/restore clipboard contents may not work (e.g. vim).
9
+
💡 Relies on standard copy/paste shortcuts for the applications you are using, so <kbd>Ctrl</kbd>+<kbd>c</kbd> and <kbd>Ctrl</kbd>+<kbd>v</kbd>, and right click "copy" via mouse actions.
10
+
Programs that rely on other shortcuts to store and restore clipboard contents may not work (e.g. vim).
11
11
12
12
💬 Forum thread [https://autohotkey.com/boards/viewtopic.php?f=6&t=814](https://autohotkey.com/boards/viewtopic.php?f=6&t=814)
13
13
@@ -62,11 +62,11 @@ _CL3 gets its name from CLCL CLone = CL3_
62
62
- Limited history (18 items+26 items in secondary menu, does remember more entries in XML history file)
63
63
- Search history (v1.2+)
64
64
- 10 Slots with options to save/load several sets (v1.2+)
65
-
- Cycle through clipboard - forwards and backwards - with tooltip preview (v1.3+). Cycle through plugins (v1.8+)
65
+
- Cycle through the clipboard history - forwards and backwards - with tooltip preview (v1.3+). Cycle through plugins (v1.8+)
66
66
- ClipChain with preview GUI, paste items in predefined order, save/load several sets (v1.5+) [Wiki](https://github.com/hi5/CL3/wiki/ClipChain)
67
67
- Supports FIFO (first in first out) pasting (v1.7) [#3](https://github.com/hi5/CL3/issues/3)
68
68
- Remove (yank) entries from history
69
-
- No duplicate entries in clipboard (automatically removed)
69
+
- No duplicate entries in the clipboard history (automatically removed)
70
70
- Templates: simply text files which are read at start up
71
71
- Plugins: AutoHotkey functions (scripts) defined in separate files
72
72
@@ -156,7 +156,7 @@ The text file will be placed in the CL3 script folder.
156
156
157
157
You can use the AutoReplace plugin to modify the text in the clipboard using a find/replace rule before adding
158
158
it to the history. You can use StringReplace or a Regular Expression. Settings are stored in _AutoReplace.xml_
159
-
**Note: very experimental plugin. The plugin interface (GUI) needs to refined, entire process should be improved.
159
+
**Note: very experimental plugin. The plugin interface (GUI) needs to be refined, entire process should be improved.
160
160
A Listview would be more logical and flexible. But for now it does the job, albeit crudely.**
161
161
162
162
Feedback available via "Tray Tip" - see settings.
@@ -206,7 +206,7 @@ d. 1
206
206
207
207
If you start FIFO at 'D' pressing <kbd>Ctrl</kbd>+<kbd>v</kbd> four times will paste 1, 2, 3, 4.
208
208
After pasting the last (here fourth) item, FIFO stops.
209
-
TrayTips will appear at the start and stop of a FIFO cycle.
209
+
TrayTips will appear at the start and end of a FIFO cycle.
210
210
211
211
### Sort [v1.94+]
212
212
@@ -217,7 +217,7 @@ See [Sort](https://www.autohotkey.com/docs/commands/Sort.htm) documentation for
217
217
218
218
If you select the yank option in the menu you will be presented with a
219
219
simple **a** to **r** menu to indicate which of the most recent items you wish to
220
-
delete.
220
+
delete. To delete the entire history select "Clear History" (v1.111+)
221
221
222
222
## Cycle through clipboard history [v1.3+]
223
223
@@ -258,8 +258,8 @@ Some ideas for further development you may wish to consider:
258
258
-~~Extending the number of menu entries in the secondary menu ("more history")~~_v1.100+_
259
259
- Include rich text formats
260
260
- Include images - rough guide to add it (very alpha) here https://www.autohotkey.com/boards/viewtopic.php?p=314319#p314319
261
-
- Introduce various paste methods, also for specific programs
262
-
for example send each character individually
261
+
-~~Introduce various paste methods, also for specific programs?
262
+
for example send each character individually~~_v1.112+_
263
263
- More (default) plugins:
264
264
- Improved title case (various scripts are available which could replace the current basic one)
265
265
- Strip HTML
@@ -343,7 +343,7 @@ Apart from plugins, `plugins\MyPlugins.ahk` is also a useful method to add addit
343
343
344
344
1. Copy or Cut and Append to clipboard
345
345
346
-
Some text editors already offer this functionality, but you make it available everywhere using CL3.
346
+
Some text editors already offer this functionality, but you can make it available everywhere using CL3.
347
347
Add the following code for copy and/or cut to `plugins\MyPlugins.ahk`
348
348
349
349
```autohotkey
@@ -415,11 +415,35 @@ Return
415
415
Add an optional include file that "does something" before it actually pastes.
416
416
The file is not present in the repository and a new file has to be created in `cl3\plugins\` with the name `PastePrivateRules.ahk`
417
417
418
+
Examples:
419
+
418
420
* Pasting file(s) from CL3 history https://www.autohotkey.com/boards/viewtopic.php?p=314316#p314316 using `ClipboardSetFiles()` and `If WinActive()`
419
421
* Append to File name in "Open/Save as" dialogs - https://github.com/hi5/CL3/issues/14
422
+
* Paste in putty.exe (as of v1.112 can be care of using PasteShortCuts.ini) - https://github.com/hi5/CL3/issues/27
420
423
421
424
Note: your `PastePrivateRules.ahk` will never be part of this GitHub repository so anything you add won't be overwritten if you update CL3 in the future.
422
425
426
+
# PasteShortCuts.ini
427
+
428
+
Note: a default setup can be found in `res\PasteShortCuts.ini` (online [here](https://github.com/hi5/CL3/blob/master/res/PasteShortCuts.ini)) - copy the file to the CL3 folder and restart CL3.
429
+
430
+
To setup CL3 for programs where you don't want to use the standard Windows shortcut (Ctrl+v) to paste
431
+
create or edit `PasteShortCuts.ini` in the CL3 program folder. Details below and in the ini file as well.
432
+
433
+
```ini
434
+
[SectionName] - Create a section (any name)
435
+
Programs= CSV list of program executables
436
+
Key= Use AHK notation (^=ctrl +=shift !=alt), if KEY is empty or "[SEND]" (no quotes)
437
+
CL3 will use SendRaw to send the clipboard to the application - results may vary
438
+
```
439
+
Terminal programs often prefer <kbd>Shift</kbd>+<kbd>Insert</kbd> (`+{Ins}`) as Paste shortcut
440
+
441
+
Using `PastePrivateRules.ahk` is another option, see examples listed above.
442
+
443
+
# Experimental
444
+
445
+
*[HistoryRules](https://github.com/hi5/CL3/blob/master/docs/HistoryRules.md) to allow CL3 to filter clipboard content before adding it to history, allowing or skipping text.
446
+
423
447
# Changelog
424
448
425
449
The changelog is available here: [changelog.md](changelog.md)
0 commit comments