Update 'D3K.ahk'

This commit is contained in:
David Daily 2020-01-14 08:37:11 -06:00
parent 8e71ac1510
commit b0ef76405a
1 changed files with 8 additions and 10 deletions

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_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