We are using BWS v8 to help build a Healthcare application called Soarian, by 
Siemens  Corp.  Our IT staff accesses the Soarian application (called Admin 
Desktop) using Microsoft's Remote Desktop Connection utility (similar to 
Citrix).

I connect to the application using OCR.  The problem I have is sending 
characters to fields in the application.  I have tried:
OCR.Key "hello"
SendKeys "hello"
Key "hello"
None of them are filling-in the field with the word "hello" (without quotes).  
I did find that if I used OCR.Key "{DELETE}", it does delete the content of the 
field.  Here's the code... 

Sub InactivateSvcs()
   Connect "SDevDsktp", stOCR
   OCR.FontSmoothing = False
   OCR.Key "{DELETE}"
   SendKeys "{HOME}"
   SendKeys "hello"
   OCR.Key "hi"
   Key "h"

I tried this using an OCR connection on the same application but the 
application is running on my PC (not using Remote Desktop Connection).  The 
commands above work for the most part.  Actually the "Key" command seems more 
reliable.  Anyone know why I can't send/paste characters into input fields 
using the OCR connection via Remote Desktop Connection?

Thanks,
Neil Hans
Alegent Health
Omaha, NE
ph. 402-717-1079



Reply via email to