Optimizing QCE for Your System
When saving Clipboard clips to the database and when pasting text, images or rich text contents to application, Quick Clipboard Editor introduces several execution delays in order to increase its reliability. Saving and pasting clips to applications involve interactions between QCE, AutoHotkey (the QCE runtime engine), Windows and various types of applications. From experience during development, several delays have proven to be essential to ensure the success of the various operations. These delays become more visible when you use the History Search/Quick Paste window to paste multiple clips at once.
These delays are likely longer than necessary. If your high-performance system is responding quickly to QCE commands, you can probably reduce delays durations. On the other hand, on slower systems, you might need to increase the delays.
In the file quickclipboardeditor.ini
(Options, Edit Quick Clipboard Editor.ini), you can edit the duration under the [Delays]
section illustrated below. All delays are expressed in milliseconds. The first value called DelayFactor=
is a global multiplier for all other delays. For example, the duration of the delay after showing the editor (BuildGuiEditor_AfterShow
) is 200 ms (100 ms x 2).
This global factor allows to reduce all delays duration at once. If you change to DelayFactor=1.5
, the delay after showing the editor will be of 150 ms. Experimenting first with the global delay multiplier can help to confirm that a delay issue exists. Then, you can fine tune the delay for the specific steps of QCE execution. Ask on the forum if you have questions about these delays.
If you want to reset thew default values, simply delete the [Delays]
section, save the file and restart QCE.
[Delays]
DelayFactor=2
BuildGuiEditor_AfterShow=100
EditorContentChanged_In=200
EditorContentChanged_Dark=100
EditorCopyToClipboard_Before=500
EditorCopyToClipboard_Update=500
HistorySearchPaste_Multiple=100
LoadHistory_Bitmap=100
LoadHistory_Bitmap2=200
OpenHistoryQuickPaste_AfterShow=100
CleanUpBeforeExit_CloseDb=500
PasteFromQCE_KeepOpenIn=300
PasteFromQCE_KeepOpenOut=300
PasteFromQCE_Active=300
PasteFromQCE_Inactive=10
ClipboardIsFree_Loop=100
GetClipboardBytes_LoopIn=200
GetClipboardFormats_LoopIn=200
GetClipboardFormats_LoopTries=100
GuiInspectClipboardLoadImage_BeforeSetBitmap=200
DeleteClip_AfterExec=200
DeleteClip_BeforeUpdate=200
Make sure you save the quickclipboardeditor.ini
file after editing and restart QCE for the changes to take effect.