Gui, Add, Picture, x0 y0 w350 h710, H:\My Documents\My Pictures\WF\WFPic.jpg
Gui, Color, 000000
;*****************************************************************************************************************************************
ReadMyInformationFile()
Gui, Add, Edit, x6 y45 w180 h20 vHREmployeeNumber, %HREmployeeNumber% ; 1
Gui, Add, Edit, x6 y75 w180 h20 vFirstName, %FirstNameTemp% ; 2
Gui, Add, Edit, x6 y105 w180 h20 vLastName, %LastNameTemp% ; 3
Gui, Add, Edit, x6 y135 w180 h20 vAU, %AUTemp% ; 4
Gui, Add, Edit, x6 y165 w180 h20 vEmail, %EmailTemp% ; 5
Gui, Add, Edit, x6 y195 w180 h20 vPhone, %PhoneTemp% ; 6
Gui, Add, Edit, x6 y225 w180 h20 vExt, %ExtTemp% ; 7
Gui, Add, Edit, x6 y255 w180 h20 vWellsID, %WellsIDTemp% ; 8
Gui, Add, Edit, x6 y285 w180 h20 vWachoviaID, %WachoviaIDTemp% ; 9
Gui, Add, Edit, x6 y315 w180 h20 vMAC, %MACTemp% ; 10
Gui, Add, Edit, x6 y345 w180 h20 vCACSID, %CACSIDTemp% ; 11
Gui, Add, Edit, x6 y375 w180 h20 vPrinterName, %PrinterNameTemp% ; 12
Gui, Add, Edit, x6 y405 w180 h20 vFDClientNum, %FDClientNumTemp% ; 13
Gui, Add, Edit, x6 y435 w180 h20 vFastData, %FastDataTemp% ; 14
Gui, Add, Edit, x6 y465 w180 h20 vVerid, %VeridTemp% ; 15
Gui, Add, Edit, x6 y495 w180 h20 vFAXPhone, %FAXPhoneTemp% ; 16
Gui, Add, Edit, x6 y525 w180 h20 vWFTellerPhone, %WFTellerPhoneTemp% ; 17
Gui, Add, Edit, x6 y555 w180 h20 vWBTellerPhone, %WBTellerPhoneTemp% ; 18
Gui, Add, Edit, x6 y585 w180 h20 vRiskRefPhone, %RiskRefPhoneTemp% ; 19
Gui, Add, Edit, x6 y615 w180 h20 vLMPhone, %LMPhoneTemp% ; 20
Gui, Add, Edit, x6 y645 w180 h20 Limit3 vFDROpID, %FDROpIDTemp% ; 21
Gui, Add, Text, cffffff x190 y45 w90 h20 , HR Employee # ; 1
Gui, Add, Text, cffffff x190 y75 w90 h20 , First Name ; 2
Gui, Add, Text, cffffff x190 y105 w90 h20 , Last Name ; 3
Gui, Add, Text, cffffff x190 y135 w90 h20 , AU ; 4
Gui, Add, Text, cffffff x190 y165 w90 h20 , Email ; 5
Gui, Add, Text, cffffff x190 y195 w90 h20 , Phone ; 6
Gui, Add, Text, cffffff x190 y225 w90 h20 , Ext ; 7
Gui, Add, Text, cffffff x190 y255 w90 h20 , Wells ID ; 8
Gui, Add, Text, cffffff x190 y285 w90 h20 , Wachovia A# ; 9
Gui, Add, Text, cffffff x190 y315 w90 h20 , MAC ; 10
Gui, Add, Text, cffffff x190 y345 w90 h20 , CACS ID ; 11
Gui, Add, Text, cffffff x190 y375 w90 h20, Printer Name ; 12
Gui, Add, Text, cffffff x190 y405 w90 h20, FD Client Num ; 13
Gui, Add, Text, cffffff x190 y435 w90 h20, FastData ID ; 14
Gui, Add, Text, cffffff x190 y465 w90 h20, Verid ID ; 15
Gui, Add, Text, cffffff x190 y495 w90 h20, FAX Number ; 16
Gui, Add, Text, cffffff x190 y525 w90 h20, WF Teller Phone ; 17
Gui, Add, Text, cffffff x190 y555 w90 h20, WB Teller Phone ; 18
Gui, Add, Text, cffffff x190 y585 w90 h20, Risk Ref Phone ; 19
Gui, Add, Text, cffffff x190 y615 w90 h20, Loss Mngt Phone ; 20
Gui, Add, Text, cffffff x190 y645 w90 h20, FDR Operator ID ; 21
Gui, Add, Button, x6 y675 w60 h30 default, Submit
Gui, Add, Button, x76 y675 w60 h30 , Cancel
; Generated using SmartGUI Creator 4.0
Gui, Show, x131 y91 h705 w275, MyInformation
Return
;*****************************************************************************************************************************************
;Submit
ButtonSubmit:
Gui , Submit , NoHide
FileCreateDir , H:\xxx\AHK Reflections\AHKs\MyInformation
FileDelete H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt
FileAppend , %HREmployeeNumber%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 1
FileAppend , %FirstName%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 2
FileAppend , %LastName%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 3
FileAppend , %AU%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 4
FileAppend , %Email%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 5
FileAppend , %Phone%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 6
FileAppend , %Ext%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 7
FileAppend , %WellsID%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 8
FileAppend , %WachoviaID%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 9
FileAppend , %MAC%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 10
FileAppend , %CACSID%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 11
FileAppend , %PrinterName%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 12
FileAppend , %FDClientNum%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 13
FileAppend , %FastData%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 14
FileAppend , %Verid%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 15
FileAppend , %FAXPhone%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 16
FileAppend , %WFTellerPhone%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 17
FileAppend , %WBTellerPhone%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 18
FileAppend , %RiskRefPhone%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 19
FileAppend , %LMPhone%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 20
FileAppend , %FDROpID%`n , H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationFile.txt ; 21
IfWinExist, MyInformation
WinClose ; use the window found above
return
;*****************************************************************************************************************************************
; Cancel
ButtonCancel:
Gui , Submit , NoHide
ExitApp
Return
;*****************************************************************************************************************************************
GuiClose:
ExitApp
#Include H:\xxx\AHK Reflections\AHKs\MyInformation\MyInformationRead.ahk
******************************************************************************************************************************************
MyInformationRead.ahk
ReadMyInformationFile() {
Global
Loop , Read , %A_MyDocuments%\AHK2\MyInformation\MyInformationFile.txt
{
If A_Index = 1
HREmployeeNumber := A_LoopReadLine
If A_Index = 2
FirstNameTemp := A_LoopReadLine
If A_Index = 3
LastNameTemp := A_LoopReadLine
If A_Index = 4
AUTemp := A_LoopReadLine
If A_Index = 5
EmailTemp := A_LoopReadLine
If A_Index = 6
PhoneTemp := A_LoopReadLine
If A_Index = 7
ExtTemp := A_LoopReadLine
If A_Index = 8
WellsIDTemp := A_LoopReadLine
If A_Index = 9
WachoviaIDTemp := A_LoopReadLine
If A_Index = 10
MACTemp := A_LoopReadLine
If A_Index = 11
CACSIDTemp := A_LoopReadLine
If A_Index = 12
PrinterNameTemp := A_LoopReadLine
If A_Index = 13
FDClientNumTemp := A_LoopReadLine
If A_Index = 14
FastDataTemp := A_LoopReadLine
If A_Index = 15
VeridTemp := A_LoopReadLine
If A_Index = 16
FAXPhoneTemp := A_LoopReadLine
If A_Index = 17
WFTellerPhoneTemp := A_LoopReadLine
If A_Index = 18
WBTellerPhoneTemp := A_LoopReadLine
If A_Index = 19
RiskRefPhoneTemp := A_LoopReadLine
If A_Index = 20
LMPhoneTemp := A_LoopReadLine
If A_Index = 21
FDROpIDTemp := A_LoopReadLine
}
Return
}
Return
; 1
HREmployeeNumber() {
Global
SendRaw, %HREmployeeNumber%
Return
}
; 2
MyFirstName() {
Global
SendRaw, %FirstNameTemp%
Return
}
; 3
MyLastName() {
Global
SendRaw, %LastNameTemp%
Return
}
; 4
MyAU() {
Global
SendRaw, %AUTemp%
Return
}
; 5
MyEmail() {
Global
SendRaw, %EmailTemp%
Return
}
; 6
MyPhone() {
Global
SendRaw, %PhoneTemp%
Return
}
; 7
MyExt() {
Global
SendRaw, %ExtTemp%
Return
}
; 8
MyWellsID() {
Global
SendRaw, %WellsIDTemp%
Return
}
; 9
MyWachoviaID() {
Global
SendRaw, %WachoviaIDTemp%
Return
}
; 10
MyMAC() {
Global
SendRaw, %MACTemp%
Return
}
; 11
MyCACSID() {
Global
SendRaw, %CACSIDTemp%
Return
}
; 12
MyPrinterName() {
Global
SendRaw, %PrinterNameTemp%
Return
}
; 13
MyFDClientNum() {
Global
SendRaw, %FDClientNumTemp%
Return
}
; 14
MyFastData() {
Global
SendRaw, %FastDataTemp%
Return
}
; 15
MyVerid() {
Global
SendRaw, %VeridTemp%
Return
}
; 16
MyFAXPhone() {
Global
SendRaw, %FAXPhoneTemp%
Return
}
; 17
MyWFTellerPhone() {
Global
SendRaw, %WFTellerPhoneTemp%
Return
}
; 18
MyWBTellerPhone() {
Global
SendRaw, %WBTellerPhoneTemp%
Return
}
; 19
MyRiskRefPhone() {
Global
SendRaw, %RiskRefPhoneTemp%
Return
}
; 20
MyLMPhone() {
Global
SendRaw, %LMPhoneTemp%
Return
}
; 21
MyFDROpID() {
Global
SendRaw, %FDROpIDTemp%
Return
}