Nisus Writer Pro 2.0.5 macro enhancements

Get help using and writing Nisus Writer Pro macros.
Post Reply
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Nisus Writer Pro 2.0.5 macro enhancements

Post by martin »

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.
js
Posts: 259
Joined: 2007-04-12 14:59:36

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by js »

Could we just edit an existing link so that it calls a macro in the menu?
What text should be inserted to do that?
User avatar
phspaelti
Posts: 1313
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by phspaelti »

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?
The following options will work:

Code: Select all

x-nisus-macro://…
if the path following the // is a macro path.

or:

Code: Select all

x-nisus-macro-file://…
if the (file)path following the // points to a functioning macro file.
philip
User avatar
phspaelti
Posts: 1313
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by phspaelti »

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.
philip
js
Posts: 259
Joined: 2007-04-12 14:59:36

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by js »

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!
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by martin »

phspaelti wrote:Given this new feature, it would seem a good idea to add a command "Add Link to Macro…" under the "Hyperlink" menu.
Agreed! You can also generate these kinds of links using the new macro commands:

Link.newRunMacroWithMenuPath
Link.newRunMacroWithFilePath
Link.newRunThisMacro

Using these commands is much better than specifying the link scheme (eg: "x-nisus-macro") manually.
Post Reply