samedi 7 mars 2015

autoit function not working in node.js addon c++

here is the snippet of my code which I am using in node.js addon(C++).



p1 funcHandle1 = (p1)GetProcAddress(dllHandle,"AU3_Run");
p2 funcHandle2 =(p2)GetProcAddress(dllHandle,"AU3_Sleep");
p3 funcHandle3 = (p3)GetProcAddress(dllHandle,"AU3_Send");
funcHandle1(L"notepad", L"", 1);//opening notepad
funcHandle2(1000);
funcHandle3(L"test1"); //typing test1 also
funcHandle2(1000);
funcHandle1(L"notepad", L"", 1);//opening notepad again
funcHandle2(1000);
funcHandle3(L"test2");//but not able to type anything and nothing doing further
funcHandle2(1000);
funcHandle3(L"{tab}");


My script is paused or get killed ?


Aucun commentaire:

Enregistrer un commentaire