Re: Questions about SuperTool
Patrice Legoux <[email protected]>
| Newsgroups | gmane.comp.genealogy.gramps.user |
|---|---|
| Message-ID | <CAHwAPQOsQf3KZiXn4Y_4peppZqxogyHvuWuJiDFgNAgU2pVuFw@mail.gmail.com> |
I don't have the issue you encountered. Return or Enter works well in Supertool editor. I'm on windows too but using 5.1.3. May be an issue with 5.1.4 (?) -- Patrice Le jeu. 18 nov. 2021 à 08:14, David Lynch <[email protected]> a écrit : > I have just started to use the SuperTool, and have encountered some > difficulties. Despite these, I have achieved something quite complex > quite easily: thank you. > > I can't see how to get more than one line of code into the > "Initialization Statements:" and "Statements executed for each object:" > panels. Hitting [enter] at the end of a line does nothing; I had to > prepare the code in a text editor and copy and paste it. > > I can't get variables to work as I would expect: > > Title: SuperTool-Media > > Initialization Statements: > > i = 0 > > Statements executed for each object: > > i += 1 > > Selected objects > > Expressions to Display: > > desc,i > > ID Value 1 Value 2 > > O08031 Zeals;b1847 1 > > O11368 Zeals;b1859 1 > > I would have expected 2 on the second line. > > David Lynch > > GRAMPS: AIO64-5.1.4-1 > Python: 3.6.4 (default, Jan 23 2018, 13:17:37) ... > BSDDB: 6.1.0 (6, 0, 30) > sqlite: 3.21.0 (2.6.0) > LANG: en_GB.UTF-8 > OS: Windows > > > > > > -- > Gramps-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gramps-users > https://gramps-project.org -------------- next part -------------- An HTML attachment was scrubbed... -- Gramps-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gramps-users https://gramps-project.org