I have setup this function but for it wont press it(enter) help would be appreciated to make it press the enter button.
Code:function AutoTele(): Boolean; begin Wait(10000 + Random(4000)); sendkeys ('::kbd') WriteLn('You have teleported kbd'); end;
I have setup this function but for it wont press it(enter) help would be appreciated to make it press the enter button.
Code:function AutoTele(): Boolean; begin Wait(10000 + Random(4000)); sendkeys ('::kbd') WriteLn('You have teleported kbd'); end;

Alright..so couple of options here.
1) Use SRL-6's "TypeSend" function which takes a boolean as its second parameter - whether or not to press enter
ie. TypeSend('::kbd', true);
OR
2) Send the enter key with KeyDown
ie:
SendKeys('::kbd');
KeyDown(13);
Wait(50 + Random(70));
KeyUp(13);
Note that if you use SMART I think you might have to change the 13 to 10.
There are currently 1 users browsing this thread. (0 members and 1 guests)