How to Set Current Tool Opacity to 100%?
Hello, I'm trying to set opacity of paint brush tool to 100%. I tried many ways but could not find it, I tried to record an action but it did not record. Then I installed scriptlistener and got script below but it does not work either. It throws an error at the last line ;
executeAction( idtoolModalStateChanged, desc69, DialogModes.NO );
Here is scriptlistener's output;
var idtoolModalStateChanged = stringIDToTypeID( "toolModalStateChanged" );
var desc69 = new ActionDescriptor();
var idLvl = charIDToTypeID( "Lvl " );
desc69.putInteger( idLvl, 0 );
var idStte = charIDToTypeID( "Stte" );
var idStte = charIDToTypeID( "Stte" );
var idexit = stringIDToTypeID( "exit" );
desc69.putEnumerated( idStte, idStte, idexit );
var idTool = charIDToTypeID( "Tool" );
var desc70 = new ActionDescriptor();
var idIdnt = charIDToTypeID( "Idnt" );
desc70.putString( idIdnt, """pntb""" );
var idTtl = charIDToTypeID( "Ttl " );
desc70.putString( idTtl, """Brush Tool""" );
var idTool = charIDToTypeID( "Tool" );
desc69.putObject( idTool, idTool, desc70 );
var idKnd = charIDToTypeID( "Knd " );
var idKnd = charIDToTypeID( "Knd " );
var idPnt = charIDToTypeID( "Pnt " );
desc69.putEnumerated( idKnd, idKnd, idPnt );
var idkcanDispatchWhileModal = stringIDToTypeID( "kcanDispatchWhileModal" );
desc69.putBoolean( idkcanDispatchWhileModal, true );
executeAction( idtoolModalStateChanged, desc69, DialogModes.NO );
I've searched but could not find an exact answer.
(Note: In my main script I aim to create a work path point then apply a stroke with paint brush tool. So It would be still useful if there's a way to paint with a brush which has 100% opacity.)
Thanks and Best Regards.
