Update 'D3K.ahk'

This commit is contained in:
David Daily 2020-01-23 08:47:09 -06:00
parent e6bd22263e
commit a90f2077b6

View File

@ -63,7 +63,7 @@ If (glovar = 1)
{ {
glovarini = %A_MyDocuments%\GloVar.ini ; Location of the ini that the user modifies glovarini = %A_MyDocuments%\GloVar.ini ; Location of the ini that the user modifies
glovarstart := "#SingleInstance force`n`n:*:$dus::`n:*:$dnm::`n:*:$dem::`n:*:$xid::`n" glovarstart := "#SingleInstance force`n`n:*:$dus::`n:*:$dorg::`n:*:$dnm::`n:*:$dem::`n:*:$xid::`n"
SetTimer, GloVar, 2000 ; Check every 2 seconds SetTimer, GloVar, 2000 ; Check every 2 seconds
@ -104,7 +104,6 @@ If (glovar = 1)
{ {
Run glovar.ahk Run glovar.ahk
} }
Break
} }
If InStr(RESection, "up") If InStr(RESection, "up")
{ {
@ -185,14 +184,16 @@ If (glovar = 1)
} }
} }
} }
If InStr(REKey, "xid") ; If an xID is entered. Unique identifier for people If InStr(REKey, "xID") ; If an xID is entered. Unique identifier for people
{ {
StringUpper, REValue, REValue ; Makes xID uppercase StringUpper, REValue, REValue ; Makes xID uppercase
dealinfo := GetInfo(REValue) ; Gets information, see function for details dealinfo := GetInfo(REValue) ; Gets information, see function for details
if !(REValue = dealinfo.xid) if !(InStr(dealinfo.xid, REValue))
{ {
MsgBox, run
run addemail.ahk run addemail.ahk
FileGetTime, gvMod, %glovarini%
Continue Continue
} }