0 Replies Latest reply on Sep 24, 2013 6:29 AM by mjewl

    Detect if Photoshop is ready to receive commands via socket server?

    mjewl Level 1

      Hey,

       

      Is there a way to detect if Photoshop is ready to receive commands using the remote connection socket server (from external 'companion' app)?

       

      If I start editing a text field, or use the transform tool, anything sent from ExtendScript Toolkit will be queued up until text editing or transform tool is accepted or rejected by the used (ie the edit is done).

      Trying to send various Javascript commands from an AIR application, if that matters.

       

      There doesn't seem to be a way to query PS about it's state, except for some kind of timing related operation (ask for something simple, if it times out, consider PS to be in a 'locked' state).

       

      Testing against CS6 (13.0) x64 on OSX.

       

      Tata,

      Erik