Hello,
I've a problem with sendig a lot of text by using ChatWnd.SendMessage. Afther 15 entries the chatwindow accept no input from the ChatWnd.SendMessage function. Is that a security? By that, how can I overrule the security?
I ve also tried with a wait/sleep but that doesnot work. (setTimeout("moveNext()", 1000)) afther 10 rows. Also the wait.dll does not make me happy. does not work or I make mistake.. .
Can someone help me?
if (RSSong.EOF)
{
ChatWnd.SendMessage("+.+ Niets gevonden" );
}
else
{
ChatWnd.SendMessage("+.+ Wel wat gevonden met " + ZoekenNaar );
var aa = 1
while (!RSSong.EOF)
{
if(aa == 10)
{
Interop.Call(MsgPlus.ScriptFilesPath+'\\Wait.dll', "Attente", 2000);
Interop.FreeDLL(MsgPlus.ScriptFilesPath+'\\Wait.dll');
RSSong.moveNext();
var aa = 1
}
else
{
aa = aa + 1
ChatWnd.SendMessage("+.+ ID:"+RSSong("ID").Value+" ---- " + RSSong("artist").Value + ", " + RSSong("title").Value);
RSSong.moveNext();
}
}
}
RSSong.Close();