From 9018c2bffc6ed241bcf9b73ec4a5db1c794a555c Mon Sep 17 00:00:00 2001 From: David Daily Date: Tue, 14 Jan 2020 09:50:05 -0600 Subject: [PATCH] --- GloVar.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/GloVar.md b/GloVar.md index 147f771..54fb1ac 100644 --- a/GloVar.md +++ b/GloVar.md @@ -5,6 +5,22 @@ I created something so that I can always have multiple strings at my fingertips. ## Top-level overview What it does is take an `ini` (based off [this](https://daviddaily.dev/david/d3k/src/branch/master/glovarsource)) and turn it into hotstrings that start with `$` automagically. The Key (left side of the `=`) is the hotstring, the Value (right side of the `=`) is what it gets replaced with. +### Example: + +if your `ini` looks like this: +```ini +[Serial Numbers] +1=3329RW103JE +old=RWGISFJ400293 +``` +glovar.ahk would look like this: +```ahk +#SingleInstance force + +:*:$1::3329RW103JE +:*:$old::RWGISFJ400293 + +``` ### Why? This way I'm not copying and pasting twenty different things, mixing up similar serial numbers or other information. It also doubles as a replacement to a WPF-based application the in-house IT created that generates ugly output and is a pain to use.