Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-07 Thread Daniel F
> I have this: > > -rw--- 1 niki users 1459352 Apr 1 2004 4-04-01/adder-0.3.3-src.zip > -rw--- 1 niki users 137800 Apr 1 2004 4-04-01/adder-0.3.3-win32.zip > -rw--- 1 niki users 69801 Apr 1 2004 4-04-01/adder-manual.zip > > Do you want any of them? By e-mail? yes, please!

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-07 Thread Niki Spahiev
Daniel F wrote: There is module for injection of *python* code in win32 apps. http://security.opennet.ru/base/patches/1080837482_191.txt.html this looks interesting, i wanted to give it a look, but it seems that rootkit.com (where the actual package is hosted) is not resolvable anymore. you dont h

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-06 Thread Daniel F
Well... i tried it... and sendinput officially does not work on ff7 (but does on notepad). so either ff7 is doing something really funky (not likely, since it does load dinput.dll), or sendinput is not actually upstream of directinput (more likely). but the only game i have that loads dinput.dll is

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-06 Thread Daniel F
> There is module for injection of *python* code in win32 apps. > > http://security.opennet.ru/base/patches/1080837482_191.txt.html > this looks interesting, i wanted to give it a look, but it seems that rootkit.com (where the actual package is hosted) is not resolvable anymore. you dont happen

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-06 Thread Daniel F
> I don't know the answer to this. Games tend to be straight-to-the-metal > applications: they don't truck with a lot of filtering and intermediate > DLLs. You might be able to use the debug APIs to watch for the loading > of the DirectInput DLL and insert some manual hooks, but that's a pretty >

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-06 Thread Niki Spahiev
Tim Roberts wrote: I don't know the answer to this. Games tend to be straight-to-the-metal applications: they don't truck with a lot of filtering and intermediate DLLs. You might be able to use the debug APIs to watch for the loading of the DirectInput DLL and insert some manual hooks, but tha

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-05 Thread Tim Roberts
Daniel F wrote: hmm, according to that site, sendinput just may be exactly what i need to send input to a directinput-using app. I will give it a shot and let know how it goes. i'm curious why pywin32 doesnt wrap sendinput, among other functions? any specific reason, or "just didnt get to it yet" ?

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-05 Thread Tim Roberts
Daniel F wrote: How about getkeyboardstate/setkeyboardstate functions, put together with attachthreadinput? would that be on the keyboard driver level, above directinput? or still below it, and thus bypassed? Actually, after doing some more reading, there may be a way to do what you want with t

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-05 Thread Daniel F
> >and > >how i would hook those keypresses/mouse moves, and how i would inject > >a keypress/mousemove for an application that is using directinput? Is > >that even possible? > > No. In order to do what you ask, you would need to write and install a > set of kernel filter drivers to inject the e

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-05 Thread Tim Roberts
OnMon, 4 Apr 2005 17:28:09 -0400, Daniel F <[EMAIL PROTECTED]> wrote: But now I am running into another problem. I was originally planning to use this on a game (final fantasy 7, in fact). I capture keystrokes in the system, then send them over the net and generate them on the remote comp, thus pla

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-04 Thread Daniel F
Thank you all for your suggestions. Seems like i had this all figured out... But now I am running into another problem. I was originally planning to use this on a game (final fantasy 7, in fact). I capture keystrokes in the system, then send them over the net and generate them on the remote comp,

Re: [python-win32] Help on using win32api.SendMessage to send keystrokes

2005-04-04 Thread Simon Brunning
On Mar 30, 2005 4:28 PM, Daniel F <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to use win32gui.SendMessage API (or PostMessage), and > cannot figure out why > it is not working. I would appreciate any help! Simple test script I > am using is included below. > > I am using pywin32-203 and pyth

[python-win32] Help on using win32api.SendMessage to send keystrokes

2005-03-30 Thread Daniel F
Hi, I am trying to use win32gui.SendMessage API (or PostMessage), and cannot figure out why it is not working. I would appreciate any help! Simple test script I am using is included below. I am using pywin32-203 and python 2.4, on winxp pro sp2. I am a total newbie to python, so if this is a rea