Like everything in Mach there is more than one way of doing this. One way would be to create a macro which will essentially press the on-screen buttons you require when it is called within your Gcode file.
Just as an example the macro could contain the commands…
DoOEMbutton(1008) 'press ZERO X button
DoOEMbutton(1009) 'press ZERO Y button
DoOEMbutton(1000) 'press CYCLE START button
Call the macro M1111.m1s and save it in your Mach3 / Macros / Mach3Mill folder (or whatever profile you are using folder) then when you add M1111 to any of your Gcode files it will execute the macro.
You may need to elaborate on this macro and there is much documentation available on VB scripting language and DRO buttons, etc. available on the NFS website here;
https://www.machsupport.com/Just to get you started I have attached a copy of the above macro in a .zip file.
Tweakie.