KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Creating a DragToPoint Macro
Topic Summary: Trying to create a macro to drag a window to a specific point
Created On: 08/17/2008 08:28 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Creating a DragToPoint Macro   - hrosensweig - 08/17/2008 08:28 PM  
 Creating a DragToPoint Macro   - Lunis Orcutt - 08/17/2008 11:13 PM  
Keyword
 08/17/2008 08:28 PM
User is offline View Users Profile Print this message


hrosensweig
Junior Member

Posts: 9
Joined: 06/02/2008

Hello,

 I'm using Dragon 9.5 with Lotus Notes and Windows XP.  A customer would like to shrink the size of the window containing the body of an email message so that he can read it more easily when magnified with a program called ZoomText.

 I know how to get the coordinates of the mouse ponter using Larry Allen's GetMousePosition macro, but could use some help with the RememberAtPoint and DragToPoint commands.

 Can someone give me some sample syntax of say moving the mouse pointer to location: 818, 263 and then Dragging the window to location 600, 263.

 many thanks,

 Harris



-------------------------
Harris
 08/17/2008 11:13 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22623
Joined: 10/01/2006

We suspect you are taking a difficult approach. Would it not be easier to simply shrink the size of the Window and bypass the use of the mouse? KnowBrainer 2007 includes commands like <Shorten/Widen/Taper/Narrow/Lenghthen> <1to100> and coarser Window commands that simultaneously shorten the width and length of the Window such as <Larger/Much Larger/Smaller/Much Smaller> Window. It might be even more logical to simply create 2 commands for a specific size Window since your customer will probably want to use a specific size each time. You could call the first command Small Window to shrink the Window and the second command Large Window to return the Window to its original size. The following is an example of how we accomplish this in KnowBrainer and should give you enough information on how to convert it to DNS Pro:

                    



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


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


 


 


 

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

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