Another newbie PJSR question:
I have a script that is using PixelMath (and other tools) to create new images, as combinations of previous images.
There are occasions when I create a second new image with the same name as an existing image.
PJSR handles this nicely by appending a number to the end of the view name (as displayed in the title bar) to distinguish the new view from the similarly named previous view.
So I might end up with a view whose title reads "HOO" and another instance with title "HOO1"
However, when I go to find the name of the new view whose name is "HOO1", the code always returns just the "HOO" part.
In other words, both View.id and View.fullId return just "HOO" even when pointing to the "HOO1" view
Of course View.uniqueId returns the UUID string, but that doesn't help me get the display name of "HOO1" or "HOO2", etc.
I am sure I am doing something wrong, but I can't find the right way to get the full name as displayed on the view's title bar?
Thanks.
David McCallie
I have a script that is using PixelMath (and other tools) to create new images, as combinations of previous images.
There are occasions when I create a second new image with the same name as an existing image.
PJSR handles this nicely by appending a number to the end of the view name (as displayed in the title bar) to distinguish the new view from the similarly named previous view.
So I might end up with a view whose title reads "HOO" and another instance with title "HOO1"
However, when I go to find the name of the new view whose name is "HOO1", the code always returns just the "HOO" part.
In other words, both View.id and View.fullId return just "HOO" even when pointing to the "HOO1" view
Of course View.uniqueId returns the UUID string, but that doesn't help me get the display name of "HOO1" or "HOO2", etc.
I am sure I am doing something wrong, but I can't find the right way to get the full name as displayed on the view's title bar?
Thanks.
David McCallie