David 3000, a script to help me at work
ahk
Go to file
2020-01-08 09:39:22 -06:00
icons initial commit 2019-12-17 10:57:51 -06:00
old_versions Upload files to 'old_versions' 2019-12-18 05:11:08 -06:00
standalones Upload files to 'standalones' 2019-12-18 05:11:45 -06:00
addemail.ahk initial commit 2019-12-17 10:57:15 -06:00
Case_Formatter.ahk initial commit 2019-12-17 10:57:15 -06:00
D3K.ahk Trying to fix bad behaviour 2020-01-08 09:07:42 -06:00
emails.example.csv Add 'emails.example.csv' 2020-01-08 09:13:06 -06:00
func.ahk initial commit 2019-12-17 10:57:15 -06:00
glovarsource initial commit 2019-12-17 10:57:15 -06:00
README.md Update 'README.md' 2020-01-08 09:39:22 -06:00
Settings.ahk Update 'Settings.ahk' 2019-12-18 04:40:19 -06:00

Welcome To David3000

This was made By David Daily to replace text and do text correction for John Deere GSC Employees. All Credit for the name goes to William Cross (RIP).

Why not JSON?

Since I'm actively modifying this during a call, I don't want there to be a possibility for me to mess up the syntax. ini has the easiest syntax and can be easily read at a glance.

Alt+Shift+\ to open a settings window to easily change your settings

Email d3k@daviddaily.dev if you have any questions.

If for some reason this is still being passed around after I'm gone and doesn't die with me, good luck, maybe try opening an issue request here.

Official Documentation for AHK: https://autohotkey.com/docs/

If the script stops working for some reason, just open the settings (Alt+Shift+\) and close it, that will make everything load new. Anything other than that, let me know. If I'm not available good luck, but ahk is pretty easy.

IMPORTANT

The replacement happens EVERYWHERE, so if you know it is going to replace something you don't want it to, I recommend typing an extra letter in the middle of it somewhere and then going back and deleting the extra character

Press Alt+Shift+\ to open a settings window and change things to the right setting.

Currently requires your documentation file to be My Documents\Work_Docs\Temp.txt, will probably fix this in the future to create that file automagically if it isn't detected.

I'm using VSCode for my text editor since it updates when the file on disk is modified. This allows me to just write to the file with AHK, then see the result instantly. Try it out with your favourite editor, YMMV. Notepad and WordPad are out.


Shortcuts

Determined by the values in Settings.ini: | ]me or [me | RACF | | @me | your email |

Alt+Shift+S will open the Solution / Manual opener. Input numbers / letters and press enter. If you input just numbers, it will try to open it as a DTAC solution. If you enter letters and numbers, it will try to open it as an operator manual.

Alt+Shift+\ to open a settings window to easily change your settings

\case will type out the current timestamp, and fields for Name, Username, Email, and two extra lines to space it off from the documentation. I use this for customer calls. (|case if you have German enabled for a german version)

]{shortcut} is the syntax, [{shortcut} for German

German completions only work if enabled in the settings, open settings with Alt+Shift+\

Email specific:

Shortcut What it expands to
email Email templateish thing
97010 Email about DTAC problem
2yc 2 Year old COMAR
cms Similar to email, except it includes a signature

Regular:

Shortcut What it expands to
rec This will type the default case update disclaimer
esc1 Escalation message stage 1
esc2 Escalation message stage 2
req1 Requesting info stage 1
req2 Requesting info stage 2
req3 Requesting info stage 3
ncca NCCA/Defect

Product Names

Shortcut What it expands to
jdld JDLink Dashboard
jdlw JDLink Web
jdll JDLink
jdlc JDLink Connect
jdla JDLink Access
jdls JDLink Subscription
jdp JDParts
opsc Operations Center
sub Subscription
ss Stellar Support
rs RowSense
at AutoTrac
sf StarFire
mjd MyJohnDeere
ss Stellar Support
tman Technical Manual

The following words will correct to the appropriate case no matter how you type it as long as the spelling is the same. mRTK AutoTrac StarFire JDLink RDA RTK DTAC TCSM iTEC Pro when itec is typed SSU ATU MTG WDT iTC VIN COMAR xID Months and Days of the week

The following convert after an end character is typed: | (eq) | ≈ | | (deg) | ° |


Changelog

2.4

  • Added GloVars, Global Variables controlled by an ini
  • Added help stuff to the settings thingy

2.3

  • Added Break, a somewhat seperate script that I'm making into an exe for other people to use. I'll keep it in here as an ahk since you already have it installed for everything else, so you can edit it if you want.
  • If right-clicked it opens a panel of buttons to control TouchPoint, a program developed by the devil himself
  • Added Settings.ahk, Alt+Shift+\ to open a settings window to easily change the ini
  • Updated Case Formatter to not look for the Dealer info any more, just going to do it in CCMS since everything uses it now

2.2

  • Added comments to everything so that it is even more readable
  • Added Case Formatter, a new tool to avoid using the Case Template as much as possible since it is useless to me.

2.1

  • Added Settings.ini (Just don't read the old Changelogs, okay? Its different this time...)
  • Removed Autocorrect
  • Added a Manual and a Solution opener, then combined them into one, called ManSol
  • Made a progress bar to remind me to take my break, it works some times.
  • Joe is going to try helping me make this into its own case template, but with blackjack and hookers
  • Added if statements to basically everything that's actually controlled by Settings.ini, in preparation for a GUI
  • I need a new name for this. Too vain.

2.0

  • Revamped it, it now does something completly different.
  • No longer opens programs, now it does text correction and the like

1.2

  • Removed neccessity for programs.txt, now just searching start menu instead of using a file path. Might be less pretty, but it is easier to code and less margins for error
  • For simplification, removed links opening in browsers (not neccessity)

1.1

  • Update for CaseTemplate V2 - Removed checking a dealer xID to establish connection

1.0

  • Been running this version for a week now with no issues, should work...
  • Added hotstrings (Text Replacement) to encourage better documentation and links for further customization

0.3

  • Changed some things in david3k.ahk to fix it. should work now.

0.2

  • Removed dependancy for Settings.txt
  • Changed file structure for easier updates
  • Added some things for case template and zeacom
  • Made it check to see if the correct window is active just in case
  • Made it do the dealer verification thing, clear the template and go to the xID box
  • Added text replacement: press the backtick key in the case template to type the disclaimer (no space at the beginning, you can change that) [ONLY WORKS IN THE CASE TEMPLATE]
  • Minor fixes