4 Replies Latest reply on Jul 14, 2015 3:00 PM by ian-barber

    Call Save As Dialog CC 2015

    ian-barber Level 1

      I want to call the Save As menu command so it opens the Save As window

      Screen Shot 2015-07-14 at 16.35.12.jpg

      The Script Listener outputs the following but when executed in ExtendToolkit, I get an error saying this funcionality may not be available in this version of Photoshop on this line  executeAction(cTID('save'), desc1, dialogMode);

       

      Outputted code from Listener.

       

      function SaveAs() {

        // Save

        function step1(enabled, withDialog) {

          if (enabled != undefined && !enabled)

            return;

          var dialogMode = (withDialog ? DialogModes.ALL : DialogModes.NO);

          var desc1 = new ActionDescriptor();

          desc1.putBoolean(cTID('Cpy '), true);

          executeAction(cTID('save'), desc1, dialogMode);

        };