Object Pascal Language
All scripting in Photo Supreme is done in the Object Pascal language. A good starting
point to learn about Pascal can be found here:
Once you're familiar with elementary Object Pascal programming you can start using the Application specific
classes. These cases are listed in the API document below.
Photo Supreme Script API Document
The Photo Supreme script API document
- Quick scripts - A script without an embedded user interface; these have the extension .psc. They contain just ASCII text and if an interface is available, it was added programmatically. These scripts are commonly created with the F9 feature or just in a plain programmer's file editor.
- Quick interface scripts - These are scripts that behave exactly as a normal quick script; however, this script is designed in the Script Manager and exported with the PSI extension. These scripts allow interface forms that are designed in the script studio.
- Normal scripts - These are script that are designed in the Script Manager and are commonly dedicated to run in the manager as well, and not as some sort of stand-alone script.
- Search Scripts - These are scripts created in the Script Studio, but each must have specific implementations for the search handling. You can import any existing search script to the Script Manager to see how they work
- Filter Scripts - Just like search scripts, but now with specific implementations for the filter handling. You can import any existing filter script to the Script Manager to see how they work
- Sort Scripts - Just like search and filter scripts, but now with specific implementations for the sort handling. You can import any existing sort script to the Script Manager to see how they work
- Inline Scripts - These are (small) pieces of script code that can be used almost anywhere; for example in rename rules, in custom thumb info, in custom toolbar text, in image caption titles, in the web-template designer, etc etc. An inline script always starts with %code and ends with %/code.
- Download Scripts - These are scripts that are dedicated to be used in the Downloader. In the Downloader you can use pre and post scripts. Both can be designed inside the Downloader by clicking the appropriate design button.