Dear Mr./Ms. Bereza. I did multiple tests. Trying to edit the content of a smart object will work using an action, but not when using Extendscript Toolkit executing a scripting listener recording. An error is thrown that the feature is not supported. Doing small stuff like converting an rgb image to cmyk does work.