General

On Load and Lemur Editor

Started by amundsen on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
Hello,

What is the rule of activation for On Load scripts when Lemur is connected to the Lemur Editor ? Are they triggered everytime the project is modified in the editor or is it mandatory to load another project in Lemur directly then re-load the modified project to have those scripts triggered ? :?

Thank you in advance.
They are triggered every time you change something in the editor - they are supposed to be triggered only once when the template is then loaded in the actual Lemur on iPAd.

To better understand this, create a project with two interfaces....

Create a onload script that will select the first interface.

on Load
selectinterface(0);
Now go to the second interface and work - script - put objects in it....You will notice the onload script firing up and moving you to the first interface.

If the behavior of an onload script bothers you for further development of a template, simply untick its "checkbox" (in the editor's list window) to work on your template and then just tick it when you are done, before saving your final template.

;)