In the first version, it only worked on white-colored painted areas, so I created another version that can also work with other colors. The purpose of this Auto Action is to help you extract lineart generated by the Border Effect mode into a separate layer with just a single click, making it much easier to edit XD
As for how it works, it duplicates the original layer, fills all painted areas with white, and then uses the [Convert Brightness to Opacity] function to remove the white pixels. Please note that it will not work if your border color is white.
Play the auto action directly to the layer with Border Effect.
Select Border Effect layer.
Press play the auto action
A lineart layer will be created above the original layer.
