Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: Scripting the path in Quick Selection Tool

$
0
0

Thanks for your answer! It seems to work!

 

But I have one question: when I use the scriptListerner, and draw a selection with the QuickSelection tool, the listener records this:

 

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

var idslct = charIDToTypeID( "slct" );

    var desc2 = new ActionDescriptor();

    var idnull = charIDToTypeID( "null" );

        var ref1 = new ActionReference();

        var idquickSelectTool = stringIDToTypeID( "quickSelectTool" );

        ref1.putClass( idquickSelectTool );

    desc2.putReference( idnull, ref1 );

executeAction( idslct, desc2, DialogModes.NO );

 

How did you manage to record the other stuff?


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>