They aren't macros, for one thing...
They are actually choices in the tool gump itself. In KR, right above the buttons for "Enhance item" and "Repair item", is a box for "Toggle as quest item". If you have that box marked, anything you make that has an active quest will be marked automatically.
Below those two buttons, are the Make Last, Make Number, & Make Max buttons.
Make Number and Make Max are a choice of one or the other, and will be interrupted by a crafting failure. Note that many of the custom UIs for KR (BB Enhanced, for example), have renamed "Make Max" into "Make Max until Failure", and put in an extra "Make Max" button that doesn't stop for failures. If you are doing quests while training the actual crafting skill, I would suggest using "Make Number", probably at a number around 3-5 (getting the number to go into the box for Make number is a bit tricky, but stays the same once set, until toggled off). If training Arms Lore (or filling quests for rewards) with an item 100% chance of success, then set "Make Number" for the amount you need for the quest. You then click the "Make Now" button to trigger your choice of crafting.
Note that any items in excess of the amount needed for the quest will be "unmarked" when the others for the quest disappear, so will have to be re-marked by hand. This is why I suggest making smaller number if not 100% success chance, and why you shouldn't "make max" in conjunction with quests. Of course, if training to toss out/recycle, "Make Max" is the way to go (just make recyclable items with the raw materials in a salvage bag)