Being a newbie with cam software I'm not to sure what to use. Right now I'm doing it manually, typing every line with help from autocad. Your macro program looks very promising but my machine is a bit on the old side (1992) and from what I've seen my g-code are different from industry standard. e.g. G00 is simple hole and G72 fixed cycle origin.
also wondering if your macro program does metric