Skip to content
Brian Spencer edited this page Mar 24, 2017 · 22 revisions

The app.livecodescript stack file must be located directly alongside the app.yml file in your app folder. The stack must be named app in memory. It has the following handlers for handling framework messages:

  • PreloadApplication: Perform any operations that need to happen before your application files are loaded into memory.

  • InitializeApplication: Initialize your application. Framework has loaded at this point.

  • OpenApplication: Open your application window.

  • PreShutdownApplication: Called before the application shuts down. Perform any cleanup.

  • ProcessURL: First parameter is line delimited list of urls that your app has been requested to process. Requires the {{FRAMEWORK}}/helpers/files_and_urls helper.

  • ProcessFiles: First parameter is line delimited list of files that your application supports and that you should process. Requires the {{FRAMEWORK}}/helpers/files_and_urls helper.

Clone this wiki locally