AMT Help Files

Script Folders

Standard folders

The Scripting node comes with the standard folders Libraries, Scripts, Settings and Templates. Asysco recommends these folders with the following usage.

Script Folder: Relative Path: Suggested usage:
Libraries ..\Libraries

Scripts containing functions, subroutines etc. only used by the scripts in the Scripts folder should go in this folder.

Scripts .\

The actual executable scripts should go in this folder.

Settings Settings

Script file defining variables with predefined values (like paths and constants), to be used by the Libraries and Scripts, should go in this folder.

Templates n/a

This folder will only contain template scripts to be used for creating script files in the other three folders. The template scripts will not be saved on disk and can only be edited using the AMT Developer Studio internal editor.

You are of course free to change the structure of the folders in any way you like, with the exception of the Templates folder which cannot be modified.

The relative paths for the default folders give the following folder structure, where 'CUSTOMER_MANAGEMENT' is the name of the example application:

 

Right clicking a folder will let the end-user select one off the actions shown below, with the exception of the Templates folder which will let the end-user only add a new template through the offered action 'Insert Object -> Script file'.

Options


 
If Options is selected the options for the clicked folder can be set. 

Insert Object

Insert Object will let the end-user choose between inserting a new Script Folder or a Script File.

Insert Script Folder

When 'Insert Script Folder' is selected a new script folder is created. This folder will be a sub folder of the currently selected Script Folder (that was right clicked). The options menu of this new Script Folder will open in which the Name of the Script Folder and the Description can be set. The relative path will be fixed and set as child folder to the selected Script Folder.

Insert Script File

'Insert Script File' creates a new script file both in the repository and as file in the currently selected script folder on disk. 


Add Missing Script Files

If script files have been added to the currently selected Script Folder outside of the AMT Developer Studio, these new script files can be added to the Repository database using this option.
 

Open Script Folder in explorer

Selecting this action will open a File Explorer window displaying the currently selected script folder on disk.
 

Delete Script Folder

If the currently selected script folder is empty this action will delete the folder, otherwise an error popup will be displayed.