![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Check all the boxes at once... Topic Summary: Created On: 03/24/2021 09:01 AM Status: Post and Reply |
|
![]() |
![]() |
- Fmen | - 03/24/2021 09:01 AM |
![]() |
![]() |
- Alan Cantor | - 03/24/2021 11:18 AM |
![]() |
![]() |
- Fmen | - 03/24/2021 12:20 PM |
![]() |
![]() |
- Edgar | - 03/24/2021 12:28 PM |
![]() |
![]() |
- Fmen | - 03/24/2021 03:03 PM |
![]() |
![]() |
- Edgar | - 03/24/2021 04:50 PM |
![]() |
![]() |
- Matt_Chambers | - 03/24/2021 12:45 PM |
![]() |
![]() |
- Alan Cantor | - 03/24/2021 04:38 PM |
![]() |
|
Is there an easier way to check all 30 boxes on an Internet Explorer page other than the excrutiatingly slow: x=0 Do Until x=30 SendKeys " {tab}" x=x+1 Loop
|
|
|
|
![]() |
|
Try replacing SendKeys with SendDragonkeys or SendSystemKeys.
The code will probably run faster as a DVC command, although the syntax might be a little different. |
|
|
|
![]() |
|
Will do. Problem is the shear number of boxes. I was hoping for something like HeardWord "check", "all", "the", "boxes" or a vbs script alternative...
|
|
|
|
![]() |
|
I do this with a for loop and a list (1-5000) to control the number of iterations. 5000 might seem like a lot but I use two different applications which manage a database of over 500,000 items. A couple of hundred iterations are virtually instantaneous, a couple of thousand - maybe two seconds but most of that is redrawing time.
------------------------- -Edgar |
|
|
|
![]() |
|
Would you be able to provide an example. How is my loop different from yours that makes it so much faster? Thanks in advance. |
|
|
|
![]() |
|
Would you be able to provide an example. How is my loop different from yours that makes it so much faster? Sub Main For increment = 1 To Val (ListVar1) SendKeys "{Down}", 1 SendKeys "{Space}", 1 Next increment End Sub
------------------------- -Edgar |
|
|
|
![]() |
|
In DPI 15.61, a script like this using SendKeys works just great, faster than SendDragonKeys and just as fast as a DVC command. In earlier versions of Dragon, Alan's advice is absolutely right.
|
|
|
|
![]() |
|
Two or three times a year, I'm tasked with checking thousands of checkboxes on a webpage. |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.