KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: wait command in ECW
Topic Summary: Using wait command in ECW Advanced Scripting Macro
Created On: 08/29/2011 08:52 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 wait command in ECW   - weeksville - 08/29/2011 08:52 PM  
 wait command in ECW   - Lunis Orcutt - 08/29/2011 09:40 PM  
 wait command in ECW   - weeksville - 08/29/2011 10:03 PM  
 wait command in ECW   - MDH - 08/30/2011 12:11 AM  
 wait command in ECW   - Lunis Orcutt - 08/30/2011 11:17 AM  
Keyword
 08/29/2011 08:52 PM
User is offline View Users Profile Print this message


weeksville
New Member

Posts: 6
Joined: 08/27/2011

I am using the basic point and click message

SetMousePosition 1,#,#

ButtonClick 1,1

in the Advanced Scripting Macros with voice commands to navigate around eClinicalWorks with suprising success.  However when I try to use the

Wait ####

instruction, ECW doesn't seem to like it.  After I use a voice command that has a Wait #### statement in it, the command doesn't work then, Dragon stops showing the real time text box and it won't dictate into any fields.  To correct this I have to shut down the computer and I get a error message during shutdown that says a program is running and I click on the end progam button and move on.  I restart the computer and all on the simple Point and Click comands work but if I try one with Wait #### what I just described above happens again.  Am I doing something wrong?

The script I am using with the Wait #### in it is

SetMousePosition 1,#,#

Wait ####

ButtonClick 1,1

Any help will be greatly appreciated.

 08/29/2011 09:40 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22772
Joined: 10/01/2006

Are you perhaps creating your wait times in milliseconds or full seconds? For example, in KnowBrainer, the code for a 1 second pause would be Wait 1000 but the same delay, in DNS Pro/Medical, would only be Wait 1.

-------------------------


Click KB 2012 REV D to Download a 30 Day Evaluation of KnowBrainer 2012
Click SpeechStart+ to Download a 15 Day Evaluation of SpeechStart+

 08/29/2011 10:03 PM
User is offline View Users Profile Print this message


weeksville
New Member

Posts: 6
Joined: 08/27/2011

Yes I used millisecs like the instructions from this link

http://www.knowbrainer.com/downloads/VerbalBasic_Manual.PDF

You say I should you 1 for 1 sec, not 1000?

Should I use 0.5 for 1/2 sec?

 08/30/2011 12:11 AM
User is offline View Users Profile Print this message

Author Icon
MDH
Top-Tier Member

Posts: 1554
Joined: 04/02/2008

Quote:
You say I should you 1 for 1 sec, not 1000? Should I use 0.5 for 1/2 sec?

 

Weeksville,

Use Wait 1

Wait .5

Wait 1.2

etc.

I have no problems using these waits in our EMR.

Mark



-------------------------
 08/30/2011 11:17 AM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22772
Joined: 10/01/2006

It depends on whether you are creating your Advanced Scripting commands in NaturallySpeaking or KnowBrainer. Since you mentioned Advanced-Scripting, we assume that you are creating commands in NaturallySpeaking and if our assumption is correct, then the answer would be to yes to both of your questions. Wait .5 or Wait 0.5 equals a 1\2 second wait time in DNS.

-------------------------


Click KB 2012 REV D to Download a 30 Day Evaluation of KnowBrainer 2012
Click SpeechStart+ to Download a 15 Day Evaluation of SpeechStart+

KnowBrainer Speech Recognition » EMR Medical » wait command in ECW

Statistics
27430 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 2028 on 04/05/2013 at 07:36 PM.
There are currently 207 guests browsing this forum, which makes a total of 207 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.