Macro to remove all footnotes from selected text

Get help using and writing Nisus Writer Pro macros.
Post Reply
NisusUser
Posts: 258
Joined: 2011-01-12 05:32:38

Macro to remove all footnotes from selected text

Post by NisusUser » 2016-06-09 02:48:05

Has someone already created a macro to remove all footnotes from selected text?

If not, would someone who knows how be willing to do so? I've got a situation where that would save a lot of time. Thank you very much!

User avatar
phspaelti
Posts: 947
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Macro to remove all footnotes from selected text

Post by phspaelti » 2016-06-09 07:21:38

This apparently works:

Code: Select all

$doc = Document.active
$notes = Note.selectedNotes
$doc.setSelection $notes
Cut
philip

NisusUser
Posts: 258
Joined: 2011-01-12 05:32:38

Re: Macro to remove all footnotes from selected text

Post by NisusUser » 2016-06-09 07:42:48

Philip,

That macro works great. Thanks so much!

Post Reply