Call a script with action.play()

action.play() (and also the equivalent batchplay) fails if the action contains a script call (File > Scripts > Browse). As far as I remember it worked fine in CEP panels.

Is this “as designed” because Extendscript is no longer supported?