Getting a handle to an external window / message box

new topic     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C19777.571FF8A0
	charset="iso-8859-1"

Hi everyone,

I am attempting to get around some of the deficiencies of the software that is
used at my workplace. As I am just a storeman there is no way that I will be
allowed access to the code to "fix" it (where it should have been fixed in the
first place!) so I am forced to do the job externally.

The software in question requires large amounts of repetitive data entry (for
example, a unique number followed by 3 presses of the "tab" key and then 4
presses of "enter"....over and over again).

I have had some success replacing the keypresses with a hotkey/macro utility
(downloaded from web). However the next phase is going to require programming.
Specifically, I need to get information regarding the feedback given by the
application to the user via a message box. I am thinking that I need to get a
handle to the window / message box. Is there a way I can get at the message box
of an external app from my own program?

Is there a way that I can get at the type of message box that is used at any
given moment. Such info would be sufficient to do the job I need.

Also, does anyone know of any code ( C would be OK ) which shows how to send
keyboard events to an external app? It would be nice to integrate the sort of
features found in the utility I am using, into my program.

Sorry for the long mail.

Happy New Year to all !!

Mark

------=_NextPart_000_0009_01C19777.571FF8A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4207.2601" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everyone,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am attempting to get around some of the 
deficiencies of the software that&nbsp;is used at my workplace. As I am just a 
storeman there is no way that I will be allowed access to the code to "fix" it 
(where it should have been fixed in the first place!) so I am forced to do the 
job externally.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The software in question requires large amounts of 
repetitive data entry (for example, a unique number followed by 3 presses of the
"tab" key and then 4 presses of "enter"....over and over again).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have had some success replacing the keypresses 
with a hotkey/macro utility (downloaded from web). However the next phase is 
going to require programming. Specifically, I need to get information regarding 
the feedback given by the application to the user via a message box. I am 
thinking that I need to get a handle to the window / message box. Is there a way
I can get at the message box of an external app from my own 
program?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is there a way that I can get at the type of 
message box that is used at any given moment. Such info would be sufficient to 
do the job I need.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, does anyone know of any code ( C would be OK 
) which shows how to send keyboard events to an external app? It would be nice 
to integrate the sort of features found in the utility I am using, into my 
program.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sorry for the long mail.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Happy New Year to all !!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>

------=_NextPart_000_0009_01C19777.571FF8A0--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu