20200324 2046
01 진행상태 표시 창/막대
#SingleInstance, Force
#Persistent
zProcessFunc(zMsg:="AH Time Passed"){
SysGet, zMonitorWorkArea, MonitorWorkArea,
static zBegTime
zx:=150 ; need to move window
zy:=70 ; need to move window
zBegTime:=A_TickCount ;, sec:=seconds, step:=1000/sec
zElapsedTime:=Round((A_TickCount-zBegTime)/1000,0)
zWidth:= "W" zx
zHeight:= "H" zy
zXpos:="X" A_ScreenWidth - zx
zBarAndBorder:=9
zYpos:="Y" zMonitorWorkAreaBottom - zy - zBarAndBorder
Progress,B1 %zWidth% %zHeight% %zXpos% %zYpos% FM10 FS10 CTFF0000, %zElapsedTime%, %zMsg%, zProcess,
SetTimer, update, 100
return
update:
zElapsedTime:=Round((A_TickCount-zBegTime)/1000,0)
progress,%zElapsedTime%,%zElapsedTime%
return
}
zProcessFunc()
'[PA] 업무자동화 > [AH]Autohotkey' 카테고리의 다른 글
AH Block coding, Visual programming (0) | 2020.03.25 |
---|---|
AH HTML 다루기 (0) | 2020.03.25 |
AH 유틸; 디버깅 라인, 타임스탬프 (0) | 2020.03.24 |
AH 유틸; 도움말, 자동글자바꿈 (0) | 2020.03.24 |
AH 엑셀 날짜 형식 (0) | 2020.03.24 |