Im trying to activate the X,Y and Z edge finder buttons in the offset screen with external PB switches and POKey board. I can't find a OEM code but did find that the buttons runs a couple lines of code like [Code "G92.2"
Call SetDRO(1, ABS(GetOEMDRO(1000))/(-2))]. Can I some how map this to a OEM code or save the code to a macro and then some how map a input to run these 3 macros.

Thanks

Geoff