20201207 1431
CoordMode,tooltip,screen
ToolTip, Running....,0,0
WinActivate, ahk_exe KakaoTalk.exe
sleep, 1000
WinGet, id, List,,, Program Manager
this_title:="카카오톡"
WinMove, %this_title%, ,A_ScreenWidth,0,390,600
zi:=1
zj:=0
zXpos:=A_ScreenWidth
;MsgBox,% a_screenwidth ; 1920
Loop, %id%
{
this_id := id%A_Index%
;WinActivate, ahk_id %this_id%
WinGetClass, this_class, ahk_id %this_id%
WinGetTitle, this_title, ahk_id %this_id%
ToolTip, %this_id% and %this_title% ,0 ,0
if(this_class="#32770") {
zWid:=350
if(zi<2)
zWid:=390
zXpos:=zXpos+zWid
WinMove, %this_title%, ,zXpos,0,350,600+600*zj
;MsgBox, %this_id% and %this_title% xPos= %zXpos% zi= %zi%
zi:=zi+1
if(zi>5)
zj:=1
}
IfMsgBox, NO, break
}
tooltip
return
ExitApp
'[PA] 업무자동화 > [AH]Autohotkey' 카테고리의 다른 글
AH 문장 중에 따옴표 제거하기 (0) | 2021.01.15 |
---|---|
AH 계산식 수식 operation, default focus in GUI (0) | 2020.12.08 |
AH showing picture (0) | 2020.12.05 |
AH GUI 단추 단축키 (0) | 2020.11.18 |
AH Windows 시작프로그램에 등록 (0) | 2020.10.17 |