nisus.com
https://www.nisus.com/forum/

Nisus Writer Pro 2.0.5 macro enhancements
https://www.nisus.com/forum/viewtopic.php?f=17&t=5437
Page 1 of 1

Author:  martin [ 2013-09-10 15:20:54 ]
Post subject:  Nisus Writer Pro 2.0.5 macro enhancements

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.

Author:  js [ 2013-09-17 03:32:43 ]
Post subject:  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?

Author:  phspaelti [ 2013-09-17 07:21:33 ]
Post subject:  Re: Nisus Writer Pro 2.0.5 macro enhancements

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:
x-nisus-macro://…

if the path following the // is a macro path.

or:
Code:
x-nisus-macro-file://…

if the (file)path following the // points to a functioning macro file.

Author:  phspaelti [ 2013-09-17 07:40:04 ]
Post subject:  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.

Author:  js [ 2013-09-17 08:42:37 ]
Post subject:  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!

Author:  martin [ 2013-09-20 16:26:39 ]
Post subject:  Re: Nisus Writer Pro 2.0.5 macro enhancements

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.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/