I am an old time Nisus and Qued/M macro writer, but struggling with Express. Can someone give me some basic pointers please:
1.
==
What does a Nisus Menu command macro actually look like? I can't find an example anywhere. When I try to run a macro with just:
Bold
I expect the selected text to be emboldened but nothing happens.
2.
==
Here is a real example of what I want to do. I need to select all of text matching a regexp, and make all those selections Red. I can't work out how to do it with a menu command macro or with AppleScript.
Any guidance appreciated.
Basic macro help
-
- Posts: 9
- Joined: 2005-07-29 06:35:13
- Location: UK
- Contact:
- GeoffRoynon
- Posts: 48
- Joined: 2004-04-26 10:20:33
- Location: Oxford, UK
You could try searching through the Nisus Listserver archives for the word "macro".
The URL is: http://listserv.dartmouth.edu/archives/nisus.html
Geoff
The URL is: http://listserv.dartmouth.edu/archives/nisus.html
Geoff
Geoff Roynon
Mac Studio, MacOS X 14.0 Sonoma
NW Pro 3.3
Mac Studio, MacOS X 14.0 Sonoma
NW Pro 3.3
-
- Posts: 9
- Joined: 2005-07-29 06:35:13
- Location: UK
- Contact:
but if you know how already
personally I have little success in searching that list. Most of the macro discussion is NW 6.5 or converting 6.5 macros to NWE, so if you don't know how to do a macro, it isn't much help....GeoffRoynon wrote:You could try searching through the Nisus Listserver archives for the word "macro".
The URL is: http://listserv.dartmouth.edu/archives/nisus.html
Geoff
I have never let my schooling interfere with my education/Mark Twain (1835-1910)
-
- Posts: 9
- Joined: 2005-07-29 06:35:13
- Location: UK
- Contact:
Where's the documentation
This all begs the question: Where's the documentation? If programmability is one of NWE's big selling points, then why doesn't Nisus publish some really good documentation? It's not logical, Captain.
(I'm not talking about a macro tip here and a macro example there. I'm talking a real top to bottom explanation of the language, syntax, how it all fits together in NWE, macro examples for each command/function/whatever. Just like with any other commercial program. This is too much like ... Linux!)
(I'm not talking about a macro tip here and a macro example there. I'm talking a real top to bottom explanation of the language, syntax, how it all fits together in NWE, macro examples for each command/function/whatever. Just like with any other commercial program. This is too much like ... Linux!)
Re: Where's the documentation
The documentation is in the NWX User Guide where it explains the scripting architecture, how Perl script headers work and what each of them does, then there's a bunch of pre-supplied Perl macros that come with NWX in ~/Library/Application Support/Nisus Writer/Macros that you can examine to see how they work and modify freely. The assumption is, of course, that you already know Perl (as one of the most widely used scripting languages in the world many people already do). As there's an ocean of documentation and courses on Perl available all over the web (the NWX User Guide gives you some URLs for this) you should have no problem finding whatever you need on Perl. It's like Linux in the sense that instead of reinventing the wheel for every app you leverage pre-existing, widely documented tools that do the job you need done and don't lock you in to a particular vendor. It's very logical.riccardo wrote:This all begs the question: Where's the documentation? If programmability is one of NWE's big selling points, then why doesn't Nisus publish some really good documentation? It's not logical, Captain.
(I'm not talking about a macro tip here and a macro example there. I'm talking a real top to bottom explanation of the language, syntax, how it all fits together in NWE, macro examples for each command/function/whatever. Just like with any other commercial program. This is too much like ... Linux!)