Both VB's SendKeys and our Windows Key commands are pretty much the same as
actually pressing keys...they both go right to the hardware.  You might try
VB's SendKeys "keys to send", True command.  The True causes the command to
wait around until the keys are full absorbed.  Also try:

Activate "Caption"
Wait 1
SendKeys "keys to send", True 
Wait 1

in case there's a weird timing issue.

Also try to paste the characters from the clipboard (VB6 only), as in:

Activate "Caption"
Clipboard.SetText "keys to send"
SendKeys "^v", True

Rich McNeil
Boston Software Systems
866 653 5105
www.bostonworkstation.com
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil Carman
Sent: Tuesday, April 13, 2004 12:23 PM
To: Boston WorkStation
Subject: [Talk] McKesson Practice Point Plus

Has anyone written scripts to post claims in McKesson's Practice Point Plus?
We are trying to post line items rather than claim totals.  It is a GUI
interface and I'm having trouble writing to the amount fields below the line
item detail textbox.  The upper part of the screen has claim information and
I can locate the proper textboxes and write data to them.  The lower part of
the screen contains line item data.  The values in the line item textboxes
change depending on which line item is highlighted. 

I have been able to verify programatically and by watching it on screen that
I am at the correct textbox, but attempts to write data do not get entered
into the selected textbox.  My test script attempts to write values in 3
different textboxes.  I see the cursor appear in each of the three text
boxes and I only write the value after verification that I am at the correct
control, but nothing changes in the textboxes.  After all
3 boxes have been written the cursor jumps to the Remark textbox in the
claim portion of the screen and dumps a concatenation of the 3 entries in
that textbox.  I have tried a standard write and VB SendKeys but neither
work.

I've run out of ideas and would apprciate any suggestions that anyone might
have.

Thanks in advance.

--
Neil Carman
Director Technical Development
Manigault & Associates LLC

http://www.m-allc.com
Work: (805) 680-5601
Fax:  (714) 968-5632




Reply via email to