Search found 1300 matches
- 2013-02-20 17:01:48
- Forum: Nisus Writer Pro
- Topic: PowerFind question
- Replies: 16
- Views: 17899
Re: PowerFind question
Martin, Thank you for what you wrote. I was confused by the meaning of <0+>. Sorry. I guess my explanation was a bit too short. The real power of Nisus' Find/Replace lies in those pop-up menus to the left of the Find Box. What specifically do the <0+> in your attachment do? The Repeat commands appl...
- 2013-02-20 16:47:49
- Forum: Nisus Writer Pro Macros
- Topic: "Go to Next Comment" fails with nested comments
- Replies: 14
- Views: 20827
Re: "Go to Next Comment" fails with nested comments
To be clear, my "nested comments" are multiple comments applied to the identical text range via the "Add Comment" command. Ah! I thought that Nisus didn't allow this kind of thing. (I really don't use comments too often.) I think Nisus doesn't allow such things to be created, bu...
- 2013-02-20 16:27:35
- Forum: Nisus Writer Pro Macros
- Topic: "Go to Next Comment" fails with nested comments
- Replies: 14
- Views: 20827
Re: "Go to Next Comment" fails with nested comments
ForEach $comment in $doc.allComments $range = Range.new(0, $comment.text.length) $selection = TextSelection.new($comment.text, $range) $doc.setSelection($selection) Menu 'Paragraph Style:Comment' End Is there a more elegant way to do that? Note that in the macro reference under Document Object Comm...
- 2013-02-20 07:31:46
- Forum: Nisus Writer Pro Macros
- Topic: Can a macro address tracked changes?
- Replies: 12
- Views: 19248
Re: Can a macro address tracked changes?
That sounds like a bug to me. You should report it (using Feedback.)chazzo wrote:I meant that your "if ! $change.isTextContentChanged" condition finds:
Formatted: Font: Georgia; was: Times New Roman
but not:
Formatted: Language: English (U.S.); was: German
- 2013-02-20 06:31:13
- Forum: Nisus Writer Pro
- Topic: macro names appearing twice in menu
- Replies: 3
- Views: 6571
Re: macro names appearing twice in menu
This seems to be happening to some people. See http://www.nisus.com/forum/viewtopic.php?f=18&t=5227
- 2013-02-20 05:29:35
- Forum: Nisus Writer Pro
- Topic: is it possible to easily convert tables to text?
- Replies: 18
- Views: 26397
Re: is it possible to easily convert tables to text?
Code: Select all
# convert *one* table
Menu 'Select:Table'
Copy Table Text
Delete
Paste
- 2013-02-20 05:26:15
- Forum: Nisus Writer Pro Macros
- Topic: "Go to Next Comment" fails with nested comments
- Replies: 14
- Views: 20827
Re: "Go to Next Comment" fails with nested comments
Anyhow just one more comment to the "Go to Next Comment" you mentioned and used in Martin's macro. That command does work for nested comments. I just tested it. However Martin's macro doesn't find them, since it uses the expedient of placing the selection after the comment to look for the ...
- 2013-02-20 05:09:16
- Forum: Nisus Writer Pro Macros
- Topic: "Go to Next Comment" fails with nested comments
- Replies: 14
- Views: 20827
Re: "Go to Next Comment" fails with nested comments
Well as pointed out on the other thread you should be able to find the answer in the file Help > Macro Language Reference . There you'll find there is a document propery .allComments which will return the comments and then you should be able to loop through them with code $doc = Document.active fore...
- 2013-02-20 04:58:38
- Forum: Nisus Writer Pro Macros
- Topic: Can a macro address tracked changes?
- Replies: 12
- Views: 19248
Re: Can a macro address tracked changes?
Taking a wider view, is there a reference somewhere for all these macro properties? I'm extremely grateful for the help, but I could probably have figured this one out myself if I'd been able to consult a list of what's available. Help > Macro Language Reference What do you mean by "Text Langu...
- 2013-02-19 19:06:50
- Forum: Nisus Writer Pro
- Topic: BE font
- Replies: 4
- Views: 6458
Re: BE font
The font tag is generally my preferred solution as well. But there is one little problem. The "font" includes not just size and font-face, but also things such as Italic, Bold, etc. So depending on the situation you may not get all the things you want. Another option are the Kino "Sel...
- 2013-02-19 19:01:48
- Forum: Nisus Writer Pro
- Topic: is it possible to easily convert tables to text?
- Replies: 18
- Views: 26397
Re: is it possible to easily convert tables to text?
And I just noticed that Table > Select > Table works correctly across multiple tables. (I have always been using Select All (twice) to select tables, but that only works on a single table.)
- 2013-02-19 18:43:03
- Forum: Nisus Writer Pro
- Topic: is it possible to easily convert tables to text?
- Replies: 18
- Views: 26397
Re: is it possible to easily convert tables to text?
You have to *select* the table (not just click inside it) for Copy Table Text to have any effect
- 2013-02-19 15:47:53
- Forum: Nisus Writer Pro
- Topic: PowerFind question
- Replies: 16
- Views: 17899
Re: PowerFind question
The trick to doing this in one go, is to turn what you want to do upside down. Replace all em-dashes, with any preceding or following spaces to the pattern <space>—<space>. This will pointlessly replace all the correct cases, but it will straighten out all the wrong cases. To do this make sure you a...
- 2013-02-19 15:27:56
- Forum: Nisus Writer Pro Macros
- Topic: Can a macro address tracked changes?
- Replies: 12
- Views: 19248
Re: Can a macro address tracked changes?
This macro would seem to do the trick (Test it on a copy, please!).
Code: Select all
$doc = Document.active
$changes = $doc.allTrackedChanges
foreach $change in $changes
if ! $change.isTextContentChanged
$change.accept
end
end
- 2013-02-19 15:13:39
- Forum: Nisus Writer Pro Macros
- Topic: Can a macro address tracked changes?
- Replies: 12
- Views: 19248
Re: Can a macro address tracked changes?
In principle yes. The Nisus macro language has the ability to access tracked changes. The tracked change object has a .isTextContentChanged property (among others), so it seems it would be possible to distinguish the ones you are looking for.