KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Macro problem
Topic Summary: a macro that crashesDragon
Created On: 10/27/2011 08:43 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 Macro problem   - Allan - 10/27/2011 08:43 AM  
 Macro problem   - Lunis Orcutt - 10/27/2011 12:40 PM  
 Macro problem   - Allan - 10/28/2011 01:01 PM  
 Macro problem   - Lunis Orcutt - 10/29/2011 11:23 PM  
 Macro problem   - Allan - 11/01/2011 02:23 PM  
 Macro problem   - Alan Cantor - 11/02/2011 11:53 AM  
 Macro problem   - Allan - 11/02/2011 11:09 PM  
Keyword
 10/27/2011 08:43 AM
User is offline View Users Profile Print this message


Allan
Top-Tier Member

Posts: 334
Joined: 03/25/2008

I have recently upgraded my computer to a i7 processor. I have a macro that I have successfully used on my previous computer without any difficulty to find the mouse position. The program itself is available to be looked at on the following site .  When this macro is called it works perfectly however Dragon immediately stops working. Could anybody provide me with some information as to why this might happen?

ajg

 10/27/2011 12:40 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22772
Joined: 10/01/2006

You didn't include your command but does it look like the following attached Find Mouse Position command? If so, we use ours fairly frequently without issue?




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


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

 10/28/2011 01:01 PM
User is offline View Users Profile Print this message


Allan
Top-Tier Member

Posts: 334
Joined: 03/25/2008

Enclosed is a WORD format of the macro.



 10/29/2011 11:23 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22772
Joined: 10/01/2006

We recommend testing our version of this command; see previous attachment.

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


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

 11/01/2011 02:23 PM
User is offline View Users Profile Print this message


Allan
Top-Tier Member

Posts: 334
Joined: 03/25/2008

Thank you for the "new" version.  however, I am typing this now because running the macro once stops any recognition.

 

ajg

 11/02/2011 11:53 AM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 1509
Joined: 12/08/2007

I wonder whether the script needs updating for 64-bit Windows. I don't have a way to test this now, but perhaps the three references to "user32" need to be changed to "user64?"

' declare Win32 API functions  
Declare Function GetCursorPos Lib "user32" _   
Alias "GetCursorPos" (lpPoint As POINTAPI) As Long

Declare Function GetWindowRect Lib "user32" _
Alias "GetWindowRect" (ByVal hwnd As Long, _ lpRect As RECT) As Long

Declare Function GetForegroundWindow& Lib "user32" ()
 11/02/2011 11:09 PM
User is offline View Users Profile Print this message


Allan
Top-Tier Member

Posts: 334
Joined: 03/25/2008

I am using 32 bit becasue some of my web sites fro medical records will not work on 64.
Statistics
27430 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 2 users logged in.
The most users ever online was 2028 on 04/05/2013 at 07:36 PM.
There are currently 152 guests browsing this forum, which makes a total of 154 users using this forum.

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