Search found 124 matches

by loulesko
2023-04-12 07:13:05
Forum: Nisus Writer Pro Macros
Topic: Fabulous Clipboard Tools
Replies: 5
Views: 1954

Re: Fabulous Clipboard Tools

Hi Mark

Thanks for the input. I'll work on this next day or so and let you know when it's done.

Best
Lou
by loulesko
2023-04-11 15:21:12
Forum: Nisus Writer Pro Macros
Topic: Fabulous Clipboard Tools
Replies: 5
Views: 1954

Fabulous Clipboard Tools

This has been deleted in favor of a more elegant and refined version which you can find here.
by loulesko
2023-03-27 17:32:33
Forum: Nisus Writer Pro
Topic: Export to DOCX Error
Replies: 2
Views: 1217

Re: Export to DOCX Error

Hi Martin,

First, didn't know there was a Mac option for the conversion. Very cool. But, sadly, even with that changed and a restart, I'm still getting the same error.

Thanks
Lou
by loulesko
2023-03-25 09:20:05
Forum: Nisus Writer Pro
Topic: Export to DOCX Error
Replies: 2
Views: 1217

Export to DOCX Error

Hi there,

I'm getting the error below when trying to export to DOCX on Macbook Pro M1. I've restarted, and reinstalled NWP. I do not have Rosetta, but Libre Office says they're Apple Silicon compatible.

Many thanks,
Lou
Screen Shot 2023-03-25 at 10.13.17 AM.png
Screen Shot 2023-03-25 at 10.13.17 AM.png (45.6 KiB) Viewed 1217 times
by loulesko
2023-01-17 15:25:59
Forum: Nisus Writer Pro Macros
Topic: Macro to Insert Screenplay Character
Replies: 2
Views: 1796

Re: Macro to Insert Screenplay Character

Thanks Martin. The only caveat I found—which I think is specific to this situation—the paragraph style is set to Uppercase which is display only in Nisus. Which means (as you know) if a name is typed uppercase or lowercase it will always display uppercase. But .containsValue is case sensitive so I w...
by loulesko
2023-01-16 00:07:20
Forum: Nisus Writer Pro Macros
Topic: Macro to Insert Screenplay Character
Replies: 2
Views: 1796

Macro to Insert Screenplay Character

This macro creates a list from a paragraph style so the text can be inserted again. The use case is when writing in screenplay format. Some clever people will undoubtedly think of other ways to use this macro. My profound thanks to @phspaelti for guidance on the core aspects of this macro. Screen Sh...
by loulesko
2023-01-11 12:04:41
Forum: Nisus Writer Pro Macros
Topic: Select and put in array.
Replies: 3
Views: 1917

Re: Select and put in array.

Philip,

This is amazing, thank you so much. You have saved me a ton of time and you've educated me on how some of the more advanced macro features work. Very much appreciated.

Lou
by loulesko
2023-01-10 12:36:27
Forum: Nisus Writer Pro Macros
Topic: Select and put in array.
Replies: 3
Views: 1917

Select and put in array.

Hello

I am trying to find all occurrences of text in a paragraph style and put them in an array. I have the regex part just fine, creating an array with the found or selected text is eluding me. For example if I wanted to put all occurrences of Heading 1 in an array.

Thanks
Lou
by loulesko
2023-01-03 11:57:17
Forum: Nisus Writer Pro Macros
Topic: Select a list as a group.
Replies: 9
Views: 3437

Re: Select a list as a group.

Happy New Year Martin and Philip

Thank you for the explanations. What a useful character class, it has inspired me to re-think my approach to some of my macros.
by loulesko
2022-12-31 10:32:12
Forum: Nisus Writer Pro Macros
Topic: Convert to Markdown
Replies: 4
Views: 2200

Re: Convert to Markdown

Mark, Thanks for letting me know. I forgot a # in front of the comment line. :P It works now. 8)

Lou
by loulesko
2022-12-30 23:52:19
Forum: Nisus Writer Pro Macros
Topic: Convert to Markdown
Replies: 4
Views: 2200

Convert to Markdown

Inspired by the To Markdown macro by @tomoyuki-kosaka. This version is a little lighter weight. It doesn't support converting tables because tables in markdown are ridiculous. I wrote this so I can take what I write in Nisus and post it to my markdown only blog. It coverts the document then copies t...
by loulesko
2022-12-29 13:24:53
Forum: Nisus Writer Pro Macros
Topic: Select a list as a group.
Replies: 9
Views: 3437

Re: Select a list as a group.

Philip, I had to take a few weeks to re-familiarize myself with the macro language after being gone from it for awhile. Your suggestion has really helped on multiple levels. I'd love to know something. You recommended: Find and Replace '\X+', "\n<ol>\n\\0</ol>\n\n", 'Eas' What is the \X st...
by loulesko
2022-12-16 14:43:19
Forum: Nisus Writer Pro
Topic: Expandable Image References
Replies: 2
Views: 953

Re: Expandable Image References

I see the Draft View as the writing content only with the Page View as the layout. From my perspective writing an editing would go a bit faster if there is an option to suppress images relegating them to text indicators. That said, I'm incorporating images into a Nisus document for the first time as...
by loulesko
2022-12-10 09:27:13
Forum: Nisus Writer Pro
Topic: Expandable Image References
Replies: 2
Views: 953

Expandable Image References

I have an idea to offer for discussion. An option to display images as text references in the Draft view. Possibly be able turn this feature on and off. Something like:

[image-name.jpg]

Switching to Page View would display the image.

I'd love your thoughts.

Thanks
Lou
by loulesko
2022-10-31 10:38:49
Forum: Nisus Writer Pro Macros
Topic: Clipboards, Paste From Any Clipboard
Replies: 0
Views: 3590

Clipboards, Paste From Any Clipboard

This is a rewrite of a macro I posted ages ago. This version is better, cleaner, and more reliable. It grabs the first 60 characters of each clipboard and puts them in a list to select and paste as plain text. There's a user option you can set to paste as formatted text. Screen Shot 2022-10-31 at 11...