This is more of a notepad question, but wasnt sure where to ask it. I have a mill turn setup with a brake for locking the spindle and i need to take gcode files and enter a specific M code before and after every line with an "A" in it. This will unlock the spindle before every A axis move, and lock it after every A axis move. Eventually i want to get this working in the post processor, but for now i think this will be more simple.