Re: Questions about SuperTool
Kari Kujansuu <[email protected]>
| Newsgroups | gmane.comp.genealogy.gramps.user |
|---|---|
| Message-ID | <CAHOXRXppGd=zJaTTVuxJ-hPG9xdUuRnydFUFq-OtycnzKw8-9A@mail.gmail.com> |
I think I have now fixed the issue with variables in SuperTool version 1.1.5 ( https://github.com/Taapeli/isotammi-addons/tree/master/source/SuperTool) Hope this helps Kari to 18. marrask. 2021 klo 9.14 David Lynch ([email protected]) kirjoitti: > 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