KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Selecting multiple checkboxes with one command
Topic Summary:
Created On: 02/22/2022 07:39 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 Selecting multiple checkboxes with one command   - xxtraloud - 02/22/2022 07:39 AM  
 Selecting multiple checkboxes with one command   - Alan Cantor - 02/22/2022 10:02 AM  
 Selecting multiple checkboxes with one command   - Mphillipson - 02/23/2022 07:56 AM  
 Selecting multiple checkboxes with one command   - wristofdoom - 02/23/2022 12:50 PM  
 Selecting multiple checkboxes with one command   - xxtraloud - 04/25/2022 04:36 AM  
Keyword
 02/22/2022 07:39 AM
User is offline View Users Profile Print this message


xxtraloud
Top-Tier Member

Posts: 296
Joined: 12/14/2010

This is one of those cases when using voice control to browse the web is extremely tedious. In some pages there are multiple checkboxes and I might want to activate many of them. Once I say "checkbox" then I get all the numbers and I have to say "choose x". This means I have to repeat this tedious process as many time as needed.

It would be really useful if I could say "choose 1 through 5" or something like "choose 1, 4, 10,etc.". I find this intuitive but Nuance doesn't or maybe I don't know how to do this.



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

Win 10 - DPI 15 - AT 8 pro + Andrea USB

 02/22/2022 10:02 AM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 4313
Joined: 12/08/2007

Unfortunately, the "choose all" option is not available in this context. (It usually works in non-web applications.)

There is another approach you can experiment with that is, in some cases, less tedious. Open this page to experiment:


https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_checkbox

There are three checkboxes:

I have a bike

I have a car

I have a boat

To activate the first checkbox, you can say "click I have a bike". But you don't have to read the entire label. For example, "click bike" works just as well.

So you can quickly check all three items by saying:

"click bike [split-second pause] click car [pause] click boat".

If you've disabled the requirement to say "click", you can shorten the above to this:

"bike [pause] car [pause] boat".

This approach has limitations. You can only use it when all of the checkboxes you want to interact with contain unique label text -- the words cannot appear in other hypertext links, text label, etc.



 02/23/2022 07:56 AM
User is offline View Users Profile Print this message

Author Icon
Mphillipson
Top-Tier Member

Posts: 293
Joined: 09/22/2014

Also, it would be possible if all the checkboxes are laid out together, to create a script that repeats a variable number of times.

This is supposing that the Tab and the Space key work by checking the checkboxes.

 

Please see the following video that highlights this method:

 

https://youtu.be/KbjK_VWTrZo

 



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

Thanks Mark


 


Dragon Professional Advanced Scripting/KnowBrainer Scripts
Video Examples of Coding by Voice

 02/23/2022 12:50 PM
User is offline View Users Profile Print this message

Author Icon
wristofdoom
Top-Tier Member

Posts: 321
Joined: 09/03/2020

I have a script like the one that Mark posted.

tab space <1to200>

Sub Main
finish = ListVar1
For number = 1 To finish
SendKeys "{tab}"
Wait 0.1
SendKeys "{Space}"
Next number
End Sub




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

Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017.

 04/25/2022 04:36 AM
User is offline View Users Profile Print this message


xxtraloud
Top-Tier Member

Posts: 296
Joined: 12/14/2010

Excellent advises folks, thank you!

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

Win 10 - DPI 15 - AT 8 pro + Andrea USB

Statistics
32305 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 481 guests browsing this forum, which makes a total of 481 users using this forum.

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