Update 'D3K.ahk'

This commit is contained in:
David Daily 2020-01-14 08:37:11 -06:00
parent 8e71ac1510
commit b0ef76405a

18
D3K.ahk
View File

@ -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 = %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 ; Make sure the settings file exists, if not, create it
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
@ -21,17 +23,15 @@ Email=LastnameFirstname@JohnDeere.com
DocFile=Select File DocFile=Select File
[Main] [Main]
Mansol=1 Mansol=1
Supadmin=1
MJDPaste=1 MJDPaste=1
CaseFormatter=1 CaseFormatter=1
[Replacement] [Replacement]
Symbols=1
JDProductNames=1 JDProductNames=1
GloVar=0 GloVar=0
[Language] [Language]
German=0 German=0
[Info] [Info]
Version=0 Version=2.6
), %ini% ), %ini%
Run Settings.ahk ; Runs the GUI for changing the settings, also accessible with Alt+Shift+\ (also easy way to restart this script) 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") caseformatter := ini_getValue(ini, "Main", "CaseFormatter")
; Replacement ; Replacement
symb := ini_getValue(ini, "Replacement", "Symbols")
jdpn := ini_getValue(ini, "Replacement", "JDProductNames") jdpn := ini_getValue(ini, "Replacement", "JDProductNames")
glovar := ini_getValue(ini, "Replacement", "GloVar") glovar := ini_getValue(ini, "Replacement", "GloVar")
@ -485,12 +484,6 @@ SetTitleMatchMode, 2
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Common Terms autocorrect and replacement ; 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 #If, not(racf = "LF01234") ; So that it doesn't put the fake RACF from the default ini file
:*:]me:: :*:]me::
@ -547,6 +540,8 @@ SetTitleMatchMode, 2
:*:]jddm::John Deere Data Manager :*:]jddm::John Deere Data Manager
:*:]serva::Service Advisor :*:]serva::Service Advisor
:*:]muc::Master Unlock Code :*:]muc::Master Unlock Code
:*:]deg::{ASC 248}
:*:]eq::{ASC 247}
::rowsense::RowSense ::rowsense::RowSense
::comar::COMAR ::comar::COMAR
@ -573,6 +568,7 @@ SetTitleMatchMode, 2
::xid::xID ::xid::xID
::pmcalc::PMCalc ::pmcalc::PMCalc
::vat::VAT ::vat::VAT
:*:racf::RACF
; German ; German
@ -609,6 +605,8 @@ SetTitleMatchMode, 2
:*:[jddm::John Deere Data Manager :*:[jddm::John Deere Data Manager
:*:[serva::Service Advisor :*:[serva::Service Advisor
:*:[muc::Master Unlock Code :*:[muc::Master Unlock Code
:*:[deg::{ASC 248}
:*:[eq::{ASC 247}
#If #If