Если закомментировать любой getmessage, то скрипт запустится без ошибок.
CODE:
createdialog(0);
createdialog(1);
createdialog(2);
loop()sleep(1);
function getmessage(0, WM_CREATE){}
function getmessage(1, WM_CREATE){}
function getmessage(2, WM_CREATE){}
function getmessage(0, WM_CLOSE){}
function getmessage(1, WM_CLOSE){}
function getmessage(2, WM_CLOSE){}
function getmessage(0, WM_COMMAND){}
function getmessage(1, WM_COMMAND){}
function getmessage(2, WM_COMMAND){}
function getmessage (0, WM_LBUTTONDOWN){}
function getmessage (1, WM_LBUTTONDOWN){}
createdialog(1);
createdialog(2);
loop()sleep(1);
function getmessage(0, WM_CREATE){}
function getmessage(1, WM_CREATE){}
function getmessage(2, WM_CREATE){}
function getmessage(0, WM_CLOSE){}
function getmessage(1, WM_CLOSE){}
function getmessage(2, WM_CLOSE){}
function getmessage(0, WM_COMMAND){}
function getmessage(1, WM_COMMAND){}
function getmessage(2, WM_COMMAND){}
function getmessage (0, WM_LBUTTONDOWN){}
function getmessage (1, WM_LBUTTONDOWN){}