KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Please, correct syntax error(s) before saving a macro - Looks good to me! But!
Topic Summary:
Created On: 04/29/2022 04:03 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 07/23/2022 04:53 PM
User is offline View Users Profile Print this message

Author Icon
Robert Snow
Top-Tier Member

Posts: 231
Joined: 04/18/2017

Windows 10 ro 64bit
OneNote 365 DeskTop
Dragon 15.61

Your right. I have laid out the process I use that gives me the ability to open up a Microsoft OneNote Notebook to a particular section within the notebook, and page. It does not matter if OneNote is open or closed, the results are the same.

Right click on any area of document (Brings up a Menu)
Select Copy Link to Paragraph (This is the link used in Dragon)


If you right click a Section Tab you will have a link to the Section etc. The following is the code I used in Advanced Scripting.

Sub Main
re"> AppBringUp "onenote:#MacroX-HotKey§ion-id={056E57F3-4E5C-4774-8BDB-EF885BB46A9B}&page-id={F54B3D96-E20B-4C7B-A2DA-56090BF8958F}&object-id={BE2D5859-8829-0541-0AE2-32EA0EAAF747}&B&base-path=B:\!MS\!OneNote\!MST-SYS\MacroX\!Dragon\HotKey.one""
End Sub

It does work as Global but your probably right (Application-Specific) is a smarter way to go. I also added a space between Sub Main & End Sub.
Bob

 

 



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

Robert Snow
Germantown, WI

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

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