That seems to indicate that you did not understand what I was talking about.
Document Object Model code is usually better to read but runs slower and encompasses fewer of Photoshop’s functionalities than Action Manager code (the kind one can record with ScriptingListener.plugin).