Gui, Color, FFFFFFF
Gui, Add, Button, x6 y7 w100 h30 gUpdateReflections, Click Me
Gui, Add, Text, x116 y7 w120 h30 , Updates from V Drive
; Generated using SmartGUI Creator 4.0
Gui, Show, x131 y91 h49 w247, System Update Emails 09222011
Return
;*****************************************************************************************************************************************
; Reflections
UpdateReflections:
ProgresBar20Percent()
FileCreateDir , C:\My Documents\My Pictures\ico
FileCreateDir , C:\My Documents\My Pictures\WF
FileCreateDir , C:\xxx\AHK Reflections\AHKs
FileCreateDir , C:\xxx\AHK Reflections\AHKs\Trend Referral
FileCreateDir , C:\xxx\AHK Reflections\AHKs\OTW Email by State
FileCreateDir , C:\xxx\AHK Reflections\AHKs\FailedForeignWire
FileCreateDir , C:\xxx\AHK Reflections\AHKs\HDCUInfo
FileCreateDir , C:\xxx\AHK Reflections\AHKs\MyInformation
ProgresBar40Percent()
; Folder from V drive to H Drive
FileCopyDir, O:\Back Up Folders\Reflection\AHKs\Trend Referral, H:\xxx\AHK Reflections\AHKs\Trend Referral, 1
FileCopyDir, O:\Back Up Folders\Reflection\AHKs\OTW Email by State, H:\xxx\AHK Reflections\AHKs\OTW Email by State, 1
FileCopyDir, O:\Back Up Folders\Reflection\AHKs\FailedForeignWire, H:\xxx\AHK Reflections\AHKs\FailedForeignWire, 1
FileCopyDir, O:\Back Up Folders\Reflection\AHKs\HDCUInfo, H:\xxx\AHK Reflections\AHKs\HDCUInfo, 1
FileCopyDir, O:\Back Up Folders\Reflection\AHKs\MyInformation, H:\xxx\AHK Reflections\AHKs\MyInformation, 1
ProgresBar60Percent()
FileCopyDir, O:\Back Up Folders\Reflection\AHKs\ico, H:\My Documents\My Pictures\ico, 1
FileCopyDir, O:\Back Up Folders\Reflection\AHKs\WF, %A_MyDocuments%\My Pictures, 1
ProgresBar80Percent()
FileCreateShortcut, H:\xxx\AHK Reflections\AHKs\OTW Email by State\EmailMenu.exe, %A_Desktop%\EmailMenu.lnk, C:\, "%A_ScriptFullPath%", Email_Menu, H:\My Documents\My Pictures\ico\WellsFargo.ico, i
ProgresBar100Percent()
ProgresBarOff()
IfWinExist, System Update Emails 09222011
WinClose ; use the window found above
Return
GuiClose:
ExitApp
#Include ProgressBar1.0.ahk ; See Bellow
***************************************************************************************************************************************************
ProgresBar5Percent()
{
Progress, b w200, Loading 5 Percent, Please Wait, Progress
Progress, 5 ; Set the position of the bar to 5%.
Sleep, 300
}
ProgresBar10Percent()
{
Progress, b w200, Loading 10 Percent, Please Wait, Progress
Progress, 10 ; Set the position of the bar to 10%.
Sleep, 300
}
ProgresBar15Percent()
{
Progress, b w200, Loading 15 Percent, Please Wait, Progress
Progress, 15 ; Set the position of the bar to 15%.
Sleep, 300
}
ProgresBar20Percent()
{
Progress, b w200, Loading 20 Percent, Please Wait, Progress
Progress, 20 ; Set the position of the bar to 20%.
Sleep, 300
}
ProgresBar25Percent()
{
Progress, b w200, Loading 25 Percent, Please Wait, Progress
Progress, 25 ; Set the position of the bar to 25%.
Sleep, 300
}
ProgresBar30Percent()
{
Progress, b w200, Loading 30 Percent, Please Wait, Progress
Progress, 30 ; Set the position of the bar to 30%.
Sleep, 300
}
ProgresBar35Percent()
{
Progress, b w200, Loading 35 Percent, Please Wait, Progress
Progress, 35 ; Set the position of the bar to 35%.
Sleep, 300
}
ProgresBar40Percent()
{
Progress, b w200, Loading 40 Percent, Please Wait, Progress
Progress, 40 ; Set the position of the bar to 40%.
Sleep, 300
}
ProgresBar45Percent()
{
Progress, b w200, Loading 45 Percent, Please Wait, Progress
Progress, 45 ; Set the position of the bar to 45%.
Sleep, 300
}
ProgresBar50Percent()
{
Progress, b w200, Loading 50 Percent, Please Wait, Progress
Progress, 50 ; Set the position of the bar to 50%.
Sleep, 300
}
ProgresBar55Percent()
{
Progress, b w200, Loading 55 Percent, Please Wait, Progress
Progress, 55 ; Set the position of the bar to 55%.
Sleep, 300
}
ProgresBar60Percent()
{
Progress, b w200, Loading 60 Percent, Please Wait, Progress
Progress, 60 ; Set the position of the bar to 60%.
Sleep, 300
}
ProgresBar65Percent()
{
Progress, b w200, Loading 65 Percent, Please Wait, Progress
Progress, 65 ; Set the position of the bar to 65%.
Sleep, 300
}
ProgresBar70Percent()
{
Progress, b w200, Loading 70 Percent, Please Wait, Progress
Progress, 70 ; Set the position of the bar to 70%.
Sleep, 300
}
ProgresBar75Percent()
{
Progress, b w200, Loading 75 Percent, Please Wait, Progress
Progress, 75 ; Set the position of the bar to 75%.
Sleep, 300
}
ProgresBar80Percent()
{
Progress, b w200, Loading 80 Percent, Please Wait, Progress
Progress, 80 ; Set the position of the bar to 80%.
Sleep, 300
}
ProgresBar85Percent()
{
Progress, b w200, Loading 85 Percent, Please Wait, Progress
Progress, 85 ; Set the position of the bar to 85%.
Sleep, 300
}
ProgresBar90Percent()
{
Progress, b w200, Loading 90 Percent, Please Wait, Progress
Progress, 90 ; Set the position of the bar to 90%.
Sleep, 300
}
ProgresBar95Percent()
{
Progress, b w200, Loading 95 Percent, Please Wait, Progress
Progress, 95 ; Set the position of the bar to 95%.
Sleep, 300
}
ProgresBar100Percent()
{
Progress, b w200, Loading 100 Percent, Please Wait, Progress
Progress, 100 ; Set the position of the bar to 100%.
Sleep, 300
}
ProgresBarOff()
{
Progress, Off
}