Global Mapper v26.0

Export Google tiles using script by area name

Hi, I'm looking for solution to export Google Tiles cropping to all areas I have in the project. Is there a easy way to do it? I would like to have two possibilities:
  1. export from each area I draw in the project (eg grid)
  2. export basing on area name (eg export area 1, 2, 3)

For now I was using all shapefiles saved in the folder, but first I needed to save each separately, and remove from folder, if looped export was interrupted. So it's not desired, I would like to make it easier, more straight forward, if I want to use the scripts function regularly for different exports. I would like to save each export in separate folder as well, which was fine, when using below script.

GLOBAL_MAPPER_SCRIPT VERSION="1.00"
DIR_LOOP_START DIRECTORY="D:\shapefiles_OSNI\" FILENAME_MASKS="*.SHP" RECURSE_DIR=YES
EXPORT_WEB FILENAME="D:\Tiles\OSNI_NI1k\%FNAME_WO_EXT%\%FNAME_WO_EXT%.htm"\
 TYPE=GOOGLE_MAPS\
 POLYGON_CROP_FILE="D:\shapefiles_OSNI\%FNAME_WO_EXT%.shp"\
 MAX_ZOOM_LEVEL="19"\
 IMAGE_FORMAT="PNG" BG_MAP_NAME="ROADMAP" TILE_PATH="C:\TILES_2" WEB_SKIP_EMPTY_TILES="YES" WEB_TRANSPARENT_TILES="YES" WEB_SKIP_EXISTING_TILES="YES"
DIR_LOOP_END
Any ideas?