Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: jcrouse1@xxxxxxxxxxx
- Date: 14 Aug 2006 11:15:51 -0700
JF,
I'm a noob here and as most am looking for a quick and easy solution.
How difficult can it be to spawn a process, send a keystroke, wait 3
seconds, send another keystroke, wait 3 seconds and then kill the
spawned application (actually the second keystroke will kill the
application so it's really this:
spawn a process
wait 3 seconds
send a keystroke
wait 3 seconds
send a keystroke (this one, ESC, kills the app)
I have spent the last 6 hours reading about shell, wait, API process
calls, SendMessage API. PostMessage API, Sleep API and other to the
point that I'm not sure what method I shyould be using is. As far as
your AX EXE suggestion, I have never attempted something like that and
it sounds over my head.
John
J French wrote:
On 14 Aug 2006 09:28:31 -0700, jcrouse1@xxxxxxxxxxx wrote:
J French,
Thank you for the reply. I am somewhat familiar with what you are
talking about. I have used it in VB .Net. I will look into it.
If you think there is a better method please go on. I wrote the parent
app myself so I have full control over it if I need to do anything to
the code.
You wrote both Apps ?
In that case the world is your oyster
- make the one you want to control an AX EXE
... or anything
Not sure about the .NET stuff
- we tend to be VB5/6 here
.
- Follow-Ups:
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: Ken Halter
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- References:
- Sendkeys / keybd_event Suggestion and Help Nneeded
- From: jcrouse1
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: jcrouse1
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: jcrouse1
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: jcrouse1
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: jcrouse1
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: J French
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: jcrouse1
- Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- From: J French
- Sendkeys / keybd_event Suggestion and Help Nneeded
- Prev by Date: ParamArray and Interfaces
- Next by Date: Re: ParamArray and Interfaces
- Previous by thread: Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- Next by thread: Re: Sendkeys / keybd_event Suggestion and Help Nneeded
- Index(es):
Relevant Pages
|