From b0ef76405ae964dd352b32ec30a739d150a80838 Mon Sep 17 00:00:00 2001 From: David Daily Date: Tue, 14 Jan 2020 08:37:11 -0600 Subject: [PATCH] Update 'D3K.ahk' --- D3K.ahk | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/D3K.ahk b/D3K.ahk index 816683a..7c12e0e 100644 --- a/D3K.ahk +++ b/D3K.ahk @@ -6,6 +6,8 @@ SetWorkingDir, %A_MyDocuments%\D3K ; Make sure we can find the .ahks linked belo ini = %A_MyDocuments%\D3Ksettings.ini ; Where the settings ini is +ini_writeValue(ini, "Version", "2.6") + ;------------------------------------------------------------------------------ ; Make sure the settings file exists, if not, create it ;------------------------------------------------------------------------------ @@ -21,17 +23,15 @@ Email=LastnameFirstname@JohnDeere.com DocFile=Select File [Main] Mansol=1 -Supadmin=1 MJDPaste=1 CaseFormatter=1 [Replacement] -Symbols=1 JDProductNames=1 GloVar=0 [Language] German=0 [Info] -Version=0 +Version=2.6 ), %ini% Run Settings.ahk ; Runs the GUI for changing the settings, also accessible with Alt+Shift+\ (also easy way to restart this script) } @@ -53,7 +53,6 @@ mjdpaste := ini_getValue(ini, "Main", "MJDPaste") caseformatter := ini_getValue(ini, "Main", "CaseFormatter") ; Replacement -symb := ini_getValue(ini, "Replacement", "Symbols") jdpn := ini_getValue(ini, "Replacement", "JDProductNames") glovar := ini_getValue(ini, "Replacement", "GloVar") @@ -485,12 +484,6 @@ SetTitleMatchMode, 2 ;------------------------------------------------------------------------------ ; Common Terms autocorrect and replacement ;------------------------------------------------------------------------------ -; Symbols, these only replaced when an end character is typed afterwards - -#If, symb = "1" - ::(deg)::{ASC 248} - ::(eq)::{ASC 247} -#If #If, not(racf = "LF01234") ; So that it doesn't put the fake RACF from the default ini file :*:]me:: @@ -547,6 +540,8 @@ SetTitleMatchMode, 2 :*:]jddm::John Deere Data Manager :*:]serva::Service Advisor :*:]muc::Master Unlock Code + :*:]deg::{ASC 248} + :*:]eq::{ASC 247} ::rowsense::RowSense ::comar::COMAR @@ -573,6 +568,7 @@ SetTitleMatchMode, 2 ::xid::xID ::pmcalc::PMCalc ::vat::VAT + :*:racf::RACF ; German @@ -609,6 +605,8 @@ SetTitleMatchMode, 2 :*:[jddm::John Deere Data Manager :*:[serva::Service Advisor :*:[muc::Master Unlock Code + :*:[deg::{ASC 248} + :*:[eq::{ASC 247} #If