Change the Project timeout Page with Logic Module

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by Trevor, Dec 8, 2018.

  1. Trevor

    Trevor

    Joined:
    Nov 22, 2018
    Messages:
    51
    Likes Received:
    1
    Hi Again,
    Does anyboy know how to change the Project timeout page via a Logic Module?
    regards
    Trevor
     
    Trevor, Dec 8, 2018
    #1
    1. Advertisements

  2. Trevor

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    930
    Likes Received:
    57
    Location:
    Adelaide, Australia
    Use the 'SetPageIntegerProp' Procedure and specify the 'Time-out duration' property name.
     
    Ashley, Dec 8, 2018
    #2
    1. Advertisements

  3. Trevor

    Trevor

    Joined:
    Nov 22, 2018
    Messages:
    51
    Likes Received:
    1
    Hi And thanks for the reply,
    What i am needing is the correct symtax to set the property, I've been through the list of commands that can be changed and it is listed, but there is no example on how to se it. Once i have that I can continue with my code from there I hope. I'm trying to setup a screen saver by changing the property to the next image page to simulate a screen saver,,, Page 1 then page 2 and so on unitl a usr touchs the screen
     
    Trevor, Dec 8, 2018
    #3
  4. Trevor

    Trevor

    Joined:
    Nov 22, 2018
    Messages:
    51
    Likes Received:
    1
    Hi and thanks for the reply, I;m trying to setup a screen saver using 5 pages of images, I need to know the corect syntax for the command so I can change the default time out page to the next page of the screen saver. I should just need the syntax to use to set/change the property of the timeout page to do this, it is listed as an updateable property so I should be able to do this, just need the syntax to address the prporty.

    Again thanks for the help with this.

    regards
    Trevor
     
    Trevor, Dec 8, 2018
    #4
  5. Trevor

    Trevor

    Joined:
    Nov 22, 2018
    Messages:
    51
    Likes Received:
    1
    All good and solved, thanks for all assistance with this.

    Code:
    once ShowingPage("Welcome Screen") then
    begin
      TimerStart(ssTimeOutTimer);
      TimerStop(ssPageTimer);
    end;
    once not ShowingPage("Welcome Screen") then
      TimerStop(ssTimeOutTimer);
    if TimerTime(ssTimeOutTimer) = "00:00:15" then
    begin
      ShowPage("Photo Page 1");
      TimerStart(ssPageTimer);
    end;
    if TimerTime(ssPageTimer) = "00:00:15" then
    begin
      TimerStart(ssPageTimer);
      if ShowingPage("Photo Page 1") then
        ShowPage("Photo Page 2")
      else if ShowingPage("Photo Page 2") then
        ShowPage("Photo Page 3")
      else if ShowingPage("Photo Page 3") then
        ShowPage("Photo Page 4")
      else if ShowingPage("Photo Page 4") then
        ShowPage("Photo Page 5")
      else if ShowingPage("Photo Page 5") then
        ShowPage("Photo Page 6")
      else if ShowingPage("Photo Page 6") then
        ShowPage("Welcome Screen");
    end;
     
    Trevor, Dec 9, 2018
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.