The just released Nisus Writer Pro version 2.0.5 update includes a host of macro language enhancements. New objects like Bookmark, CrossReference, Font, Link, Menu, Selection, Sound, StatusItem, and TableCell let you control additional elements. You can now also create hyperlinks that run macros when clicked, which is useful for some tricks.
Please see the updated Macro Language References, included on the Help menu of version 2.0.5. You can search for "v2.0.5" to find all new and updated features.
Nisus Writer Pro 2.0.5 macro enhancements
Re: Nisus Writer Pro 2.0.5 macro enhancements
Could we just edit an existing link so that it calls a macro in the menu?
What text should be inserted to do that?
What text should be inserted to do that?
Re: Nisus Writer Pro 2.0.5 macro enhancements
The following options will work:js wrote:Could we just edit an existing link so that it calls a macro in the menu?
What text should be inserted to do that?
Code: Select all
x-nisus-macro://…
or:
Code: Select all
x-nisus-macro-file://…
philip
Re: Nisus Writer Pro 2.0.5 macro enhancements
Given this new feature, it would seem a good idea to add a command "Add Link to Macro…" under the "Hyperlink" menu.
Of course now that we know that we can just write x-nisus-macro:// this isn't really needed, but it would be a little more user-friendly, especially if this was implemented with a selection dialog that would allow the user to choose the macro.
Of course now that we know that we can just write x-nisus-macro:// this isn't really needed, but it would be a little more user-friendly, especially if this was implemented with a selection dialog that would allow the user to choose the macro.
philip
Re: Nisus Writer Pro 2.0.5 macro enhancements
Thanks Philip.
This, and the possibility to link to aliases rather than hard links makes Nisus 2.0.5 far more than a minor update!
This, and the possibility to link to aliases rather than hard links makes Nisus 2.0.5 far more than a minor update!
- martin
- Official Nisus Person
- Posts: 5230
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
- Contact:
Re: Nisus Writer Pro 2.0.5 macro enhancements
Agreed! You can also generate these kinds of links using the new macro commands:phspaelti wrote:Given this new feature, it would seem a good idea to add a command "Add Link to Macro…" under the "Hyperlink" menu.
Link.newRunMacroWithMenuPath
Link.newRunMacroWithFilePath
Link.newRunThisMacro
Using these commands is much better than specifying the link scheme (eg: "x-nisus-macro") manually.