KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Dragon with ZoomText Display Magnification Software
Topic Summary: Controlling ZoomText magnification software with Dragon
Created On: 06/20/2021 09:05 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 Dragon with ZoomText Display Magnification Software   - Kiwiman - 06/20/2021 09:05 AM  
 Dragon with ZoomText Display Magnification Software   - Alan Cantor - 06/20/2021 10:49 AM  
 Dragon with ZoomText Display Magnification Software   - Edgar - 06/21/2021 08:53 AM  
 Dragon with ZoomText Display Magnification Software   - Lunis Orcutt - 06/21/2021 12:07 PM  
 Dragon with ZoomText Display Magnification Software   - Kiwiman - 06/21/2021 05:35 PM  
 Dragon with ZoomText Display Magnification Software   - Alan Cantor - 06/21/2021 07:15 PM  
 Dragon with ZoomText Display Magnification Software   - Kiwiman - 06/23/2021 12:03 PM  
 Dragon with ZoomText Display Magnification Software   - Digital_ecologist - 08/28/2021 11:28 PM  
 Dragon with ZoomText Display Magnification Software   - Lorna - 09/01/2021 09:42 AM  
Keyword
 06/20/2021 09:05 AM
User is offline View Users Profile Print this message


Kiwiman
Junior Member

Posts: 24
Joined: 05/08/2009

Hello,

Does anyone have experience creating Dragon scripts to control a program for persons with low vision called ZoomText?

ZoomText has many hotkeys to control zooming in and zooming out with any one of three modifier keys e.g.

Caps Lock + Up Arrow increases magnification

Caps Lock + Down Arrow decreases magnification

Caps Lock + A starts reading and highlighting text from the cursor

Note: you can tell ZoomText to use Caps Lock, Scroll Lock or Insert key as the modifier.

I am not able to simply say "Press Caps Lock Up Arrow" and have it pass thru to ZoomText.

An advanced script with SendKeys also does not work.

Can anyone shed light on how we could pass these keys to the application?

Would we need some kind of dll call to access the application?

Many thanks,

Harris

 06/20/2021 10:49 AM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 4183
Joined: 12/08/2007

If ZoomText can only use Caps Lock, Scroll Lock, or the Insert key as modifiers, I'm not sure how to do it.

AutoHotkey supports holding down two keys at a time as hotkey triggers, so that might be an option.

Another possibility is to change ZoomText settings. Find out whether the hotkey reassignment screen allows the assignment of key sequences that include two standard modifiers (e.g., Ctrl + Alt + Up arrow) or three (e.g., Shift + Ctrl + Alt + Q). If increase magnify can be assigned to Ctrl + Alt + Up arrow, for example, then Dragon should be able to handle it.
 06/21/2021 08:53 AM
User is offline View Users Profile Print this message

Author Icon
Edgar
Top-Tier Member

Posts: 1202
Joined: 04/03/2009

Which applications do you expect ZoomText to work with? Most browsers, word processors and many text editors will allow you to zoom in and out when you hold down the control key and move the mouse scroll wheel forward or backward. This might be a viable alternative. Does your mouse have a scroll wheel? If so, try this technique in situations where you want ZoomText to magnify the text - you might not need ZoomText at all.

If this satisfies your needs, there are Dragon® macros to simulate controlled scroll wheeling.



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

-Edgar
DPI 15.3, 64-bit Windows 10 Pro, OpenOffice & Office 365, Norton Security, Shure X2U XLR to USB mic adapter with Audio Technica DB135 vocal mic, Asus X299-Deluxe Prime, Intel Core i9-7940X (14 core, 4.3 GHz overclocked to 4.9 GHz), G.SKILL TridentZ Series 64GB (4 x 16GB) DDR4 3333 (PC4 26600) F4-3333C16Q-64GTZ, NVIDIA GIGABYTE GeForce GTX 1060 GV-N1060G1 GAMING-6GD REV 2.0 6GB graphics card with 3 1920x1080 monitors

 06/21/2021 12:07 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 39368
Joined: 10/01/2006

Just adding a smidgen of additional information… If you're using KnowBrainer 2017, you already have this capability and if you don't, you can copy the following Advanced-Scripting command into Dragon. The following script allows you to Zoom <1to20>. Note that Dragon doesn't natively include the 1to20 list so you will also need to add this list or settle for Zoom <1to10>.

 

Sub Main
SendKeys "^{Pad+ "+ListVar1+"}"
End Sub


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

Change "No" to "Know" w/KnowBrainer 2020
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ex 1

 06/21/2021 05:35 PM
User is offline View Users Profile Print this message


Kiwiman
Junior Member

Posts: 24
Joined: 05/08/2009

Thank you Alan, Edgar and Lunis!

Unfortunately, ZoomText only has ability to use Scroll Lock, Caps Lock and Insert keys as modifiers.

The scroll wheel idea is really good and we can try that. We will be using the ZoomText in a variety of applications from web to Word and Outlook.

That is a great script for Zooming in a browser!
 06/21/2021 07:15 PM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 4183
Joined: 12/08/2007

In Microsoft Word, if you check the "Show text wrapped within the document window" option (Options > Advanced), and change the View to "Draft," documents that you magnify via Ctrl + mouse wheel never scroll off the right side of the window. Although you loose WYSIWYG, you gain the ability to magnify up to 500% without the need to scroll horizontally.
 06/23/2021 12:03 PM
User is offline View Users Profile Print this message


Kiwiman
Junior Member

Posts: 24
Joined: 05/08/2009

Thanks Alan! I wasn't aware of the "Show text wrapped..." option.

Much appreciated
 08/28/2021 11:28 PM
User is offline View Users Profile Print this message

Author Icon
Digital_ecologi..
Power Member

Posts: 51
Joined: 08/21/2018

Greetings, not sure if this will work, but you might be able to implement those Zoomtext key bindings as voice commands using the dragonfly2 Python package as an intermediary. I'm not sure if the lock keys are in a special category, where they can't be held and released using the standard up down modifiers, but if they work the way the other keys do, the Zoomtext key bindings should be possible.

 

If you want to explore this further, check out the documentation link below.

 

https://dragonfly2.readthedocs.io/en/latest/actions.html#key-action

 09/01/2021 09:42 AM
User is offline View Users Profile Print this message

Author Icon
Lorna
New Member

Posts: 1
Joined: 09/01/2021

Hello,

You can reassign the zoomtext keyboard commands to CTRL, ALT, Shift.

In your zoomtext (version2021) toolbar, goto Zoomtext > command keys >

Select the function you want to reassign from the list i.e. Magnifier: Zoom in

Select 'assign hot key' button at bottom left

Change the assigned hot key from Caps lock to CTRL + ALT

In Dragon, goto Tools > Add new command, in MyCommands editor, create a custom voice command using step by step command type to zoom in (CTRL + ALT + Up).

Lorna

Statistics
32177 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 322 guests browsing this forum, which makes a total of 322 users using this forum.

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