Initial
This commit is contained in:
35
MyAutoDeploy.ahk
Normal file
35
MyAutoDeploy.ahk
Normal 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
|
||||
Reference in New Issue
Block a user