One timestamped stem for the whole capture. generateFilename
stamps new Date() on every call, so calling it per artifact —
the ZIP's save-dialog name at setup, its fallback download name at
finalize, the script's output base — hands out names that disagree
whenever a capture crosses a second boundary.
One timestamped stem for the whole capture.
generateFilenamestampsnew Date()on every call, so calling it per artifact — the ZIP's save-dialog name at setup, its fallback download name at finalize, the script's output base — hands out names that disagree whenever a capture crosses a second boundary.