Skip to main content
Participant
March 26, 2017
解決済み

Photoshop Actions will not record all tool selections. WHY ?

  • March 26, 2017
  • 返信数 1.
  • 2612 ビュー

I have written an action with a stop to allow an Eliptical Marquee to be drawn, to suit that particular photograph being processed.

It works fine as long as the correct tool is selected before running the action.

The Action should be able to re-set the required tool itself if another tool is active but it does not !

When recording an action, for example " The Clone Stamp " can be selected and it duly records in the action. The same is not the case for all tools esp. the one I want.

I have tried both clicking the tool and using the "M" shortcut key but neither work.

Sure I can put a message in the STOP text box to tell the user to change it but I feel this is a cop out. The thing should work the same as other tool selection record.

Any help/Advice appreciated.

Dave

    このトピックへの返信は締め切られました。
    解決に役立った回答 c.pfaffenbichler

    Worst case you could use a little Script (paste the text into a text-file and save it with the extension jsx into the Presets/Scripts-Folder) and record it into the Action.

    // =======================================================

    var idslct = charIDToTypeID( "slct" );

        var desc23 = new ActionDescriptor();

        var idnull = charIDToTypeID( "null" );

            var ref3 = new ActionReference();

            var idmarqueeEllipTool = stringIDToTypeID( "marqueeEllipTool" );

            ref3.putClass( idmarqueeEllipTool );

        desc23.putReference( idnull, ref3 );

        var iddontRecord = stringIDToTypeID( "dontRecord" );

        desc23.putBoolean( iddontRecord, true );

        var idforceNotify = stringIDToTypeID( "forceNotify" );

        desc23.putBoolean( idforceNotify, true );

    executeAction( idslct, desc23, DialogModes.NO );

    返信数 1

    c.pfaffenbichler
    Community Expert
    Community Expert
    March 26, 2017

    Worst case you could use a little Script (paste the text into a text-file and save it with the extension jsx into the Presets/Scripts-Folder) and record it into the Action.

    // =======================================================

    var idslct = charIDToTypeID( "slct" );

        var desc23 = new ActionDescriptor();

        var idnull = charIDToTypeID( "null" );

            var ref3 = new ActionReference();

            var idmarqueeEllipTool = stringIDToTypeID( "marqueeEllipTool" );

            ref3.putClass( idmarqueeEllipTool );

        desc23.putReference( idnull, ref3 );

        var iddontRecord = stringIDToTypeID( "dontRecord" );

        desc23.putBoolean( iddontRecord, true );

        var idforceNotify = stringIDToTypeID( "forceNotify" );

        desc23.putBoolean( idforceNotify, true );

    executeAction( idslct, desc23, DialogModes.NO );

    davidgeorge9作成者
    Participant
    March 26, 2017

    I am in your debt Sir thank you.

    I was hoping for a more in app solution but this will be a way out in need.

    Thank you so much for your time and trouble.

    Dave

    c.pfaffenbichler
    Community Expert
    Community Expert
    March 27, 2017

    Unfortunately you have to include the Script with the Action if you pass it along to others.