So I consider myself an expert of zbrush at this point however I am confused on one thing, and not sure if its possible. But if it is, it will help out my workflow alot. Is it possible to make it so that a zscript or a macro will apply to every subtool. Can I add like a line of code to the end of a macro or zscript so that it understands to apply the same macro to every subtool.
You need a loop somewhere to get the subtool name, process it with the routine and then select down in the list, repeat. Probably need to store names or count items. There are scripts which do this. As long as you're not trying to use another script. Things break.
If I understand what you are saying is that if you create a macro with lets say subtool 1 and 2 then put subtool 2 at the end of the list. then when you run the macro it will apply to every sub tool in between. But I don't think it works that way because macros don't call out subtools based on name rather by its slot number.