I try to find and mark double notes after importing data from FTM2025 and after using the MultiMerge gramplet to merge double citations (all shared citations from FTM will be splitted into identical but separate citations in GEDCOM).
I use this script manipulating the note type, because I didn't find a way to set a bookmark/tag for those notes:
[Gramps SuperTool script file]
version=1
[title]
Double Notes4
[description]
[category]
Notes
[initial_statements]
counter = defaultdict(list)
[statements]
counter[text].append(gramps_id)
if (len(counter[text]) > 1) : note.set_type(1)
[filter]
[expressions]
\[ids for text,ids in counter.items() if len(ids) > 1]
[scope]
selected
[unwind_lists]
True
[commit_changes]
True
[summary_only]
True
Afterwards the type of all than one of the as double found notes are changed. But also the field "Last changed" for selected/involved but not changed notes was changed.
I try to find and mark double notes after importing data from FTM2025 and after using the MultiMerge gramplet to merge double citations (all shared citations from FTM will be splitted into identical but separate citations in GEDCOM).
I use this script manipulating the note type, because I didn't find a way to set a bookmark/tag for those notes:
Afterwards the type of all than one of the as double found notes are changed. But also the field "Last changed" for selected/involved but not changed notes was changed.