Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Passing input to multiple programs

Name: Anonymous 2007-02-16 21:46

Honestly, I'm looking for a way to pass input to multiple instances of the same program, at the same time.  I can't edit these programs, so there's no way I can modify them, but if there's a way to code a program that will emulate keystrokes to multiple programs at the same time, I'd like to know ^^.

Honestly, this goes all my understanding of the convention of windows with focus and without focus, and only one window being able to have focus at a time, but I really don't have much expertise in this field, so I was wondering if anyone knew?

Just to clarify, this is in Windows XP.

Name: Anonymous 2007-02-16 21:54

YOU AER A FAGGOT.

Name: Anonymous 2007-02-16 21:54 (sage)

fucking script kiddies dont know when to stfu.

Name: Anonymous 2007-02-16 21:55

>>1
get out.. no seriously, kill yourself

Name: Anonymous 2007-02-16 23:01

I don't get it. What's wrong with asking this question? Is he talking about making a key logger and being "teh 1337 hax0r" or something?

Name: Anonymous 2007-02-16 23:14 (sage)

echo some shit>'some file'
echo some more shit>>'some file'
while 1
cat 'some file'|your_shitty_program&
end

oh wait, your not using a sane operating system. GTFO, you penisless faggot!

Name: Anonymous 2007-02-17 1:44

>>6
Did you even read the first post?

>>1
Look into the SetFocus, AttachThreadInput and SendInput win32 api

Name: Anonymous 2007-02-17 4:21

>>7

Thx

>>2
>>3
>>4
>>6

All faggots.  Not a script kiddie, kthx.

>>5

Looking for how to pass keyboard input to multiple programs.

Name: Anonymous 2007-02-17 7:22

>>1

Yeah, you can hack your way into doing that a few different ways.  No, it's not generally a good idea.  Why are you doing this?

Name: Anonymous 2007-02-17 7:31

>>7
maybe you should read >>6 's post.

Name: Anonymous 2007-02-17 7:42

>>10
"Just to clarify, this is in Windows XP."

Name: Anonymous 2007-02-17 8:11

>>11
"GTFO, you penisless faggot!"

Name: Anonymous 2007-02-17 8:14

lold many times

Name: Anonymous 2007-02-17 8:28

>>1
gb2gaia skR1p7 k1ddie... wait, are you a kiddie?  Please stay here.  You might want to remove your shirt, it is very warm in this room, with so many fat nerds here.

Name: Anonymous 2007-02-17 9:11

OP IS A FUCKING STUPID SCRIPT KIDDIE FAGGOT!

Name: Anonymous 2007-02-17 9:27

>>1
GTFO. no im fuckng serious.

Name: Anonymous 2007-02-17 13:24

>>9 It's for a friend
>>14 No, I'm 18 and I'm doing my first year of CompSci
>>15 Hi, faggot
>>16 No u

Name: Anonymous 2007-02-17 13:28

>>17
most people who posted here don't know programming at all.
look into pipes.
I don't know how you would do it under windows,
under linux look at the dup2() system call

Name: Anonymous 2007-02-17 14:57

>>1
Yes, there is, look into sendkeys or something

Name: Anonymous 2007-02-17 15:22

>>19
or:

SendMessageEx(HPARAM, WPARAM, LPARAM, HWND, LPCSTR, BSTR, PREF, LPCTBCSTR);

Name: Anonymous 2007-02-17 16:13

>>20
rofl. reminds me of

CreateWindow(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

Name: Anonymous 2007-02-17 16:53

Thanks for all the help everyone, SendKeys seems to be adequate for what I want it to do.  I don't know enough about the target program to be sending messages to it directly.

Name: Anonymous 2009-01-14 13:57

IHBT

Name: Anonymous 2012-03-23 23:39

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

Name: Sgt.Kabu鸥闒kiman풻뻒 2012-05-28 22:45

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List