System Scripting (View Menu) (Platform Designer)

The System Scripting tab allows you to execute Tcl scripts on your Platform Designer system. To open the System Scripting tab, click View > System Scripting.
Table 1. System Scripting GUI Information
Name Description
Global Scripts

Scripts that the Platform Designer Pro tool provides. You cannot edit these scripts.

User Scripts

You can add your own scripts to this entry. Platform Designer saves these scripts to your user preference file, available in your home directory. The scripts that you add to this entry are available every time you open Platform Designer. Click <<add script>> to add a new script file to this entry. Double-click the Description field to add a description.

Project Scripts You can add your own scripts to this entry. Platform Designer saves these scripts to your current .qsys system. The scripts that you add to this entry are available only when you open this specific Platform Designer system. Click <<add script>> to add a new script file to this entry. Double-click the Description field to add a description or additional commands to the script.
Edit File Selecting the script in the File field displays the script in the pane below. Click Edit File to edit the script.
Revert File Discards all your changes to the edited file.
Save File Saves your changes to the edited file.
Run Script Executes the selected script.
System Scripting Messages Displays the warning and error messages when running the script.
Note:
  • To add additional commands to run before the script, right-click the column header and enable Additional Commands. Selecting this option displays a third column, in addition to File and Description. Double-click the entry in this field to add commands to execute before running your script.
  • You can drag and drop items between the Project Scripts and User Scripts fields.