I managed to get the basic code of saving the brushes preset by using the Scripting Listener plug-in.
Only problem is that it keeps popping the file save dialog.
I'd like to dump the dialog and save the brushes file to a predefined file path.
Is it possible?
OK. Got it.
If a file with that name already exists in that location, you need to remove or rename it first before you save.
Retrieving data ...