This commit is contained in:
Joe
2019-01-04 20:05:27 -06:00
commit 77fa958fca
2 changed files with 70 additions and 0 deletions

35
MyAutoDeploy.ahk Normal file
View File

@@ -0,0 +1,35 @@
; --------------------------------------------------
; Unattended package deployment
; 2018-11-15 joe.tretter@kcc.com Implmentation
; --------------------------------------------------
SendMode Input
CoordMode, Mouse, Window
CoordMode, Pixel, Window
; If the deployment manager is already open, close it
IfWinExist, Accenture CAS Deployment Manager
{
WinActivate, Accenture CAS Deployment Manager
send, !{f4}
; wait 3 sec for the deployment manager to fully shut down
sleep, 3000
}
Run, D:\Accenture\CAS110LAOCons\Deployment\Update\casDeploymentManager.exe,D:\Accenture\CAS110LAOCons\Deployment\Update\
WinWait, Accenture CAS Deployment Manager
WinActivate, Accenture CAS Deployment Manager
Click, 35, 85
; wait for start deployment button to be active.
loop {
sleep,500
PixelGetColor, color, 95,80
if (color = "0xDDDDDD")
{
break
}
}
Click, 95,80