PhotoPerfect Manual

PPScript Editor

The script editor integrated in PhotoPerfect makes it easy to create  scripts in VisualBasic and JScript. You can find an explanation of the  script commands used in PhotoPerfect in the Command Reference.





The left hand side of the editor is concerned with the integration of the scripts in PhotoPerfect, which can then be called via the menu item Extras/PPScript, the [F10] key or from the Processing resources.

The code is entered in the edit window. If the Reload automatically when changed box is checked, the loaded script is automatically updated when it is opened in the script editor and at the same time a change to it is made in an external program.

The window above the Load, Save As and Save buttons displays scripting errors when they occur. The editor then jumps to the corresponding line.

Note

Scripts can contain a large amount of knowhow, i.e. intellectual property. For this reason it is possible to publish  scripts in encrypted form. Microsoft provides the program screnc.exe for this purpose.


Key assignment: [F11]





To ensure that the scripts are integrated into PhotoPerfect with the  automatic configuration, the following lines must be included in the script header. Also, it is advisable to compress the script to a ZIP file if several files or subdirectories are involved.



//FFSubmenu=...


Name of the category into which the script is integrated.


//FFName=...


Name of the script as shown within the given category.


//**Start Encode**


If a script is to be encrypted, this line must be included. The encrypted area starts below this line.



see also:

Dialog Editor

Command Reference

Variables for Batch Processing Control

Keyboard Assignments