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
|
||||||
35
MyAutoDeploy_NI.ahk
Normal file
35
MyAutoDeploy_NI.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, %1%casDeploymentManager.exe,%1%
|
||||||
|
|
||||||
|
; wait long -- we are not in a hurry..
|
||||||
|
sleep 10000
|
||||||
|
|
||||||
|
;WinWait, Accenture CAS Deployment Manager
|
||||||
|
;WinActivate, Accenture CAS Deployment Manager
|
||||||
|
;sleep 1000
|
||||||
|
;ControlClick,x35 y85,Accenture CAS Deployment Manager
|
||||||
|
|
||||||
|
ControlSend,,{tab}{space},Accenture CAS Deployment Manager
|
||||||
|
|
||||||
|
; wait long -- we are not in a hurry..
|
||||||
|
sleep 30000
|
||||||
|
;ControlClick,x95 y80,Accenture CAS Deployment Manager
|
||||||
|
ControlSend,,{tab}{tab}{space},Accenture CAS Deployment Manager
|
||||||
Reference in New Issue
Block a user