Global Mapper v25.0

I need a sample script for exporting raster and vector layers to a geo tiff using x,y min max

I have a large topo raster base with vector overlays.  I need to export different areas from this workspace based on x, y min / max coordinates to a geo tiff.  I came across an example yesterday in the forum but cannot find it now.  Can someone provide an example or point me to the conversation with the example?
Thank you.