Skip to main content

Page attribute

  1. Navigate to HSYCO Manager

  2. Go to "Project Editor"

  1. Click "New Project"

  1. Give it a name ("pagetutorial" for example) and click "Create"

  1. Go into the "Homepage"

  1. Click "add"

  1. Add a "text" object

  1. Go back to "edit" mode

  1. Change the "Text" attribute to "Homepage"

  1. Change the "Font Size" to "40"

  1. Align the button by pressing "Align" and then "Center Vertically" and "Center Horizontally"

  1. Click "Add Page"

  1. Add a simple "Page (landscape)"

  1. Click "add"

  1. Add the "Text" object

  1. Go back to the "edit" panel

  1. Change the "Text" to "Page 2"

  1. Change the "Font Size" to "40"

  1. Align the button in the middle of the page like before

  1. Click "Save" to save the project

  1. Go to the "Code Editor"

  1. Click "New Events File"

  1. Give it a name ("page.txt" for example) and click "New File"

  1. Copy the following code to the file and save it:
TIME = 1242 : UISET "pagetutorial.page" = "page2"

What this does is it, when 12:42 strikes, set the actual page of the project called "pagetutorial" to the page with id "page2"

  1. Go back to the "Project Editor", click "Run" and then "Default" to launch the application

  1. When the project opens, we are in the "Homepage"

  1. As soon as 12:42 strikes, the page is changed to "Page 2"