As far as I know you can use the Layout ID (autotext value) in your scripts but you can't actually get the information from it to manipulate.
i.e you can't actually read any of the characters in the string.
It doesn't behave like a normal parameter that you can use STRLEN and STRSTR and STRSUB to capture certain parts of the string (you were on the right track there).
You can only use it in its entirety or not at all.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11