As far as I can tell: No.
Alternative options would be
• creating a Path and using strokePath or
• trying to recreate the whole Mask as Paths and apply the necessary Blur afterwards or
• inserting the channel from a separate file
Edit: Could you post a screenshot of what you are aiming for?
You can't record or script brush strokes. In addition to using paths, you may also be able to create and fill a selection depending on what you want to do.
True, especially if the Selection is basically polygonal without a lot of curving or gets feathered strongly anyway this might be an more convenient solution.
when ever I want to record brush strokes, i make a new brush layer, brush, and save just the brush layer as a png. Then I can record a copy and paste of just the brushing.
Hope this is of use
I can be wrong, but I remember somewhere on ps-script Xbytor writing about it.
ScriptingListener can't record brush strokes - afaik, according to Chris Cox, this would clog the log - but there's an "Allow tool recording" option in the Actions palette that should do the trick.
A workaround could be to record the brush into an Action, then parse the action with XTools and grab the raw data stream from the generated JS. Never attempted to try, but in principle should work.
The Tool Recording does not seem to store brush tip, size, flow … so faithfully recreating a Brush stroke with an Action would need all those settings to be the same as at the time of the recording or, I guess, one could use Brush Presets to ascertain that within the Action.
Edit: There may be other options, too …
is that "allow tool recording" action native to ps cs6. Didn't see it in cs5 actions palette
Yes, you need CS6 or later. Even then, at least on my system, xtools will not convert an atn file with recorded brush stokes. It hangs Photoshop.
It hangs Photoshop.
Yep. And there is no work-around. I trashes the JS interperter into itty bitty pieces.