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: 4251
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Nisus Writer Pro 2.0.5 macro enhancements

Post by martin » 2013-09-10 15:20:54

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: 229
Joined: 2007-04-12 14:59:36

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by js » 2013-09-17 03:32:43

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: 889
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by phspaelti » 2013-09-17 07:21:33

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: 889
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by phspaelti » 2013-09-17 07:40:04

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: 229
Joined: 2007-04-12 14:59:36

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by js » 2013-09-17 08:42:37

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: 4251
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Nisus Writer Pro 2.0.5 macro enhancements

Post by martin » 2013-09-20 16:26:39

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