Text in PS is very hard to work with from the scripting POV.
When you replace text layer contents PS will apply attributes of the first character to all...
Sent from my iPhone
You will need to learn the base classes as the guides don't help with any of that. They expect that you learned the basics elsewhere.
Scripting language won't change an app's behaviour changing text will do the same in given both…
Some actionmanager code may let you dig deeper but everything I've seen is a minefield with editing type…
I was trying to process a pile of images to open, move a layer into a new template, resize it, change one of two text layers based on the filename of the source image, then save the template as that name with a "CSTM" suffix to a different folder.
Even though I got everything to work (usually), I was still running into random issues as it was trying to process all the files in the folder. Likely something I was doing wrong, but roughly three images would work fine, then the fourth would hang on a line of code that had worked flawlessly on the other three (all images were based off the same template so seems like they should have all worked). Repeated attempts on a single file would work sometimes, sometimes not, before it even got to the type. It was baffling. So I just did them by hand. Took less time than fighting with the script for another day.
Yes you certainly will find more help here if using JS over AS and yes cutting another's tech does reduce problems…
Thats my experience… I've had less problems particulally app versioning with JS.