Uhhhhh, yes and no, or maybe.
I don't think I was explicit enough in my description.
· My interface allows my user to enter data into Meditech Abstraction Module,
· Press a hotkey combination,
· BWS script starts, collects data from Meditech, and calls the WinStrat API,
· WinStrat then has focus, and the user uses WinStrat to determine codes. At this time the NUMLOCK or CAPSLOCK keys may change from what they were; it is unpredictable,
· The user then files the WinStrat session, causing the API to return the data to the BWS script,
· BWS script parses the data, calls the different Meditech screens that are involved, and writes the data to the screens,
· Then the user regains control after the script is finished.
· The NUMLOCK or CAPSLOCK keys once again may change from what they were; it is unpredictable.
I believe that what you propose inputs data from the VB code to the media being addressed in either locked or unlocked status.
I need to ensure that the physical keys remain in the status they were in when the user began the script.
I may also have mis-lead you by asking about VB. I am using VBA, and I do not see an Upper or Lower function available.
Thanks for the suggestion, and I am sorry if I wasn't clear enough.
Lew Hundley
Information Specialist - Programmer
Silverton Hospital
Silverton Oregon
503.873.1657
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Neil Carman
Sent: Thursday, August 07, 2003 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [Talk] CAPSLOCK and NUMLOCK
Have you tried using the Upper or Lower function in VB?
ie. Key Upper(VariableName)
Or is this not applicable as a user is entering the data?
Lew Hundley wrote:
>(Win2000, BWS 6.5 rev 118, VBA, working with Meditech Magic 4.9,
>Meditech NUI Workstation and HSS WinStrat ver 0304 applications)
>
>
>Hi gang!
>
>I am Beta testing my script/interface with a user so that I can test
>with live data (seems that the random entry of numbers, especially
>encoder numbers in ABS is not a reliable test, as I am finding out
>quickly).
>
>My user gets frustrated that while the Meditech and WinStrat application
>windows are getting/changing focus during the running of the script, the
>CAPSLOCK and NUMLOCK keys get disabled (probably enabled too, but the
>frustration is with the disabling).
>
>Is there any way anyone has found to either lock the keys so they don't
>change, or to ensure that the keys are enabled by a command from the
>script.
>
>I saw the Console Connection portion of the BWS Help, but it doesn't
>appear to be what I want. Perhaps I can stick some VB code in the script
>to take care of this. I am just in a time crunch, and wanted to see if
>anyone else had done this from the script.
>
>TKs
>
>Lew Hundley
>Information Specialist - Programmer
>Silverton Hospital
>Silverton Oregon
>503.873.1657
>[EMAIL PROTECTED]
>
>
>
>
>
>
>
--
Neil Carman
Director Technical Development
Manigault & Associates LLC
Work: (866) 484-0658 ext. 6
Fax: (714) 968-5632
