diff --git a/GloVar.md b/GloVar.md index cff9eca..408ddce 100644 --- a/GloVar.md +++ b/GloVar.md @@ -42,9 +42,9 @@ If the last stored modified time the script made is different than its last modi Every time we process the `ini`, we completely destroy the automagically created file because that is the easiest way to make sure there isn't any extra stuff in there. -Next, we loop though each line, with regex putting the section name in `RESection` and if it is a Key/Value pair it puts the Key in `REKey` and the Value in `REValue` (wow, what a surprise). If it is under the "Serial Numbers" section it gets made uppercase and the uppercase value is written to the ini. If it is under the "Operations Center" section and the key is `usr` (use it for username, usually only have one), it does the same thing. If the Key is `case`, it strips the `( )` off the front and the back. +Next, we loop though each line, with regex putting the section name in `RESection` and if it is a Key/Value pair it puts the Key in `REKey` and the Value in `REValue` (wow, what a surprise). If it is under the "Serial Numbers" section it gets made uppercase and the uppercase value is written to the ini. ~~If it is under the "Operations Center" section and the key is `usr` (use it for username, usually only have one), it does the same thing. If the Key is `case`, it strips the `( )` off the front and the back.~~ -If the Key is `xid`, we do some more work. I have a CSV I keep of people I talk to ([example here](https://daviddaily.dev/david/d3k/src/branch/master/emails.example.csv)) that is up to 387 lines. It is also easily added to with [addemail.ahk](https://daviddaily.dev/david/d3k/src/branch/master/addemail.ahk). If the unique identifier of the caller (xID) is found in the CSV, it fills in the details in the `ini` and in the hostrings. If it is not found, we run [addemail.ahk](https://daviddaily.dev/david/d3k/src/branch/master/addemail.ahk) to add their info to the table. +~~If the Key is `xid`, we do some more work. I have a CSV I keep of people I talk to ([example here](https://daviddaily.dev/david/d3k/src/branch/master/emails.example.csv)) that is up to 387 lines. It is also easily added to with [addemail.ahk](https://daviddaily.dev/david/d3k/src/branch/master/addemail.ahk). If the unique identifier of the caller (xID) is found in the CSV, it fills in the details in the `ini` and in the hostrings. If it is not found, we run [addemail.ahk](https://daviddaily.dev/david/d3k/src/branch/master/addemail.ahk) to add their info to the table.~~ 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.