LOCKHARDEX(0, 0)
IF GETKEYSTATE(TGL_IME) THEN KBD(VK_KANJI,CLICK)
FOR i = 0 TO GETALLWIN()-1
IF POS( "MAGI" ,STATUS(ALL_WIN_ID[i],ST_TITLE) ) <> 0 THEN
CTRLWIN(ALL_WIN_ID[i], CLOSE2)
ENDIF
NEXT
EXEC("")
EXEC("")
DIM MAGI_winID[GETALLWIN()]
DIM cnt = 0
FOR i = 0 TO GETALLWIN()-1
IF POS( "MAGI" ,STATUS(ALL_WIN_ID[i],ST_TITLE) ) <> 0 THEN
MAGI_winID[cnt] = ALL_WIN_ID[i]
cnt = cnt + 1
ENDIF
NEXT
CTRLWIN(MAGI_winID[0], ACTIVATE)
SLEEP(2)
KBD(VK_F3,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_ENTER,CLICK,1)
CTRLWIN(GETID("社員コード",,-1), ACTIVATE)
SENDSTR(GETID("社員コード",,-1), "14227", 0)
KBD(VK_ENTER,CLICK,1)
SENDSTR(GETID("社員コード",,-1), "227", 0)
KBD(VK_ENTER,CLICK,1)
KBD(VK_ENTER,CLICK,1)
CTRLWIN(MAGI_winID[0], ACTIVATE)
KBD(VK_TAB,CLICK,1)
SENDSTR(MAGI_winID[0] , "1863", 0)
KBD(VK_ENTER,CLICK,1)
KBD(VK_RIGHT,CLICK,1)
KBD(VK_F6,CLICK,1)
CTRLWIN(GETID("名前を付けて保存", "#32770",-1), ACTIVATE)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_N)
KBD(VK_ALT,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "特別ユーザ_日次", 0)
KBD(VK_F4,CLICK,1)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_CTRL, VK_A)
KBD(VK_CTRL,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "保存フォルダパス名", 0)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_S)
KBD(VK_ALT,UP,1)
CTRLWIN(GETID("名前を付けて保存の確認", "#32770",-1), ACTIVATE)
KBD(VK_Y,CLICK,1)
CTRLWIN(MAGI_winID[1], ACTIVATE)
SLEEP(2)
KBD(VK_F3,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_ENTER,CLICK,1)
CTRLWIN(GETID("社員コード",,-1), ACTIVATE)
SENDSTR(GETID("社員コード",,-1), "14227", 0)
KBD(VK_ENTER,CLICK,1)
SENDSTR(GETID("社員コード",,-1), "227", 0)
KBD(VK_ENTER,CLICK,1)
KBD(VK_ENTER,CLICK,1)
CTRLWIN(MAGI_winID[1], ACTIVATE)
KBD(VK_TAB,CLICK,1)
SENDSTR(MAGI_winID[1] , "1817", 0)
KBD(VK_ENTER,CLICK,1)
KBD(VK_RIGHT,CLICK,1)
KBD(VK_F6,CLICK,1)
CTRLWIN(GETID("名前を付けて保存", "#32770",-1), ACTIVATE)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_N)
KBD(VK_ALT,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "棚マスタ1459", 0)
KBD(VK_F4,CLICK,1)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_CTRL, VK_A)
KBD(VK_CTRL,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "保存フォルダパス名", 0)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_S)
KBD(VK_ALT,UP,1)
CTRLWIN(GETID("名前を付けて保存の確認", "#32770",-1), ACTIVATE)
KBD(VK_Y,CLICK,1)
LOCKHARDEX()
LOCKHARDEX(0, 0)
IF GETKEYSTATE(TGL_IME) THEN KBD(VK_KANJI,CLICK)
FOR i = 0 TO GETALLWIN()-1
IF POS( "MAGI" ,STATUS(ALL_WIN_ID[i],ST_TITLE) ) <> 0 THEN
CTRLWIN(ALL_WIN_ID[i], CLOSE2)
ENDIF
NEXT
EXEC("")
memo_ID = GETID("MAGI",,-1)
EXEC("")
memo_ID1 = GETID("MAGI",,-1)
ACW(memo_ID)
SCKEY(memo_ID, VK_SHIFT, VK_CTRL,VK_S)
KBD(VK_SHIFT,UP,1)
KBD(VK_CTRL,UP,1)
ACW(GETID("名前を付けて保存", "#32770",-1))
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_N)
KBD(VK_ALT,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "特別ユーザ_日次", 0)
KBD(VK_F4,CLICK,1)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_CTRL, VK_A)
KBD(VK_CTRL,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "保存フォルダパス名", 0)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_S)
KBD(VK_ALT,UP,1)
ACW(GETID("名前を付けて保存の確認", "#32770",-1))
KBD(VK_Y,CLICK,1)
ACW(memo_ID1)
SCKEY(memo_ID1, VK_SHIFT, VK_CTRL,VK_S)
KBD(VK_CTRL,UP,1)
KBD(VK_SHIFT,UP,1)
ACW(GETID("名前を付けて保存", "#32770",-1))
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_N)
KBD(VK_DELETE,CLICK,1)
KBD(VK_ALT,UP,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "棚マスタ", 0)
KBD(VK_F4,CLICK,1)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_CTRL, VK_A)
KBD(VK_CTRL,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "保存フォルダパス名", 0)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_S)
ACW(GETID("名前を付けて保存の確認", "#32770",-1))
KBD(VK_Y,CLICK,1)
SCKEY(0, VK_ALT, VK_CTRL, VK_DELETE)
LOCKHARDEX()
LOCKHARDEX(0, 0)
IF GETKEYSTATE(TGL_IME) THEN KBD(VK_KANJI,CLICK)
FOR i = 0 TO GETALLWIN()-1
IF POS( "MAGI" ,STATUS(ALL_WIN_ID[i],ST_TITLE) ) <> 0 THEN
CTRLWIN(ALL_WIN_ID[i], CLOSE2)
ENDIF
NEXT
EXEC("")
CTRLWIN(GETID("MAGI",,-1), ACTIVATE)
SLEEP(2)
KBD(VK_F3,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_ENTER,CLICK,1)
CTRLWIN(GETID("社員コード",,-1), ACTIVATE)
SENDSTR(GETID("社員コード",,-1), "14227", 0)
KBD(VK_ENTER,CLICK,1)
SENDSTR(GETID("社員コード",,-1), "227", 0)
KBD(VK_ENTER,CLICK,1)
KBD(VK_ENTER,CLICK,1)
CTRLWIN(GETID("MAGI",,-1), ACTIVATE)
KBD(VK_TAB,CLICK,1)
SENDSTR(GETID("MAGI",,-1) , "1863", 0)
KBD(VK_ENTER,CLICK,1)
KBD(VK_RIGHT,CLICK,1)
KBD(VK_F6,CLICK,1)
CTRLWIN(GETID("名前を付けて保存", "#32770",-1), ACTIVATE)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_N)
KBD(VK_ALT,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "特別ユーザ_日次", 0)
KBD(VK_F4,CLICK,1)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_CTRL, VK_A)
KBD(VK_CTRL,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "保存フォルダパス名", 0)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_S)
KBD(VK_ALT,UP,1)
CTRLWIN(GETID("名前を付けて保存の確認", "#32770",-1), ACTIVATE)
KBD(VK_Y,CLICK,1)
EXEC("")
CTRLWIN(GETID("MAGI",,-1), ACTIVATE)
SLEEP(2)
KBD(VK_F3,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_DOWN,CLICK,1)
KBD(VK_ENTER,CLICK,1)
CTRLWIN(GETID("社員コード",,-1), ACTIVATE)
SENDSTR(GETID("社員コード",,-1), "14227", 0)
KBD(VK_ENTER,CLICK,1)
SENDSTR(GETID("社員コード",,-1), "227", 0)
KBD(VK_ENTER,CLICK,1)
KBD(VK_ENTER,CLICK,1)
CTRLWIN(GETID("MAGI",,-1), ACTIVATE)
KBD(VK_TAB,CLICK,1)
SENDSTR(GETID("MAGI",,-1) , "1817", 0)
KBD(VK_ENTER,CLICK,1)
KBD(VK_RIGHT,CLICK,1)
KBD(VK_F6,CLICK,1)
CTRLWIN(GETID("名前を付けて保存", "#32770",-1), ACTIVATE)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_N)
KBD(VK_ALT,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "棚マスタ1459", 0)
KBD(VK_F4,CLICK,1)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_CTRL, VK_A)
KBD(VK_CTRL,UP,1)
KBD(VK_DELETE,CLICK,1)
SENDSTR(GETID("名前を付けて保存", "#32770",-1), "保存フォルダパス名", 0)
SCKEY(GETID("名前を付けて保存", "#32770",-1), VK_ALT, VK_S)
KBD(VK_ALT,UP,1)
CTRLWIN(GETID("名前を付けて保存の確認", "#32770",-1), ACTIVATE)
KBD(VK_Y,CLICK,1)
LOCKHARDEX()