标题: 等待按键无反应 [打印本页] 作者: hyg1393040 时间: 2012-5-16 23:46 标题: 等待按键无反应 功能 逻辑型 开始_点击()
while (i<999)
int keycode=keyboard.waitkey()
if (keycode == 120)
int hwnd=dm.GetMousePointWindow()
aa【i】=convert.inttostr(handle)
help.writeini("jb",convert.inttostr(hwnd),convert.inttostr(handle),"c:\\wt\\qqxl\\abc1.ini")
int keycode1=keyboard.waitkey()
if (keycode1 == 123)
help.messagebox("123")
int hwnddown=dm.GetMousePointWindow()
string handledown=help.readini("jb",convert.inttostr(hwnddown),"c:\\wt\\qqxl\\abc1.ini")
thread.closethread(convert.strtoint(handledown,0))
int dm_jb = dm.UnBindWindow()
endif
i=i+1
endif
endwhile
return true
endfunction
//////////////////////////////////////////////////////////////////////////////////////////////
namespace dg
function int daguai()
while(1==1)
////////////////////////////
具体操作步骤
////////////////////////
endwhile
endfanction
endnamespace