- Aug
- 2,266
- 108
I use the Clipboard History utility from Outertech. I have it configured to save ten different lines of text for use in the clipboard.
While this allows me to utilize these lines of text via Windows GUI programs, I could not utilize them from TCC.
I did some snooping, and found that the program stores the lines of text in the registry.
I have now created a TCC alias so that I can get the text of one of the ten lines from the registry;
and a function;
An alias to see which line that I want;
If I want to store text in one of the registry entries, the following alias does so;
Note that the program also accommodates "stickies", in which you can place text that you use quite often (urls, names, emails, whatever). You could, for example, create stickieget and stickieset aliases by replacing History with Sticky in the aliases/function definition.
These aliases and function can probably be improved, so if you make an improvement, please share!
Joe
While this allows me to utilize these lines of text via Windows GUI programs, I could not utilize them from TCC.
I did some snooping, and found that the program stores the lines of text in the registry.
I have now created a TCC alias so that I can get the text of one of the ten lines from the registry;
Code:
alias clipget=`echo %@regquery[HKEY_CURRENT_USER\Software\Outertech\Clipboardhistory\History%1]`
and a function;
Code:
function clipget=`%@regquery[HKEY_CURRENT_USER\Software\Outertech\Clipboardhistory\History%1]`
An alias to see which line that I want;
Code:
Alias cliphist=`do kount=1 to 10 (echos %kount - %+ clipget %kount)`
If I want to store text in one of the registry entries, the following alias does so;
Code:
Alias clipset=`echo %@regset[HKEY_CURRENT_USER\Software\Outertech\Clipboardhistory\History%1,REG_SZ,%2]`
Note that the program also accommodates "stickies", in which you can place text that you use quite often (urls, names, emails, whatever). You could, for example, create stickieget and stickieset aliases by replacing History with Sticky in the aliases/function definition.
These aliases and function can probably be improved, so if you make an improvement, please share!
Joe
Last edited by a moderator: