![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Output list of custom commands to a plain text document? Topic Summary: Created On: 08/10/2021 01:11 PM Status: Post and Reply |
|
![]() |
![]() |
- benTalks | - 08/10/2021 01:11 PM |
![]() |
![]() |
- Lunis Orcutt | - 08/10/2021 03:17 PM |
![]() |
![]() |
- Ag | - 08/16/2021 11:25 PM |
![]() |
![]() |
- R. Wilke | - 08/10/2021 03:34 PM |
![]() |
![]() |
- Edgar | - 08/10/2021 03:49 PM |
![]() |
![]() |
- Edgar | - 08/10/2021 03:51 PM |
![]() |
![]() |
- Lunis Orcutt | - 08/15/2021 02:06 PM |
![]() |
![]() |
- Lunis Orcutt | - 08/15/2021 02:25 PM |
![]() |
![]() |
- monkey8 | - 08/18/2021 05:14 PM |
![]() |
![]() |
- benTalks | - 08/15/2021 12:47 PM |
![]() |
![]() |
- Edgar | - 08/15/2021 06:36 PM |
![]() |
![]() |
- Ag | - 08/16/2021 11:16 PM |
![]() |
![]() |
- kkkwj | - 08/17/2021 10:47 PM |
![]() |
![]() |
- monkey8 | - 08/18/2021 05:08 PM |
![]() |
|
I use a programmer's text editor (PSPad) to do exactly this quite easily. This topic is posted in the KnowBrainer section so, as an example, here are the first 27 lines of its command file: <?xml version="1.0" encoding="utf-8"?> <!----> <!--KnowBrainer Professional XML Command File--> <!----> <!----> <KnowBrainerCommands version="014"> <Commands scope="global" group="new global"> <Command name="Duck To <dictation>" group="" enabled="true"> <description></description> <content type="WinWrap Basic"><![CDATA[ Sub Main ShellExecute "https://duckduckgo.com/" Wait 3 'Clipboard ListVar1 'Wait 0.4 'SendKeys "^v" 'Wait 0.4 SendKeys ListVar1, 1 SendKeys "~" Wait 3 SendKeys "~" End Sub ]]></content> </Command> <Command name="<keyname> Release" group="" enabled="true"> <description></description> <content type="WinWrap Basic"><![CDATA[ and here are a few other command name lines:
25: <Command name="<keyname> Release" group="" enabled="true"> 40: <Command name="Zotz <FlowTypes> Constructor" group="" enabled="true"> 144: <Command name="Download Tiny <1to100>" group="" enabled="true"> 216: <Command name="Helper Download <1to100>" group="" enabled="true"> 316: <Command name="Inject Directly <dictation>" group="" enabled="true"> 324: <Command name="Download Panel" group="" enabled="true"> 334: <Command name="Do The Scan" group="" enabled="true"> 342: <Command name="Forced Injection <dictation>" group="" enabled="true"> 439: <Command name="Remove Leading" group="" enabled="true"> (remember, this is my version of the KnowBrainer commands file). PSPad exports all of the lines which denote command names to a text file. You can then easily strip all of the leading line numbers off, remove all of the [<Command name="] prefixes and all of the [" group="" enabled="true">] suffixes leaving you with something which looks like: Duck To <dictation> <keyname> Release Zotz <FlowTypes> Constructor Download Tiny <1to100> Helper Download <1to100> Inject Directly <dictation> Download Panel Do The Scan Forced Injection <dictation> Remove Leading if the list names look a bit strange you can do another pair of replacements, replace [<] with [<] and [>] with [>]: Duck To <dictation> <keyname> Release becomes: Duck To <dictation> <keyname> Release etc. you could then sort this to show all command names in alphabetical order. One drawback is that it is a little more work to sort these commands out as to availability (global, application- / window-specific). ------------------------- -Edgar |
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.