David Daily 2020-02-07 03:28:09 -06:00
parent e9b193b03a
commit 1d4bfb96db
1 changed files with 5 additions and 1 deletions

@ -1,6 +1,7 @@
# Global Variables
I created something so that I can always have multiple strings at my fingertips. Its like a clipboard manager but different.
**First time setup:** Create [`glovar.ini`](https://daviddaily.dev/david/d3k/src/branch/master/glovarsource) and [`emails.csv`](https://daviddaily.dev/david/d3k/src/branch/master/emails.example.csv) in `My Documents`
## 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.
@ -47,4 +48,7 @@ If the Key is `xid`, we do some more work. I have a CSV I keep of people I talk
If the section name is changed to `clear`, the contens of the documentation file (where I keep notes on the call / what goes in the case management system) and the contents of the `ini` are appended to a log file that I've had since I came up with the idea in August 2017. Its only 63747 lines long as of writing, but then again its just a `.txt` file. We also copy [the template](https://daviddaily.dev/david/d3k/src/branch/master/glovarsource) to the ini with the overwrite option enabled.
That's it.
That's it.
## Useage
Replace `[Info]` with `[clear]` and it will clear out the whole ini, resetting it to [`glovarsource`](https://daviddaily.dev/david/d3k/src/branch/master/glovarsource) in the D3K folder