sm321
2012-02-27 11:28:13
Hello. How would you make Simba write something? Not on RuneScape, but just in general. Thanks :)
2012-02-27 11:28:13
2012-02-27 11:34:01
2012-02-27 12:34:53
From: footballjds
check out SendKeys and typesend etc…
SendKeys(keys, pause=0.05, with_spaces=False,
with_tabs=False, with_newlines=False,
turn_off_numlock=True)SendKeys("Hello", pause=0.05, with_spaces=False,
with_tabs=False, with_newlines=False,
turn_off_numlock=True)2012-02-27 12:58:22
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.
2012-02-27 13:00:52
SendKeys('Your text here', 10);
KeyDown(13); //Pressing down enter
KeyUp(13); //Unpressing enter2012-02-27 13:10:40
From: footballjds
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.
From: Failure
SendKeys('Your text here', 10);
KeyDown(13); //Pressing down enter
KeyUp(13); //Unpressing enter
The 10 is how fast it types in milliseconds.
Pressing down enter2012-02-27 14:15:56
From: sm321
That worked, thanks :)
From: sm321
I don't get thePressing down enter
And thanks :)
2012-02-28 03:12:12
From: footballjds
Sure thing (:
13 is the identifier for the "enter key".
Therefore keydown(13); simulates a pushing the enter key down.
2012-02-28 03:25:05
From: sm321
So if I typed 13, it would start?
program new;
begin
Keydown(13);
end.2012-02-28 03:28:01
From: Mushini
I don't understand what you're saying. If you ran the script:program new;
begin
Keydown(13);
end.
Your computer will think that you hit the "enter" key (also known as the "return" key)
Although, I don't believe Keydown and Keyup are the commands you wanted to know about.
KeyDown(13);]/SIMBA]
and it worked, thanks :)
2012-02-28 08:56:02
2012-02-28 09:41:14
From: footballjds
be sure to use keyUp as well. You probably don't want to hold enter down for infinity… :P
KeyDown(13);
KeyUp(13);2012-02-28 09:45:33
From: sm321
I take it you just do:KeyDown(13);
KeyUp(13);
From: sm321
Off-topic, can I add your MSN?