Solved [question]Console text to other program text

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

kaz

Coder
Full Member
Nobleman
Apr 3, 2013
160
1,183
7
Let's say I made a random text generator and I can get it to print into the console fine.
Now I have to get it to send the text or fake type the text to the chat box.

My code kind of looks like this right now

------------

const char* first[3] ={
"bob", "chance", "philip"};

const char* last[3] ={
"hokeat", "mike", "tracginton"};

int main()
{
while(1337 == 1337)
{
cout << first << " " << last << endl;
}
}

-------------

Can I get like a copy paste thingy going on or do I have to send fake key inputs and take 5-10 hours making it
 

Szaka

Coder
Full Member
Nobleman
Mar 14, 2013
161
718
3
u got infinite loop with cout inside, so what did you expect?

cout is a function which prints text in console and only console. Keyborad input is something totally different

And btw... use printf :)
 

kaz

Coder
Full Member
Nobleman
Apr 3, 2013
160
1,183
7
nah that isnt my actual code.
It was just a short example so you don't have to get through all of my complex unorganized code.
Also cout is just a temp debug thing I'm using.

I want to know if I can have my program fake "paste" what I can get to random select into the front window.
I've seen a chat spammer similar. You would type what you wanted to have spammed, then it would spam that text. I want my program to randomly select what it wants to have spammed without code manipulation

EDIT:: thats a bad reference code too.


const char* first[3] ={
"bob", "chance", "philip"};

const char* last[3] ={
"hokeat", "mike", "tracginton"};
int num;
int num2;

while(1337 == 1337)
{
num = (rand()%2)+1);
num2 = (rand()%2)+1);

cout << first[num] << last[num2] << endl;
Sleep(500);
}

I have my code similar to this atm
 
Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods