Search found 5 matches

by kaderan
2015-01-24 04:51:04
Forum: Nisus Writer Pro Macros
Topic: A macro to preserve styles between Scrivener and Nisus
Replies: 0
Views: 12518

A macro to preserve styles between Scrivener and Nisus

Hello friends, My workflow is writing in Scrivener, then compiling to RTF and transferring to Nisus. I am new to Nisus, but I notice from a scan of the forums that a number of you do the same. My technical needs are not great; I only needed a quick way to automate the process of tagging paragraphs a...
by kaderan
2015-01-24 04:22:36
Forum: Nisus Writer Pro Macros
Topic: Trouble getting the .removeStyle command to work
Replies: 6
Views: 14070

Re: Trouble getting the .removeStyle command to work

Thanks so much, phspaelti. That's exactly what I needed.
by kaderan
2015-01-22 10:24:02
Forum: Nisus Writer Pro Macros
Topic: Trouble getting the .removeStyle command to work
Replies: 6
Views: 14070

Re: Trouble getting the .removeStyle command to work

Whoops, I ran into a snag: The example code below $headerStyle = $doc.styleWithName 'Heading 1' $doc.removeStyle $headerStyle works great as long 'Heading 1' exists in the document. If 'Heading 1' does not exist, macro fails with "Expected a Style object." My understanding from the referen...
by kaderan
2015-01-22 09:28:28
Forum: Nisus Writer Pro Macros
Topic: Trouble getting the .removeStyle command to work
Replies: 6
Views: 14070

Re: Trouble getting the .removeStyle command to work

Thank you! Works like a charm. If only the macro reference file was as clear as your explanation!
by kaderan
2015-01-18 10:52:20
Forum: Nisus Writer Pro Macros
Topic: Trouble getting the .removeStyle command to work
Replies: 6
Views: 14070

Trouble getting the .removeStyle command to work

Hello friends, I am new to the world of Nisus and working on my first macro so this may be a very stupid question. I need to write a macro which deletes some paragraph styles from the document it operates on. I cannot figure out why this code does not work: $doc = Document.active $doc.removeStyle ‘H...