I had a suggestion to change the code to:
 
    Key "{HOME}"
    SendKeys "+{END}", True
    SendKeys "{DELETE}", True
 
and it works great on its own --- it won't work stepping through  !!!  I didn't realize how slow the character by character really was!!!
 
thanx!!!,  sherry
HCA Midwest Division IT&S
816/823-0406
 
   
-----Original Message-----
From: Corinna [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 4:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [Talk] Blocking and Deleting Text in a Windows Text Box

I just had a similar problem where it turned out I was not waiting long enough (pause) to make sure I was in the particular field before sending those keys. Try putting in a long wait (3 seconds) if that takes care of the problem then replace it with the appropriate pause string.
 
Thanks,
Corinna Robertson
 
Boston Software Systems
[EMAIL PROTECTED]
www.bostonworkstation.com
The Essential Tool for Healthcare Integration
866-653-5105 ext. 8
508-653-5105
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mitchell, Sherry
Sent: Thursday, December 09, 2004 5:47 PM
To: [EMAIL PROTECTED]
Subject: [Talk] Blocking and Deleting Text in a Windows Text Box

I can't get the following to highlight the character string so that the delete will delete the whole string not just the first character  ...  (OS is Windows 2000/ Service Pack 4, latest BostonWorkStation 7.0  if that might make a difference!). 
 
Key "{HOME}"
Key "{+END}"
Key "{DELETE}"
 
I'm also wondering how, when using FileSystemObject code (which I had tremendous help in setting up!!!),  to get a count of the number of files in the folder ???
 
 
thanx in advance!!!,  sherry
HCA Midwest Division IT&S
816/823-0406
 
 

Reply via email to