#singleinstance force gui,add,button,xm ym+30 w100 h24 vB1 gBTN1,확 인 gui,add,button,xm+100 ym+30 w100 h24 vB2 gBTN1,확 인 gui,add,button,xm+200 ym+30 w100 h24 vB3 gBTN1,확 인 gui,add,button,xm ym+54 w100 h24 vB4 gBTN1,확 인 gui,add,button,xm+100 ym+54 w100 h24 vB5 gBTN1,확 인 gui,add,button,xm+200 ym+54 w100 h24 vB6 gBTN1,확 인 gui,add,button,xm+300 ym+30 w100 h24 vB20 gBTN,이동 gui,show return BTN: gui,submit,nohide guicontrol,-g,B20 loop 140{ guicontrol,move,B1,% "y" . 30-a_index if a_index >= 11 guicontrol,move,B2,% "y" . 40-a_index if a_index >= 21 guicontrol,move,B3,% "y" . 50-a_index if a_index >= 31 guicontrol,move,B4,% "y" . 84-a_index if a_index >= 41 guicontrol,move,B5,% "y" . 94-a_index if a_index >= 51 guicontrol,move,B6,% "y" . 104-a_index sleep 1 } guicontrol,+gBTN,B20 return BTN1: return guiescape: guiclose: exitapp