====== SetVolumeScript ====== Set a script to be called for each of the updated volumes. ===== Phase ===== This instruction is used by the TapeTrack Synchronization Engine. ===== Syntax ===== ''SetVolumeScript(script);'' ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ |script| String | The script to be called for each Volume.| 1 | 1024 | Before each script is called the engine will resolve the variables $CUSTOMER-ID, $MEDIA-ID, $VOLUME-ID. ===== Example ===== Eject all tapes that are being moved. SetVolumeScript("eject $VOLUME-ID"); {{tag> import_engine sync_engine}}