SendCommand in ExternalDocument

Yes, but you’ll have to do it through a Python node. There’s some starter code here that might help: