![]() |
KnowBrainer Speech Recognition | ![]() |


|
Topic Title: command to delete all unused bookmarks and the word before them? Topic Summary: I would like to have a command that will delete all unused bookmarks and the word right before the bookmark Created On: 06/15/2011 12:46 PM Status: Post and Reply |
|
![]() |
- gabor5454 | - 06/15/2011 12:46 PM |
![]() |
- MDH | - 06/15/2011 05:32 PM |
![]() |
- Lunis Orcutt | - 06/15/2011 08:19 PM |
![]() |
- gabor5454 | - 06/16/2011 11:28 AM |
|
|
|
|
I would like to have a command that will delete all unused bookmarks and the word right before the bookmark -or even better the whole line that the bookmark is in. for example Name: [01] Address: [02] favorite child: [03] Favorite color: [04] Favorite baseball team: [05]
If I don't use [03] and [05] I would like to delete both the bookmarks and the labels with a single command. If deleting a preceding word is easier than a whole line I have no problem with making the label a single word - i.e. "favorite child" can become "favorite_child" Thanks in advance Ricky G
|
|
|
|
|
|
|
|
|
gabor5454, Use the: "Delete Line" command. MDH ------------------------- |
|
|
|
|
|
|
|
|
If you are using KnowBrainer 2011 in Microsoft Word, you can say Delete Bookmarks to remove every unused KnowBrainer bookmark on the page but it only works in Microsoft Word and it doesn't remove the entire line or paragraph. Assuming that you're utilizing the same formatting as you displayed in this posting (each question in a separate paragraph) you can use the following formulae from within KnowBrainer. Aote that you are not limited to just KnowBrainer bookmarks. The following commands will delete any text that is enclosed in brackets [xxx], along with the adjacent paragraph or line. The 1st command is called Delete 1 Bookmark and the 2nd command is called Delete 2 Bookmarks. Note the bold purple 2 in the 2nd line of the script in the 2nd command. If you wish to create a command to delete 3 bookmarks, simply change the 2 to a 3 and so on. Also note that we additionally deleted the extra space left over by the original paragraph. You can always change the {Del 2} portion of the command by increasing the number to remove more lines or decreasing the number to remove less lines.
Delete 1 Bookmark SendSystemKeys "{Ctrl+Home}" HeardWord "select","[","through","]" SendSystemKeys "{Ctrl+Down}{Shift+Ctrl+Up}{Del 2}" Delete 2 Bookmarks SendSystemKeys "{Ctrl+Home}" I = 2 DO UNTIL I = 0 HeardWord "select","[","through","]" SendSystemKeys "{Ctrl+Down}{Shift+Ctrl+Up}{Del 2}" Wait 500 I = I -1 Loop Delete 3 Bookmarks SendSystemKeys "{Ctrl+Home}" I = 3 DO UNTIL I = 0 HeardWord "select","[","through","]" SendSystemKeys "{Ctrl+Down}{Shift+Ctrl+Up}{Del 2}" Wait 500 I = I -1 Loop Note that this option is not possible in DNS Premium without KnowBrainer. -------------------------
|
|
|
|
|
|
|
|
|
thanks - I'll give it a whirl RG |
|
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.