Hello. How would you make Simba write something? Not on RuneScape, but just in general. Thanks![]()
Hello. How would you make Simba write something? Not on RuneScape, but just in general. Thanks![]()
check out SendKeys and typesend etc...
I've done some research on it and found this:
Simba Code:SendKeys(keys, pause=0.05, with_spaces=False,
with_tabs=False, with_newlines=False,
turn_off_numlock=True)
and being an absolute beginner, I just put:
Simba Code:SendKeys("Hello", pause=0.05, with_spaces=False,
with_tabs=False, with_newlines=False,
turn_off_numlock=True)
And obviously it came up error. What school boy error am I doing?
Simba Code:program new;
begin
ActivateClient;//Activate's the target client(whichever window you drug the
//crosshairs over
//Wait's 1 second after activating the target client
Wait(1000);
//Types the text out waiting 155 ms in between each key
SendKeys('Hello, I''ll type into any targeted window...', 155);
end.
Simba Code:SendKeys('Your text here', 10);
KeyDown(13); //Pressing down enter
KeyUp(13); //Unpressing enter
The 10 is how fast it types in milliseconds.
I don't understand what you're saying. If you ran the script:
Your computer will think that you hit the "enter" key (also known as the "return" key)Code:program new; begin Keydown(13); end.
Although, I don't believe Keydown and Keyup are the commands you wanted to know about.
{If you are wanting to know more, visit http://www.asciitable.com/
You will see that 13 corresponds to carriage return (the enter key)
Also, Type keydown(VK_
Then hold down ctrl and press space.
If you don't want to know more about them, then ignore this..
}
Last edited by Mushini; 02-28-2012 at 08:32 AM.
Triggers..
be sure to use keyUp as well. You probably don't want to hold enter down for infinity... :P
Yes, although I'd add a wait between the two. Theoretically what you have would be pressing the enter key and releasing it instantly. A few millisecond wait should be find. If you're trying to be human then add a little randomness to it.
Absolutely, I'm never on it unless someone asks for help though. So you'll have to PM me on here if you want me to get on MSN.
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)