# \#supertool-script

**URL:** https://gramps.discourse.group/tag/supertool-script/51.md

[Latest](https://gramps.discourse.group/latest.md) · [Categories](https://gramps.discourse.group/categories.md) · [Tags](https://gramps.discourse.group/tags.md)

---

## [Styled Note Markup trimmer gramplet?](https://gramps.discourse.group/t/styled-note-markup-trimmer-gramplet/5396)

<div class="topic-metadata">

**Author:** [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Replies:** 10\
**Last updated:** [September 19, 2026, 1:26pm UTC](https://gramps.discourse.group/t/styled-note-markup-trimmer-gramplet/5396 "2026-09-19T13:26:47Z")

</div>

The Note Editor has a Clear Markup feature. It clears ALL stylings applied to the selected text in a Note. But you cannot clear text with multiple stylings without clearing all markup on that text. (I had to boost text …

---

## [Merging of events in people with supertool](https://gramps.discourse.group/t/merging-of-events-in-people-with-supertool/9859)

<div class="topic-metadata">

**Author:** [@Woody](https://gramps.discourse.group/u/Woody)\
**Replies:** 12\
**Last updated:** [August 18, 2026, 6:02pm UTC](https://gramps.discourse.group/t/merging-of-events-in-people-with-supertool/9859 "2026-08-18T18:02:19Z")

</div>

Hi, I’m currently creating a family history book from a Village. I’ve already merged several people. As a result, I naturally have many duplicate entries in the events section. I’d like to somehow combine these. Here’s…

---

## [Create Excel CSV list of people, dates and places](https://gramps.discourse.group/t/create-excel-csv-list-of-people-dates-and-places/3168)

<div class="topic-metadata">

**Author:** [@bmrohl](https://gramps.discourse.group/u/bmrohl)\
**Replies:** 9\
**Last updated:** [April 15, 2026, 11:29am UTC](https://gramps.discourse.group/t/create-excel-csv-list-of-people-dates-and-places/3168 "2026-04-15T11:29:35Z")

</div>

(Please include your Gramps version and Operating System) 5.1.5 Would like to create csv/excel list to include: Last name, married last name, first/middle name, date of event, location of event (birth/marriage/death) …

---

## [How can Gramps determine which View category, mode and splitbar is running a Gramplet?](https://gramps.discourse.group/t/how-can-gramps-determine-which-view-category-mode-and-splitbar-is-running-a-gramplet/9185)

<div class="topic-metadata">

**Author:** [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Replies:** 4\
**Last updated:** [March 4, 2026, 7:50pm UTC](https://gramps.discourse.group/t/how-can-gramps-determine-which-view-category-mode-and-splitbar-is-running-a-gramplet/9185 "2026-03-04T19:50:46Z")

</div>

When my Statusbar started alerting that a Gramplet (not a Gramplet of my own creation and NOT in the active view) was encountering errors, Gramps slowed down to a crawl. I needed to find the Gramplet, in whatever splitba…

---

## [Using Attributes for searchable IDs](https://gramps.discourse.group/t/using-attributes-for-searchable-ids/9004)

<div class="topic-metadata">

**Author:** [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Replies:** 3\
**Last updated:** [January 1, 2026, 11:46pm UTC](https://gramps.discourse.group/t/using-attributes-for-searchable-ids/9004 "2026-01-01T23:46:01Z")

</div>

On Facebook, user @ChabotEric posted about maintaining an Excel spreadsheet as a cross-reference between Gramps IDs and those in his other software. It seemed like that would be easier to maintain in Gramps as Attribut…

---

## [Making date input more flexible](https://gramps.discourse.group/t/making-date-input-more-flexible/2814)

<div class="topic-metadata">

**Author:** [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Replies:** 19\
**Last updated:** [August 23, 2024, 2:02pm UTC](https://gramps.discourse.group/t/making-date-input-more-flexible/2814 "2024-08-23T14:02:28Z")

</div>

Building on Dates are bold on importing for a few dates: When I set Gramps to use Dutch dates in the dd month year format, it will recognize Dutch month names like Mei, Juni, and Oktober, or their 3 character abbreviati…

---

## [Adding tags to people based on the content of notes in their citations(!) (Person-\>Event-\>Citation)](https://gramps.discourse.group/t/adding-tags-to-people-based-on-the-content-of-notes-in-their-citations-person-event-citation/8933)

<div class="topic-metadata">

**Author:** [@mawu](https://gramps.discourse.group/u/mawu)\
**Replies:** 4\
**Last updated:** [December 15, 2025, 1:36pm UTC](https://gramps.discourse.group/t/adding-tags-to-people-based-on-the-content-of-notes-in-their-citations-person-event-citation/8933 "2025-12-15T13:36:02Z")

</div>

Gramps (was 5.1) now 6.0.6 W11pro I asked a similar question about people and events Adding tags to people based on the content of notes in their events The solution allowed me to list all people with e.g. a Birth even…

---

## [Merge multiple identical notes](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596)

<div class="topic-metadata">

**Author:** [@Helge\_gramps](https://gramps.discourse.group/u/Helge_gramps)\
**Replies:** 7\
**Last updated:** [October 3, 2025, 9:26am UTC](https://gramps.discourse.group/t/merge-multiple-identical-notes/8596 "2025-10-03T09:26:51Z")

</div>

I try to import a GEDCOM generated by FTM2025 containing a lot of shared citations into GRAMPS 6.0. Every shared citation generates it’s own but identical citation with identical notes in GRAMPS. The “Merge Citations” to…

---

## [Problem wirh supertool and proxy object](https://gramps.discourse.group/t/problem-wirh-supertool-and-proxy-object/8178)

<div class="topic-metadata">

**Author:** [@grocanar](https://gramps.discourse.group/u/grocanar)\
**Replies:** 5\
**Last updated:** [August 17, 2025, 3:50pm UTC](https://gramps.discourse.group/t/problem-wirh-supertool-and-proxy-object/8178 "2025-08-17T15:50:52Z")

</div>

Hi I m trying to write a supertool script to modify some typo error with the data i enter for a census. I used the form gramplet to enter the data for the census. I have written the following script \[Gramps SuperTool…

---

## [Pip install from SuperTool?](https://gramps.discourse.group/t/pip-install-from-supertool/8116)

<div class="topic-metadata">

**Author:** [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Replies:** 1\
**Last updated:** [August 11, 2025, 9:10am UTC](https://gramps.discourse.group/t/pip-install-from-supertool/8116 "2025-08-11T09:10:04Z")

</div>

Is it possible to install some additional python libraries from SuperTool ? I’m using Windows and I want to use some of them from SuperTool, like Panda. It’sprobably a question for @kku :smiley:

---

## [What is the path to open a file with SuperTool?](https://gramps.discourse.group/t/what-is-the-path-to-open-a-file-with-supertool/8110)

<div class="topic-metadata">

**Author:** [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Replies:** 11\
**Last updated:** [August 10, 2025, 4:46pm UTC](https://gramps.discourse.group/t/what-is-the-path-to-open-a-file-with-supertool/8110 "2025-08-10T16:46:33Z")

</div>

What is the path (on Windows) to mention in the open() sentence to open a file with SuperTool? I tried that syntax (and more /mnt/c…, nothing, …) and everytime I got an Error 2 No such file or directory error with open…

---

## [Change Media File Name](https://gramps.discourse.group/t/change-media-file-name/7868)

<div class="topic-metadata">

**Author:** [@Woody](https://gramps.discourse.group/u/Woody)\
**Replies:** 9\
**Last updated:** [June 25, 2025, 5:04pm UTC](https://gramps.discourse.group/t/change-media-file-name/7868 "2025-06-25T17:04:37Z")

</div>

Hello, I’m using Gramps AIO64-6.0.3–1 on Win11. My old genealogy program used to give all media a strange sequence of numbers as file names. I’d like to change that now. Could I change the file name and thus the title…

---

## [Alternative names and preferred names](https://gramps.discourse.group/t/alternative-names-and-preferred-names/7763)

<div class="topic-metadata">

**Author:** [@Woody](https://gramps.discourse.group/u/Woody)\
**Replies:** 12\
**Last updated:** [May 31, 2025, 4:14pm UTC](https://gramps.discourse.group/t/alternative-names-and-preferred-names/7763 "2025-05-31T16:14:34Z")

</div>

Can I change the alternative name to the preferred name? I was able to change the type using the Name Editor tool. Now, however, I want the birth name to be displayed, and the alternative name only under Names. Is it p…

---

## [How to display two surnames (ie primary & married name)](https://gramps.discourse.group/t/how-to-display-two-surnames-ie-primary-married-name/3216)

<div class="topic-metadata">

**Author:** [@MarkusB](https://gramps.discourse.group/u/MarkusB)\
**Replies:** 37\
**Last updated:** [March 28, 2023, 10:04pm UTC](https://gramps.discourse.group/t/how-to-display-two-surnames-ie-primary-married-name/3216 "2023-03-28T22:04:42Z")

</div>

Can I configure the names in the People view and reports to show both the surname from ‘Married Name’ AND from the ‘Preferred name’ (in my case the birth name). I have both types set up and in use. Example: Juliet was b…

---

## [How do we harmonize custom Association data with a new standard feature?](https://gramps.discourse.group/t/how-do-we-harmonize-custom-association-data-with-a-new-standard-feature/5282)

<div class="topic-metadata">

**Author:** [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Replies:** 10\
**Last updated:** [May 9, 2025, 6:21pm UTC](https://gramps.discourse.group/t/how-do-we-harmonize-custom-association-data-with-a-new-standard-feature/5282 "2025-05-09T18:21:32Z")

</div>

Gramps 5.2 added “Godparent” as a new standard Role. However, users have been recording these relationship in their tree in a variety of ways. So, how do we upgrade the custom methods to the new standard one? Let’s cou…

---

## [Moving Events to Names](https://gramps.discourse.group/t/moving-events-to-names/7465)

<div class="topic-metadata">

**Author:** [@Woody](https://gramps.discourse.group/u/Woody)\
**Replies:** 14\
**Last updated:** [April 20, 2025, 9:16am UTC](https://gramps.discourse.group/t/moving-events-to-names/7465 "2025-04-20T09:16:08Z")

</div>

I still have incorrect entries in my Gramps database that I’d like to move. Perhaps this can be done with a @kku SuperTool script? In my old genealogy program, I couldn’t enter different names. Not even the married nam…

---

## [Addon Filter Rule requests](https://gramps.discourse.group/t/addon-filter-rule-requests/4148)

<div class="topic-metadata">

**Author:** [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Replies:** 13\
**Last updated:** [April 19, 2025, 6:13pm UTC](https://gramps.discourse.group/t/addon-filter-rule-requests/4148 "2025-04-19T18:13:05Z")

</div>

expand Filter Gramplet for Notes : Primary object types (e.g., use existing type “To Do” notes for “Associations” or “Media” People in a person’s families (returns Parents, self, siblings, spouses, offspring in a single…

---

## [AI API for Supertool](https://gramps.discourse.group/t/ai-api-for-supertool/7043)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 18\
**Last updated:** [February 25, 2025, 8:36am UTC](https://gramps.discourse.group/t/ai-api-for-supertool/7043 "2025-02-25T08:36:09Z")

</div>

@kku, I have an idea that could significantly expand Supertool’s capabilities. Gramps does not have built-in artificial intelligence, likely due to privacy concerns. However, Supertool is designed mainly for developers, …

---

## [SuperTool Script: Auto-Generating Citations with Media Linking](https://gramps.discourse.group/t/supertool-script-auto-generating-citations-with-media-linking/7083)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 2\
**Last updated:** [February 23, 2025, 5:27pm UTC](https://gramps.discourse.group/t/supertool-script-auto-generating-citations-with-media-linking/7083 "2025-02-23T17:27:39Z")

</div>

I want to share another SuperTool script with the Gramps community. I don’t think this script will be particularly useful in its current form, but some of its elements and the general idea might be helpful to someone. F…

---

## [Supertool & Tags](https://gramps.discourse.group/t/supertool-tags/7065)

<div class="topic-metadata">

**Author:** [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Replies:** 4\
**Last updated:** [February 21, 2025, 7:39pm UTC](https://gramps.discourse.group/t/supertool-tags/7065 "2025-02-21T19:39:16Z")

</div>

How do I change tags properties with SuperTool? When I switch from dark to light theme and vice versa, I would like to invert (complement actually) the color of the tags so that the whites become black and vice versa. Ho…

---

## [SuperTool script to bulk edit media descriptions](https://gramps.discourse.group/t/supertool-script-to-bulk-edit-media-descriptions/7026)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 6\
**Last updated:** [February 17, 2025, 3:50pm UTC](https://gramps.discourse.group/t/supertool-script-to-bulk-edit-media-descriptions/7026 "2025-02-17T15:50:58Z")

</div>

Attention, be careful! This script updates the description fields in media files. If you use custom descriptions, they will be overwritten. Do not run this script unless you fully understand its purpose. Today I renamed…

---

## [Supertool: run a set (batch) of scripts](https://gramps.discourse.group/t/supertool-run-a-set-batch-of-scripts/5835)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 11\
**Last updated:** [February 10, 2025, 2:08pm UTC](https://gramps.discourse.group/t/supertool-run-a-set-batch-of-scripts/5835 "2025-02-10T14:08:28Z")

</div>

Looks like Supertool is really popular tool with growing user scripts amount. Personally me have several specific for me only checker-scripts which checks different things in my DB. For example I am going develop one ad…

---

## [List of tree snippets](https://gramps.discourse.group/t/list-of-tree-snippets/6425)

<div class="topic-metadata">

**Author:** [@ahn](https://gramps.discourse.group/u/ahn)\
**Replies:** 24\
**Last updated:** [November 17, 2024, 1:24pm UTC](https://gramps.discourse.group/t/list-of-tree-snippets/6425 "2024-11-17T13:24:09Z")

</div>

GRAMPS: 5.2.3 Python: 3.11.9 BSDDB: not found sqlite: 3.42.0 (2.6.0) LANG: en\_GB.UTF-8 OS: Linux Distribution: 6.4.0-150600.23.25-default Perhaps unwisely, I have had the habit of creating the odd independent tree…

---

## [Rename separate media attributes' types in Supertool](https://gramps.discourse.group/t/rename-separate-media-attributes-types-in-supertool/6265)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 3\
**Last updated:** [October 18, 2024, 7:00pm UTC](https://gramps.discourse.group/t/rename-separate-media-attributes-types-in-supertool/6265 "2024-10-18T19:00:10Z")

</div>

A small script to rename attributes’ types. It tested on 5k media. \[Gramps SuperTool script file\] version=1 \[title\] Rename separate media attributes' types in Supertool \[description\] This script checks each media attr…

---

## [SuperTool script, which replaces old titles with new ones](https://gramps.discourse.group/t/supertool-script-which-replaces-old-titles-with-new-ones/6249)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 5:48pm UTC](https://gramps.discourse.group/t/supertool-script-which-replaces-old-titles-with-new-ones/6249 "2024-10-16T17:48:30Z")

</div>

First of all you can use this small SuperTool script to print all source titles: \[Gramps SuperTool script file\] version=1 \[title\] SuperTool-Sources \[description\] \[category\] Sources \[initial\_statements\] count = 0 pri…

---

## [Gramps asks if "Save changes" for people who modified via supertool](https://gramps.discourse.group/t/gramps-asks-if-save-changes-for-people-who-modified-via-supertool/6206)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 13\
**Last updated:** [October 12, 2024, 7:34pm UTC](https://gramps.discourse.group/t/gramps-asks-if-save-changes-for-people-who-modified-via-supertool/6206 "2024-10-12T19:34:39Z")

</div>

How can I modify supertool script to avoid a problem: When I open modified person and then close it, I am asked I I want save changes. Looks like person has some flag which indicates that person was changed, right? \[in…

---

## [ValueError: Namespace Gtk is already loaded with version 3.0](https://gramps.discourse.group/t/valueerror-namespace-gtk-is-already-loaded-with-version-3-0/5945)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 23\
**Last updated:** [September 3, 2024, 1:04pm UTC](https://gramps.discourse.group/t/valueerror-namespace-gtk-is-already-loaded-with-version-3-0/5945 "2024-09-03T13:04:31Z")

</div>

I use ubuntu 22.04. When I try run supertool from terminal, I receive an error: Traceback (most recent call last): File "/home/yurii/.local/share/gramps/gramps52/plugins/SuperTool/SuperTool.py", line 1183, in execut…

---

## [Script-checker which checks ukrainian first names and middle names](https://gramps.discourse.group/t/script-checker-which-checks-ukrainian-first-names-and-middle-names/5954)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 4\
**Last updated:** [August 29, 2024, 2:10pm UTC](https://gramps.discourse.group/t/script-checker-which-checks-ukrainian-first-names-and-middle-names/5954 "2024-08-29T14:10:40Z")

</div>

This is a script-checker which checks ukrainian first names and middle names in the database. Some names could have typos or wrong translations from old languages. The script has a standartized names list. Almost all the…

---

## [Tree vivisection experiments with the Isotammi SuperTool](https://gramps.discourse.group/t/tree-vivisection-experiments-with-the-isotammi-supertool/1621)

<div class="topic-metadata">

**Author:** [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Replies:** 1\
**Last updated:** [November 2, 2023, 1:10am UTC](https://gramps.discourse.group/t/tree-vivisection-experiments-with-the-isotammi-supertool/1621 "2023-11-02T01:10:57Z")

</div>

This is a start of a “How do I…?” article for the wiki on Approaching Automated Data Harmonization. Manually cleaning data to make it consistent and fill in omissions is purely a misery. There are excellent tools to cle…

---

## [Supertool script to move surnames with "Patronymic" type to given names](https://gramps.discourse.group/t/supertool-script-to-move-surnames-with-patronymic-type-to-given-names/5888)

<div class="topic-metadata">

**Author:** [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Replies:** 6\
**Last updated:** [August 17, 2024, 2:40pm UTC](https://gramps.discourse.group/t/supertool-script-to-move-surnames-with-patronymic-type-to-given-names/5888 "2024-08-17T14:40:04Z")

</div>

Maybe anybody will decide move middlename (I used “Patronymic” surname for this) to the given name. You can use similar script to make this. The script has strict conditions, it will not work for all DB records. \[G…

[Next page](https://gramps.discourse.group/tag/supertool-script/51.md?match_all_tags=true&page=1&tags%5B%5D=supertool-script)
