Introduction to Scripting

Have a repetitive job that runs with the same settings, time after time?  How about scheduled processing that you would like to set up to run over the weekend when you're not present?  With the powerful Scripting Engine within AccuZIP6 5.0, you can do that and more.  Setting up script routines is as simple as selecting a menu and a menu selection that you'd like to perform, creating an event sequence in the easy-to-use Script Editor.  Getting your processes automated in AccuZIP6 5.0 is quick and easy.  Here's how to get started.

 

 

Special>Script menu selection with all active windows closed

 

Once you've entered the Script Window, you'll be able to create or modify any scripts that are saved on the system.  The first time you enter the Script window, you'll be looking at an empty box, waiting for you to create your first script:

 

Script Window with no active scripts

 

From this window, you will be able to create and modify existing scripts, copy script files, set up a watch folder and edit the script text (more on that in the Advanced Scripting section), and more.  Here are descriptions for all buttons on the window:

 

Create Script

The Create Script button allows you to create a new script from scratch, and add events as desired.

Run Script

The Run Script button allows you to run a selected script that has been previously created and saved.

Edit Script

Clicking this button will bring up the Script Editor window, which allows the creation of new script events, or alteration of existing events.

Delete Script

Deletes the currently selected script.

View Script Text

The View Script Text button will open up the actual script text file in a text editor, allowing advanced users to manually modify the syntax.

Setup Watch Folder

Setting up a Watch Folder is an advanced feature in the scripting engine, covered in the Watch Folders section.  It allows you to set a specified folder to "drag and drop" files to and automatically have AccuZIP6 5.0 run a previously created script using the watch folder criteria.

Script Timer

The Script Timer is another advanced feature, used in conjunction with the Watch Folder.  Use this feature to set predetermined start and stop times for selected scripts when using the Watch Folder.

Copy Script

The Copy Script button allows you to make a duplicate of an existing script.

Refresh

The Refresh button will refresh the current Script Window, showing any modified script names or added files to the configured watch folders.

Monitor

The Monitor button toggles AccuZIP6 5.0's Watch Folder feature.  AccuZIP6 5.0 will monitor a specified folder for files matching the Watch Folder criteria, and run the pre-configured script automatically when the folder contents change.

Help

The Help button opens this help page.

Close

Clicking the Close button will close the Script window