JP1 Version 8 JP1/NETM/DM Automatic Installation Toolガイド (Windows(R)用)
do 式1 式2 ... ... while (条件);
なお,ループ内のbreakまたはcontinueステートメントの数は,255以内に抑えてください。また,ネストするdo-whileステートメントの数は,255以内に抑えてください。
DEFINE
{
integer WINH,count,length;
float SLEEP_TIME=0.5;
string s1,s2;
integer i,sloop_cnt = 0;
integer sloop_max = 30;
}
...
...
do
AIT_LogMessage("Searching for Active windows");
if (AIT_FocusWindow("Installable Software", "#32770",0.0) > 0)
if(AIT_FocusWindow("Unpacking Installable Software...", "#32770", 0.0) > 0)
AIT_LogMessage("Unpacking Installable Software... is opened");
sloop_cnt= 0;
AIT_Sleep(SLEEP_TIME);
endif;
endif;
AIT_Sleep(SLEEP_TIME);
sloop_cnt = sloop_cnt + 1;
while ( sloop_cnt < sloop_max);
...
...
All Rights Reserved. Copyright (C) 2006, 2008, Hitachi, Ltd.