insert glyph by GID photoshop extendscript
Goal : to insert a character Glyph using script for Photoshop.
Background:
I have read and tried to de-construct:
https://creativepro.com/insert-a-character-by-unicode-or-gid/
but these are for framemaker/indesign
Then,
this one changes style, but I need to insert a glyph in a certain font - it happens to be number 55 in this font and is a different version of character "z" . the unicode character is not unique.
I also tried recording an action, and then used Xtools kit to convert to javascript.
However, this part of the script that inserts the character shows as
desc2.putString(cTID('Txt '), "���or");
which does not work.
In the Adobe extendscript docs, I see things about glyph scaling only.
There must be some ancient actionscript kungfu that will work on this.
I don't need a full function - I can handle that, I just need the nugget of code that chooses the glyph.
thanks

