Search found 16 matches

by allenwatson
2020-08-26 13:54:30
Forum: Nisus Writer Pro Macros
Topic: Runaway Macro
Replies: 4
Views: 1770

Re: Runaway Macro

Here is the source of the runaway macro. It must contain a bug, but I don't know Perl much. How can I fix it? #Nisus Macro Block #source front selection #destination front selection #End Nisus Macro Block use strict; binmode(STDIN, ":utf8"); binmode(STDOUT, ":utf8"); my $text; while (my $line = <STD...
by allenwatson
2020-08-26 13:51:28
Forum: Nisus Writer Pro Macros
Topic: Runaway Macro
Replies: 4
Views: 1770

Runaway Macro

I just executed a macro from the Macro menu. It has been running for nearly an hour!In the status bar at the bottom of the screen, I see this: "Running Macro 'Form Paragraphs.pl'". I am unable to run any other macros. If I try, a dialog comes up asking if I want to continue the running macro or stop...
by allenwatson
2018-09-10 10:52:55
Forum: Nisus Writer Pro
Topic: Book on Nisus Writer Pro
Replies: 26
Views: 24304

Re: Book on Nisus Writer Pro

I'm upset to see that this thread's last post was in 2012! I hope the idea has not died. I know you must be extremely busy now, having taken over the "Take Control" empire entirely. :P I have been using Nisus Writer Pro now for several years, and write probably about a dozen pages in it every week. ...
by allenwatson
2018-09-10 10:42:41
Forum: Nisus Writer Pro
Topic: Book on Nisus Writer Pro
Replies: 26
Views: 24304

Re: Book on Nisus Writer Pro

That may be the best computer book I have encountered, and it really made my life better. Yes, "The Nisus Way" is one of those books Agreed! I was really bummed when Nisus took so long to migrate to OSX in any meaningful way, and lamented the disconnect with the OS 9 version that meant your book di...
by allenwatson
2017-06-02 15:05:30
Forum: Nisus Writer Pro Macros
Topic: How to match a footnote reference number
Replies: 6
Views: 6933

Re: How to match a footnote reference number

Again, thanks, Philip. You continue to offer me extremely useful and helpful examples. To explain my needs a bit more clearly: Yes, I am trying to determine the reference for a short section of selected text in a larger document. Think of the Bible. Suppose I did a search on the words, "For God so l...
by allenwatson
2017-05-31 18:17:49
Forum: Nisus Writer Pro Macros
Topic: How to match a footnote reference number
Replies: 6
Views: 6933

Re: How to match a footnote reference number

Philip, thanks for the tip. I'll try it out. I don't know if I can describe in full what I'm trying to do; it's complex. An overview: I have a book-length document that is divided as follows: Chapters<Sections<Paragraphs<Sentences. The chapters are numbered with Arabic numbers; the sections with Rom...
by allenwatson
2017-05-29 21:09:21
Forum: Nisus Writer Pro Macros
Topic: How to match a footnote reference number
Replies: 6
Views: 6933

How to match a footnote reference number

I have a Powerfind Pro macro that includes code to match all text up to a certain string. This works fine unless there is a footnote reference in the text, at which time the match fails. If I delete the footnote reference (and footnote itself, of course), the match succeeds. Is there any way to incl...
by allenwatson
2017-05-26 21:01:59
Forum: Nisus Writer Pro Macros
Topic: Searching backward from a selection
Replies: 3
Views: 5225

Re: Searching backward from a selection

That helped tremendously! I'm well on the way to doing what I want. I've already expanded on the macro with two additional searches, including one with a named subtext in the found string...That was a pleasant find in the macro manual, which isn't exactly an easy read!
by allenwatson
2017-05-23 15:30:41
Forum: Nisus Writer Pro Macros
Topic: Searching backward from a selection
Replies: 3
Views: 5225

Re: Searching backward from a selection

Thanks so very much, Philip! I will definitely give this a shot as soon as I can. Your example helps so much to point me in the right direction...
by allenwatson
2017-05-21 15:32:59
Forum: Nisus Writer Pro Macros
Topic: Searching backward from a selection
Replies: 3
Views: 5225

Searching backward from a selection

First, me: I am fair-to-middling in AppleScript (although not scripting Nisus Writer Pro), and a total neophyte with Nisus macros. I have a rather complex AppleScript I've been using in BBEdit that I am attempting to replicate in Nisus Writer Pro. I've begun using AppleScript, and have gotten to thi...
by allenwatson
2014-10-11 00:16:29
Forum: Nisus Writer Pro
Topic: NW for iPad?
Replies: 112
Views: 128754

Re: NW for iPad?

:? I can't understand why Nisus has not produced a version for IPad! The demand has been high for years.
by allenwatson
2005-10-11 08:25:02
Forum: Nisus Writer Express
Topic: Automating file saves by type
Replies: 5
Views: 5529

More of same

I'm quite disappointed that no one from Nisus has chimed in with a solution, a partial solution, or at least a "Sorry, no way to do that yet." Of course, Anne, I know about saving to PDF via the Print dialog. The File menu "Save as PDF" just avoids the step of having to select the PDF popup in the P...
by allenwatson
2005-10-08 12:19:18
Forum: Nisus Writer Express
Topic: Automating file saves by type
Replies: 5
Views: 5529

More info

I've discovered I can at least cause NWE to save as PDF by using the "Do Menu Macro" command and giving it the string "Save as PDF". The drawback is that I cannot give an argument such as the name of the file or the folder to use in saving, so the dialog box appears asking for a file name and locati...
by allenwatson
2005-10-08 10:26:36
Forum: Nisus Writer Express
Topic: converting straight to curly quotes
Replies: 7
Views: 5786

Make it a feature request

If there really is no way to "educate quotes" and "stupify quotes" in NWE, it has to be a feature request! I can't believe this isn't included. Text Wrangler is free, but one should not need a second app for such things. (Text Soap and Tex-Edit Plus are other options for an alternative; but again, i...
by allenwatson
2005-10-08 10:16:05
Forum: Nisus Writer Express
Topic: Automating file saves by type
Replies: 5
Views: 5529

No answer?

:?: Should I interpret the fact that no one has answered this question to mean that there is no way, in AppleScript, Perl, or Automator, to automate a "save as PDF" function? :?: