I believe it is a buffer issue.  Boston Workstation is using a stream,
which is buffered, to send the data to Meditech.  CTRL+C and CTRL+V are
Windows clipboard commands which interact with the Meditech application
through the Windows API rather than a stream.

HTH!
-- 

Bill Palmer
Financial Systems Analyst
Mid-Columbia Medical Center
541-296-7417


>>> On 10/28/2010 at 11:15 AM, in message
<[email protected]> wrote:
> If I change it to SendKeys, it appears to be working better...
> 
>  
> 
> I'm not entirely sure that a buffer is the issue, since I can do a 
> CTRL+C/CTRL+V and paste the entire text into the field in meditech
without 
> issue.
> 
>  
> 
> Looping wouldn't be doable either since the quick text includes
{Enter}, 
> {%}, "++", etc special commands so that they are entered as
keystrokes by 
> the script.
> 
>  
> 
> Thank you,
> 
> Mitch Lawrence
> 
> Lead Applications Analyst
> 
> Enterprise Data Standards - NPR/Automation
> 
> CHRISTUS Information Management
> 
> *: [email protected] 
> <mailto:[email protected]> 
> 
>  
> 
>  
> 
>  
> 
> From: [email protected] [mailto:[email protected]] 
> Sent: Thursday, October 28, 2010 1:12 PM
> To: [email protected] 
> Subject: RE: [talkbws] Proper syntax for @_FASTKEY?
> 
>  
> 
> I believe the issue is a buffer size - I forget what the limit is. 
The work 
> around is to chunk the data into the field with the key command
running in a 
> loop.
> 
>  
> 
>  
> 
> John Taylor
> Revenue Cycle Analyst, Information Systems | Augusta Health
> Office:  (540) 332-4882 | www.augustahealth.com
<http://www.augustahealth.com/> 
> 
>  
> 
>  
> 
> From: [email protected] [mailto:[email protected]] 
> Sent: Thursday, October 28, 2010 1:38 PM
> To: [email protected] 
> Subject: [talkbws] Proper syntax for @_FASTKEY?
> 
>  
> 
> Quick question. I'm doing a Meditech C/S 5.64 ITS Quick Text
dictionary 
> update and I'm having issues entering the replacement text, which is
usually 
> several paragraphs.
> 
>  
> 
> My data source has the entire replacement text in one field and BWS
enters 
> the text, but enters it seemingly to a random amount of the text.
> 
>  
> 
> For example, if my datasource field is:
> 
>  
> 
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris quis
tellus 
> lorem, a varius leo. Aenean fringilla dictum commodo. Fusce tortor
nulla, 
> placerat ac ultricies vel, tempor ac massa. Cras pellentesque, tortor
vitae 
> imperdiet commodo, augue magna vestibulum lacus, sit amet varius elit
purus 
> sit amet neque. Nunc a diam auctor dolor porttitor imperdiet. Aenean
ornare, 
> leo in mollis tincidunt, nisi purus tincidunt justo, sit amet
suscipit elit 
> lectus a nisi. Donec ut metus tortor, ut eleifend massa. Nam libero
metus, 
> sagittis vel sollicitudin sed, vehicula porta elit. Aliquam
fringilla, metus 
> ac sollicitudin pellentesque, justo lectus porta tortor, ut ultrices
quam dui 
> rutrum ante. Suspendisse commodo posuere risus, eu pretium ligula
euismod et. 
> Quisque ut risus non mi cursus rhoncus.
> 
>  
> 
> Then BWS enters:
> 
>  
> 
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris quis
tellus 
> lorem, a varius leo. Aenean fringilla dictum com
> 
>  
> 
> I think it is because BWS is too fast for meditech. I've done two
things to 
> try and alleviate this issue:
> 
>  
> 
> 1.   Share("WaitSpeed") = 0.8
> 
> 2.   Turn off FastKey
> 
>  
> 
> My question is, would this be the proper syntax to turn off fastkey,
enter 
> my replacement text, then turn fastkey back on?
> 
>  
> 
> Key "@_FASTKEYOFF"
> 
> Key D("REPLACEMENT TEXT")
> 
> Key "@_FASTKEYON"
> 
>  
> 
> Does anyone have any other suggestions for getting all my text into 
> Meditech?
> 
>  
> 
> Thank you,
> 
> Mitch Lawrence
> 
> Lead Applications Analyst
> 
> Enterprise Data Standards - NPR/Automation
> 
> CHRISTUS Information Management
> 
> *: [email protected] 
> <mailto:[email protected]> 
> 
> 
> 
>  
> 
>  
> 
>  
> 
> ---  To post a message to this list, send mail to: [email protected]  
 You are 
> currently subscribed as: [email protected]    Unsubscribe in
the 
> customer center on our website: 
>
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx

>   
> 
>  
> 
> ---  To post a message to this list, send mail to: [email protected]  
 You are 
> currently subscribed as: [email protected]   
Unsubscribe 
> in the customer center on our website: 
>
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx

>   
> 
> ---  To post a message to this list, send mail to: [email protected]  
 You are 
> currently subscribed as: [email protected]    Unsubscribe in the
customer center 
> on our website: 
>
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx

>   
CONFIDENTIALITY NOTICE: This e-mail message (including attachments)
is covered by the Electronic Communications Privacy Act, 18 U.S.C.
2510-2521, and is intended only for the person or entity to which it
is addressed and may contain confidential and/or privileged material.
Any unauthorized review, use, disclosure, dissemination, copying,
forwarding or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message. If you are the intended recipient but
do not wish to receive communication through this medium, please
advise the sender immediately.


---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   

Reply via email to