Search found 34 matches
- 2021-07-18 15:15:47
- Forum: Nisus Writer Pro Macros
- Topic: Extract digits from a text object
- Replies: 5
- Views: 9063
Extract digits from a text object
Very basic question but this macro language is confusing to me. :? I have a text object, $ref, which contains a string, "Lesson 29". I want to extract the digits (which can be n to nnn) into another text object, call it $refNum. How do I do that? Is there a simple way to use some kind of &...
- 2021-03-01 14:16:31
- Forum: Nisus Writer Pro
- Topic: Initials
- Replies: 18
- Views: 27593
Re: Initials
These worked for me as advertised! Thank you a lot. I did have some peculiar results, however. I inserted Drop Caps in 11 paragraphs in a document, one every two pages or so. the last one, I started getting spinning rainbows that lasted 30 seconds or so. Then, with the document sitting idle (at leas...
- 2021-02-28 12:22:55
- Forum: Nisus Writer Pro
- Topic: Initials
- Replies: 18
- Views: 27593
Re: Initials
I'm still looking for a really good solution to formatting a Drop Cap. I've looked at one solution I found in another thread, offering two styles, one for the paragraph, one for the Character to become a drop cap. It results in a drop cap, sorta, that sits on the same baseline and extends above the ...
- 2020-08-26 13:54:30
- Forum: Nisus Writer Pro Macros
- Topic: Runaway Macro
- Replies: 4
- Views: 11227
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; wh...
- 2020-08-26 13:51:28
- Forum: Nisus Writer Pro Macros
- Topic: Runaway Macro
- Replies: 4
- Views: 11227
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 mac...
- 2018-09-10 10:52:55
- Forum: Nisus Writer Pro
- Topic: Book on Nisus Writer Pro
- Replies: 26
- Views: 51250
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 ev...
- 2018-09-10 10:42:41
- Forum: Nisus Writer Pro
- Topic: Book on Nisus Writer Pro
- Replies: 26
- Views: 51250
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 yo...
- 2017-06-02 15:05:30
- Forum: Nisus Writer Pro Macros
- Topic: How to match a footnote reference number
- Replies: 6
- Views: 14194
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...
- 2017-05-31 18:17:49
- Forum: Nisus Writer Pro Macros
- Topic: How to match a footnote reference number
- Replies: 6
- Views: 14194
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...
- 2017-05-29 21:09:21
- Forum: Nisus Writer Pro Macros
- Topic: How to match a footnote reference number
- Replies: 6
- Views: 14194
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...
- 2017-05-26 21:01:59
- Forum: Nisus Writer Pro Macros
- Topic: Searching backward from a selection
- Replies: 3
- Views: 10613
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!
- 2017-05-23 15:30:41
- Forum: Nisus Writer Pro Macros
- Topic: Searching backward from a selection
- Replies: 3
- Views: 10613
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...
- 2017-05-21 15:32:59
- Forum: Nisus Writer Pro Macros
- Topic: Searching backward from a selection
- Replies: 3
- Views: 10613
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...
- 2014-10-11 00:16:29
- Forum: Nisus Writer Pro
- Topic: NW for iPad?
- Replies: 112
- Views: 256334
Re: NW for iPad?
I can't understand why Nisus has not produced a version for IPad! The demand has been high for years.
- 2005-10-11 08:25:02
- Forum: Nisus Writer Express
- Topic: Automating file saves by type
- Replies: 5
- Views: 9643
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 th...