![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: How to create a command that references another command Topic Summary: Created On: 09/23/2021 09:23 AM Status: Post and Reply |
|
![]() |
![]() |
- ABS9986 | - 09/23/2021 09:23 AM |
![]() |
![]() |
- Mphillipson | - 09/23/2021 12:07 PM |
![]() |
![]() |
- Lunis Orcutt | - 09/23/2021 12:52 PM |
![]() |
|
I'm trying to create a command that basically moves the mouse all the way to the left of the screen, then clicks, then scrolls down to the bottom. This is on the website confluence which has a sub pane on the left with its own scrollbar. |
|
|
|
![]() |
|
If you put the path and filename at the beginning of a script as follows, the script will have access to whatever is inside the included file.
'#Uses"C:\Users\Public\Documents\KnowBrainerSharedCode.txt" However this is really only useful when you are calling the same code from different scripts. It promotes code reuse and makes managing the code easier. Also if your script is not working, you may need to consider dividing up the commands between wait commands for example: Wait 0.1 ------------------------- Thanks Mark
Dragon Professional Advanced Scripting/KnowBrainer Scripts |
|
|
|
![]() |
|
We are not certain the following is what you are looking for but might be an option. 2. Create a new Advanced-Scripting command in either KnowBrainer or Dragon (preferably Dragon) 3. Paste the contents of the clipboard at the top of the command 4. Add a script to move the cursor to the bottom of the field. It might look something like the following but obviously the Mouse Position would be different on your computer:
Sub Main SetMousePosition 1,145,753 Wait 0.5 ButtonClick 1,1 Wait 0.3 SendKeys ^{End}" End Sub ------------------------- Change "No" to "Know" w/KnowBrainer 2022 |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.