A way to warn about duplicate or partially duplicate hotstrings
Posted: 25 May 2021, 00:24
Since 2007 I've been populating my hotstring database with over 28000 entries now. Of course I don't remember all of them and don't need to; the ones most needed for the time being are recalled either naturally or via lookup.
But AutoHotKey doesn't come with a built-in way to detect or prevent duplicates as it does with hotkeys. Say I have this:
As you can see, the 2nd hotstring will never trigger because the 1st will trigger first, necessarily.
AutoHotKey could have a warning message to be shown upon execution of a script containing conflicting hotstrings, along with a prompt to fix one of them. It could speed up the process of creating and "normalizing" our hotstrings.
On the same subject, I don't know whether this is already possible via script, but there could be a way to:
But AutoHotKey doesn't come with a built-in way to detect or prevent duplicates as it does with hotkeys. Say I have this:
Code: Select all
:*:tjs::Tribunais de Justiça
:*:tjspc::trânsito em julgado da sentença penal condenatória
As you can see, the 2nd hotstring will never trigger because the 1st will trigger first, necessarily.
AutoHotKey could have a warning message to be shown upon execution of a script containing conflicting hotstrings, along with a prompt to fix one of them. It could speed up the process of creating and "normalizing" our hotstrings.
On the same subject, I don't know whether this is already possible via script, but there could be a way to:
- Display a tooltip reminder whenever the user types the expanded string when there is already a hotstring defined;
- Detect whether the user is typing the same whole, long word repeatedly and offer to create a hotstring for that.