Hi,
you can write a script that would set your current work offsets to whatever you require but I'm thinking you
don't really understand what work offsets are.
Look on the Offsets Tab.
Note the buttons g54, g55, g56 etc. It is common that when you start Mach the default offset g54 is in operation.
If you have an alternative offset that suits a particular job or a particular material placement you could have
that offset stored in one of the other offsets, g55 for instance.
Note that if you hit the <Fixture Offset> button then a table comes up as shown and you can view the over one hundred
sets of offsets. You can edit each one manually if desired.
In any given offset, g54 for example, if you hit the <Zero X> it causes the x axis offset to change, thus it is common for an
offset to change over the course of a Mach session. One of the most common changes is when you mount a piece of
material in the vice then jog to the start point, if you hit <Zero X>, <Zero Y>, <Zero Z> in succession the current
offset set in operation will now reflect the machine coordinate point of that location. Provided you do not alter one or
more of those entries Mach will retain that location for months/years.
Craig