Macro to remove all footnotes from selected text

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

Macro to remove all footnotes from selected text

Post by NisusUser »

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: 1313
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Macro to remove all footnotes from selected text

Post by phspaelti »

This apparently works:

Code: Select all

$doc = Document.active
$notes = Note.selectedNotes
$doc.setSelection $notes
Cut
philip
NisusUser
Posts: 321
Joined: 2011-01-12 05:32:38

Re: Macro to remove all footnotes from selected text

Post by NisusUser »

Philip,

That macro works great. Thanks so much!
Post Reply