DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: HOT-key utility (preferably free of course) compatible with Windows 10  (Read 7,323 times)

questorfla

  • Fighting Slime all the Time
  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 570
I have one somewhere that i used on XP and win7 and maybe Win8 but I cannot remember the name of it
Best Hot-Key manger I ever used though I am sure there are better.  This one was written by someone in France i think.
Windows 10 has so many "presets" i am not sure if it would work here even if I find it.  A user in the office just want to be able to hit (example) ctrl + P and get the word "Products" or something similar to be typed for her on whatever she is doing..  And it has to be drop-dead-simple to use :)
and "No, she isn't blonde".  :)

> I don't think hair-color has anything to do with

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: HOT-key utility (preferably free of course) compatible with Windows 10
« Reply #1 on: September 17, 2015, 11:06 PM »
"Hot-Key manger" and "hit (example) ctrl + P and get the word "Products"" - are they not two different things :-\
Maybe not -
but would help if you gave some more details about what you want it to do :up:
Tom

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: HOT-key utility (preferably free of course) compatible with Windows 10
« Reply #2 on: September 18, 2015, 12:07 AM »
@questorfla You were using Clavier+ at one point.

http://utilfr42.free.fr/util/Clavier.php

clavier ... it's French for yogurt .... errr ... keyboard
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903
« Last Edit: September 18, 2015, 12:40 AM by 4wd »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: HOT-key utility (preferably free of course) compatible with Windows 10
« Reply #3 on: September 18, 2015, 07:31 AM »
@questorfla You were using Clavier+ at one point.

http://utilfr42.free.fr/util/Clavier.php

clavier ... it's French for yogurt .... errr ... keyboard

and it does do both (open apps and e.g. insert text)  :up:
Tom

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: HOT-key utility (preferably free of course) compatible with Windows 10
« Reply #4 on: September 19, 2015, 08:25 PM »
This looked like it might be useful - I think I shall trial it for my use, anyway - I stumbled upon it whilst searching the AutoHotkey Help file (which is a mine of information):
Quote
Hotstring Helper

Andreas Borutta suggested the following script, which might be useful if you are a heavy user of hotstrings. By pressing Win+H (or another hotkey of your choice), the currently selected text can be turned into a hotstring. For example, if you have "by the way" selected in a word processor, pressing Win+H will prompt you for its abbreviation (e.g. btw) and then add the new hotstring to the script. It will then reload the script to activate the hotstring.

Code: ( autohotkey)
#h::  ; Win+H hotkey
; Get the text currently selected. The clipboard is used instead of
; "ControlGet Selected" because it works in a greater variety of editors
; (namely word processors).  Save the current clipboard contents to be
; restored later. Although this handles only plain text, it seems better
; than nothing:
AutoTrim Off  ; Retain any leading and trailing whitespace on the clipboard.
ClipboardOld = %ClipboardAll%
Clipboard =  ; Must start off blank for detection to work.
Send ^c
ClipWait 1
if ErrorLevel  ; ClipWait timed out.
    return
; Replace CRLF and/or LF with `n for use in a "send-raw" hotstring:
; The same is done for any other characters that might otherwise
; be a problem in raw mode:
StringReplace, Hotstring, Clipboard, ``, ````, All  ; Do this replacement first to avoid interfering with the others below.
StringReplace, Hotstring, Hotstring, `r`n, ``r, All  ; Using `r works better than `n in MS Word, etc.
StringReplace, Hotstring, Hotstring, `n, ``r, All
StringReplace, Hotstring, Hotstring, %A_Tab%, ``t, All
StringReplace, Hotstring, Hotstring, `;, ```;, All
Clipboard = %ClipboardOld%  ; Restore previous contents of clipboard.
; This will move the InputBox's caret to a more friendly position:
SetTimer, MoveCaret, 10
; Show the InputBox, providing the default hotstring:
InputBox, Hotstring, New Hotstring, Type your abreviation at the indicated insertion point. You can also edit the replacement text if you wish.`n`nExample entry: :R:btw`::by the way,,,,,,,, :R:`::%Hotstring%
if ErrorLevel  ; The user pressed Cancel.
    return
IfInString, Hotstring, :R`:::
{
    MsgBox You didn't provide an abbreviation. The hotstring has not been added.
    return
}
; Otherwise, add the hotstring and reload the script:
FileAppend, `n%Hotstring%, %A_ScriptFullPath%  ; Put a `n at the beginning in case file lacks a blank line at its end.
Reload
Sleep 200 ; If successful, the reload will close this instance during the Sleep, so the line below will never be reached.
MsgBox, 4,, The hotstring just added appears to be improperly formatted.  Would you like to open the script for editing? Note that the bad hotstring is at the bottom of the script.
IfMsgBox, Yes, Edit
return

MoveCaret:
IfWinNotActive, New Hotstring
    return
; Otherwise, move the InputBox's insertion point to where the user will type the abbreviation.
Send {Home}{Right 3}
SetTimer, MoveCaret, Off
return

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Re: HOT-key utility (preferably free of course) compatible with Windows 10
« Reply #5 on: September 20, 2015, 04:52 AM »
This looked like it might be useful - I think I shall trial it for my use, anyway - I stumbled upon it whilst searching the AutoHotkey Help file (which is a mine of information):

Thanks for passing on that info, it does look interesting!


Chris

Original address: https://www.donationcoder.com/forum/index.php?topic=41620.0