1. Getting a handle to an external window / message box

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 message » categorize

2. Re: Getting a handle to an external window / message box

------=_NextPart_001_0000_01C19721.02C340B0


actually, I just finished such a program; unfortunately, it wasn't in euphoria,
but vbscript instead :(  I was using it through client access to reach an as/400
system (the tab, tab, enter, etc.. type of interface), read the data I needed,
then sending that data to an excel worksheet to print it in a decent looking
format.  It worked pretty well, and increased productivity for that task alone by
about 300%, so if you can do it, then by all means do so.

If you do happen to get a euphoria program to work in the same manner, I would
be extremely interested in seeing the source- vbscript had its advantages because
it was meant to do precisely what I did with it, but it didn't have the visual
ease of use that I had hoped it would.. my input/output functions were limited to
message boxes and input boxes.

On the other hand, if you want the source for the program I'd written, just let
me know.  I'm only a merchandise processor myself, so it's nice to know that
someone else is being completely taken advantage of other than myself.
----- Original Message -----
From: Mark Brown
Subject: Getting a handle to an external window / message box


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_001_0000_01C19721.02C340B0
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

<HTML><BODY BGCOLOR="#ffffff" STYLE="font:10pt verdana;
border:none;background-color:#ffffff; "><DIV>&nbsp;</DIV> <DIV>actually, I just
finished such a program; unfortunately, it wasn't in&nbsp;euphoria, but vbscript
instead&nbsp;:(&nbsp; I was using it through client access to reach an as/400
system (the tab, tab, enter, etc.. type of interface), read the data&nbsp;I
needed, then sending that data to an excel worksheet to print it in a decent
looking format.&nbsp; It worked pretty well, and increased productivity for that
task alone by about 300%, so if you can do it, then by all means do so.</DIV>
<DIV>&nbsp;</DIV> <DIV>If you do happen to get a euphoria program to work in the
same manner,&nbsp;I would be extremely interested in seeing the source- vbscript
had its advantages because it was meant to do precisely what&nbsp;I did with it,
but it didn't have the visual ease of use that&nbsp;I had hoped it would.. my
input/output functions were limited to message boxes and input boxes.</DIV>
<DIV>&nbsp;</DIV> <DIV>On the other hand, if you want the source for the program
I'd written, just let me know.&nbsp; I'm only a merchandise processor myself, so
it's nice to know that someone else is being completely taken advantage of other
than myself.</DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px;
MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV
style="FONT: 10pt Arial">----- Original Message -----</DIV> <DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt Arial; COLOR: black"><B>From:</B> Mark
Brown</DIV> <DIV style="FONT: 10pt Arial"><B>Sent:</B> Sunday, January 06, 2002
9:10 PM</DIV> <DIV style="FONT: 10pt Arial"><B>To:</B> EUforum</DIV> <DIV
style="FONT: 10pt Arial"><B>Subject:</B> Getting a handle to an external window /
message box</DIV> <DIV>&nbsp;</DIV> <META content="MSHTML 5.50.4207.2601"
name=GENERATOR> <STYLE></STYLE> <PRE>============ The Euphoria Mailing List
============  </PRE> <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 si
------=_NextPart_001_0000_01C19721.02C340B0--

new topic     » goto parent     » topic index » view message » categorize

3. Re: Getting a handle to an external window / message box

> Hi everyone,

Hi!

> 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?

I've written some routines for finding window handles based on their
captions (or for finding the current foreground window), you can get
them here:

http://www.rat-software.com/projects.html#window

> 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.

Also on the same page I have a clone of VBs Sendkeys procedure which
allows you to simulate keystrokes programmatically:

http://www.rat-software.com/projects.html#sendkeys

> Sorry for the long mail.
> 
> Happy New Year to all !!

Happy New Year :)

> Mark

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » goto parent     » topic index » view message » categorize

4. Re: Getting a handle to an external window / message box

Thanks Thomas!

Just tried the window handle code and it works perfectly.

I also tried the SendKeys example and it will do very
nicely.

Together, they will do exactly what I needed :)

Even I should be able to get this working in short order now.....

All the best,

Mark

----- Original Message ----- 
From: "Thomas Parslow (PatRat)" <patrat at rat-software.com>
To: "EUforum" <EUforum at topica.com>
Sent: Tuesday, January 08, 2002 1:53 AM
Subject: Re: Getting a handle to an external window / message box


> 
> > Hi everyone,
> 
> Hi!
> 
> > 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?
> 
> I've written some routines for finding window handles based on their
> captions (or for finding the current foreground window), you can get
> them here:
> 
> http://www.rat-software.com/projects.html#window
> 
> > 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.
> 
> Also on the same page I have a clone of VBs Sendkeys procedure which
> allows you to simulate keystrokes programmatically:
> 
> http://www.rat-software.com/projects.html#sendkeys
> 
> > Sorry for the long mail.
> > 
> > Happy New Year to all !!
> 
> Happy New Year :)
> 
> > Mark
> 
> Thomas Parslow (PatRat) ICQ #:26359483
> Rat Software
> http://www.rat-software.com/
> Please leave quoted text in place when replying
> 
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: Getting a handle to an external window / message box

This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C197BD.73C83BC0
charset="iso-8859-1"

Hi,

Yes please, I would really appreciate seeing the code. The basic job revolves
around scanning the barcodes on mortgage
files into the system. There are huge problems with the system as it stands. The
files come to us in boxes from the customer.
We place a barcode on the box and then scan the files to the box barcode. Sounds
simple but the "programmers" made a real
mess of it. Just doing this simple job locks out every other user while it looks
up the database. The worst of it however, is
that these "inactive" files were forgotten by our program designers. When the
company realised a mistake had been made (day
1) they cobbled together a second seperate application with which we scan these
(and only these) files. Half of these
inactive files are also refiles and require to be scanned on the original system
to raise a charge. In addition, the software
crashes constantly. It is a disaster!

I am planning to scan the box numbers / barcode numbers into a text file and
update the system automatically in quiet times
/ after hours. To do this I need to automatically access two different apps and
get feedback from them somehow as to what
they are doing (the only feedback they give to the user is as messages. The type
of message is important in determining what
the user does next with the file).

To date the area (not my area actually, but I have charge of it for the next 3-4
months) is 45,000+ files in arrears!

Many thanks for your help. I really appreciate it.

Mark

mabrown at senet.com.au


  ----- Original Message -----
  From: encephalon1 at msn.com
  To: EUforum
  Sent: Monday, January 07, 2002 6:14 PM
  Subject: Re: Getting a handle to an external window / message box




actually, I just finished such a program; unfortunately, it wasn't in
  euphoria, but vbscript instead :(  I was using it
through client access to reach an as/400 system (the tab, tab, enter, etc.. type
of interface), read the data I needed, then
sending that data to an excel worksheet to print it in a decent looking format. 
It worked pretty well, and increased
productivity for that task alone by about 300%, so if you can do it, then by all
means do so.

If you do happen to get a euphoria program to work in the same manner, I would
  be extremely interested in seeing the
source- vbscript had its advantages because it was meant to do precisely what I
did with it, but it didn't have the visual
ease of use that I had hoped it would.. my input/output functions were limited
to message boxes and in! put boxes.

On the other hand, if you want the source for the program I'd written, just
  let me know.  I'm only a merchandise
processor myself, so it's nice to know that someone else is being completely
taken advantage of other than myself.
    ----- Original Message -----
    From: Mark Brown
    Sent: Sunday, January 06, 2002 9:10 PM
    To: EUforum
    Subject: Getting a handle to an external window / message box


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 t! he 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 al! l !!
    >
    Mark





------=_NextPart_000_0008_01C197BD.73C83BC0
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></HEAD>
<BODY
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT: 10pt verdana;
BORDER-LEFT: medium none; BORDER-BOTTOM:
medium none; BACKGROUND-COLOR: #ffffff"
bgColor=#ffffff>
<DIV><FONT face=Arial>Hi,</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Yes please, I would really appreciate seeing the code. The
basic job revolves around scanning the barcodes on mortgage files into the
system. There are huge problems with the system as it stands. The files come to
us in boxes from the customer. We place a barcode on the box and then scan the
files to the box barcode. Sounds simple but the "programmers" made a real mess
of it. Just doing this simple job locks out every other user while it looks up
the database. The worst of it however, is that these "inactive" files were
forgotten by our program designers. When the company realised a mistake had been
made (day 1) they cobbled together a second seperate application with which we
scan these (and only these) files. Half of these inactive files are also refiles
and require to be scanned on the original system to raise a charge. In addition,
the software crashes constantly. It is a disaster!</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>I am planning to scan the box numbers /&nbsp;barcode
numbers into a text file and update the system automatically in quiet times /
after hours. To do this I need to automatically access two different apps and
get feedback from them somehow as to what they are doing (the only feedback they
give to the user is as messages. The type of message is important in determining
what the user does next with the file).</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>To date the area (not my area actually, but I have charge
of it for the next 3-4 months) is 45,000+ files in arrears!</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Many thanks for your help. I really appreciate
it.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Mark</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><A
href="mailto:mabrown at senet.com.au">mabrown at senet.com.au</A></FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
  <A title=encephalon1 at msn.com
  href="mailto:encephalon1 at msn.com">encephalon1 at msn.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=EUforum at topica.com
  href="mailto:EUforum at topica.com">EUforum</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 07, 2002 6:14
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Getting a handle to an
  external window / message box</DIV>
<DIV><FONT face=Arial></FONT><FONT
  face=Arial></FONT><BR></DIV><PRE>============ The Euphoria Mailing List
  ============
</PRE>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV>actually, I just finished such a program; unfortunately, it wasn't
  in&nbsp;euphoria, but vbscript instead&nbsp;:(&nbsp; I was using it through
  client access to reach an as/400 system (the tab, tab, enter, etc.. type of
  interface), read the data&nbsp;I needed, then sending that data to an excel
  worksheet to print it in a decent looking format.&nbsp; It worked pretty well,
  and increased productivity for that task alone by about 300%, so if you can do
  it, then by all means do so.</DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV>If you do happen to get a euphoria program to work in the same
  manner,&nbsp;I would be extremely interested in seeing the source- vbscript
  had its advantages because it was meant to do precisely what&nbsp;I did with
  it, but it didn't have the visual ease of use that&nbsp;I had hoped it would..
  my input/output functions were limited to message boxes and in! put
  boxes.</DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV>On the other hand, if you want the source for the program I'd written,
  just let me know.&nbsp; I'm only a merchandise processor myself, so it's nice
  to know that someone else is being completely taken advantage of other than
  myself.</DIV>
  <BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
  #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt Arial">----- Original Message -----</DIV>
    <DIV
    style="BACKGROUND: #e4e4e4; FONT: 10pt Arial; COLOR: black"><B>From:</B>
    Mark Brown</DIV>
    <DIV style="FONT: 10pt Arial"><B>Sent:</B> Sunday, January 06, 2002 9:10
    PM</DIV>
    <DIV style="FONT: 10pt Arial"><B>To:</B> EUforum</DIV>
    <DIV style="FONT: 10pt Arial"><B>Subject:</B> Getting a handle to an
    external window / message box</DIV>
    <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
    <META content="MSHTML 5.50.4207.2601" name=GENERATOR>
    <STYLE></STYLE>
<PRE>============ The Euphoria Mailing List ============  </PRE>
    <DIV><FONT face=Arial size=! 2>Hi everyone,</FONT></> DIV&gt;
    <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 t! he 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 al! l !!</FONT></DIV>
    <DIV><FONT face=Arial size=2>&gt;</FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial
size=2>Mark</FONT></DIV></DIV></BLOCKQUOTE><PRE>==^================================================================
This email was sent to: mabrown at SENET.COM.AU

EASY UNSUBSCRIBE click here: <A
href="http://topica.com/u/?b1dd66.b2mr14">http://topica.com/u/?b1dd66.b2mr14</A>
Or send an email to: EUforum-unsubscribe at topica.com

T O P I C A -- Register now to manage your mail!
<A
href="http://www.topica.com/partner/tag02/register">http://www.topica.com/partner/tag02/register</A>
==^================================================================</PRE><BR
  clear=all>
  <HR>
  Get more from the Web. FREE MSN Explorer download : <A
  href="http://explorer.msn.com">http://explorer.msn.com</A><BR>

------=_NextPart_000_0008_01C197BD.73C83BC0--

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu