Scripted naming of Custom Tool Output Objects?

robphy shared this question 4 years ago
Needs Answer

I have a custom tool that outputs a decorated vector from two input Points [for example, a vector with tickmarks drawn along the vector].

If I give my tool Points P and Q, how can I have it name (or scripted rename) my output objects as vecPQ and listPQ ?

Maybe this is related...

In an object's Scripting tab ("OnClick" or "On Update" or "Global Javascript"),

how can I get that object or the name of that object to be used in a script?


© 2021 International GeoGebra Institute