* Clean Up Notes for Subset

Writing and using plugins for Version 5 and above.
Post Reply
User avatar
ronk
Superstar
Posts: 347
Joined: 19 Feb 2016 22:50
Family Historian: V6.2
Location: MN, USA
Contact:

Clean Up Notes for Subset

Post by ronk » 07 Mar 2016 06:16

How difficult would it be to have the Clean Up Notes plugin modified to move single-link notes to local notes only for selected single-link note records rather than all of them. Or, to have it only move single-link notes to local notes for single-link note records beginning with specific text. Have just begun looking at Lua code and not yet ready to modify code.

Ron
Ron Krzmarzick~~ FH 6.2.5 TNG 12.1 website Roots & Relatives Remembered, Wampserver64 3.1.8, LFT 7.5, FTM 2017, RM 7.5,Win 10 pro

User avatar
tatewise
Megastar
Posts: 16631
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Clean Up Notes for Subset

Post by tatewise » 07 Mar 2016 10:48

Hi Ron, try the ATTACHMENT.
You can either select the Note Records beforehand or it will prompt for them.
Attachments
Clean Up Selected Notes.fh_lua
Version 1.0 Date March 2016
(8.27 KiB) Downloaded 90 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ronk
Superstar
Posts: 347
Joined: 19 Feb 2016 22:50
Family Historian: V6.2
Location: MN, USA
Contact:

Re: Clean Up Notes for Subset

Post by ronk » 07 Mar 2016 13:19

Wow, wish I could do code so fast! Works perfectly. Of course working with 'test' FH file first, and have multiple backups as well.

This will be a nice 'real' example plugin to start to learn Lua by reviewing the changes you've made to Clean Up Notes plugin.

Thanks,

Ron
Ron Krzmarzick~~ FH 6.2.5 TNG 12.1 website Roots & Relatives Remembered, Wampserver64 3.1.8, LFT 7.5, FTM 2017, RM 7.5,Win 10 pro

Post Reply