oops, meant to post this earlier…
it may even work on a PC???
base = (UI.openpanel("Select Shapefile", "~", "Shapefiles|*.shp;*.shx;||"))
@@pathname = base.sub(/(\.sh[px])/,'')
oops, meant to post this earlier…
it may even work on a PC???
base = (UI.openpanel("Select Shapefile", "~", "Shapefiles|*.shp;*.shx;||"))
@@pathname = base.sub(/(\.sh[px])/,'')