parent
d5f66d609c
commit
9018c2bffc
16
GloVar.md
16
GloVar.md
@ -5,6 +5,22 @@ I created something so that I can always have multiple strings at my fingertips.
|
|||||||
## Top-level overview
|
## 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.
|
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?
|
### 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.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user