Scripting: how to pass arguments to a script?
There are 2 scripts that can work both independently of each other, and together. To work together, they need to pass parameters to each other. Now I do it through app.putCustomOptions (but this is not very convenient).
Maybe it is possible to pass arguments when calling executeAction (AdobeScriptAutomation Scripts, desc) (since this is done, for example, by the Photoshop event subsystem)? I can write jsMs (javaScriptMessage) in the descriptor, but it may not be related to the arguments - I tried to put variables, objects, functions there, but the script of which I call with this jsMs does not see them in the arguments
