Page 3 of 3

Re: App Version 1.4.3 real time clock

Posted: Mon Jul 09, 2018 4:33 am
by rhett7660
Ok, I know this is an older thread post, but can someone walk me through this step by step so that I can have a clock on my pages? I have been trying to do this and well, I can't get it to work.

Thanks

Re: App Version 1.4.3 real time clock

Posted: Wed Jul 11, 2018 6:59 pm
by DemoPad
rhett7660 wrote:
Mon Jul 09, 2018 4:33 am
Ok, I know this is an older thread post, but can someone walk me through this step by step so that I can have a clock on my pages? I have been trying to do this and well, I can't get it to work.

Thanks
Please refer to http://designer.docs.demopad.com/variables/labels/ - create a repeating page load action which sets your label to the current time, say every 5 seconds, and have the label show on the UI

Re: App Version 1.4.3 real time clock

Posted: Thu Jul 12, 2018 3:25 pm
by rhett7660
Ok, I will give this a look and try. I have been trying to wrap my head around this.

Re: App Version 1.4.3 real time clock

Posted: Fri Jul 27, 2018 8:32 pm
by rhett7660
DemoPad wrote:
Wed Jul 11, 2018 6:59 pm
rhett7660 wrote:
Mon Jul 09, 2018 4:33 am
Ok, I know this is an older thread post, but can someone walk me through this step by step so that I can have a clock on my pages? I have been trying to do this and well, I can't get it to work.

Thanks
Please refer to http://designer.docs.demopad.com/variables/labels/ - create a repeating page load action which sets your label to the current time, say every 5 seconds, and have the label show on the UI
Ok, I can get the label to show up now, however as soon as I do the following:

Go to Page Settings
Edit-Edit Page Load Actions
Set Label
Label - Current Time
Repeat Command every 5.00 seconds
Add
Done

Load the file up, the text disappears. As soon as I remove the above, re-load the file the text appears, however it doesn't update.

I do have two commands on the page load up, both set to 0.0 delay as they are off (Left Navigation and Volume On) both are slide in panels with additional controls.

Please let me know what I am doing wrong.

Re: App Version 1.4.3 real time clock

Posted: Fri Jul 27, 2018 8:35 pm
by rhett7660
Update. When I add in the repeat 5 second command from above, and reload the page, the time will show, however it disappears after say five seconds and doesn't come back until I reload the page.

Re: App Version 1.4.3 real time clock

Posted: Fri Jul 27, 2018 8:42 pm
by rhett7660
Edit.. Was able to get it to work.

Is there a command to show the battery life by any chance?

Re: App Version 1.4.3 real time clock

Posted: Tue Aug 14, 2018 11:11 pm
by ekkoville
What was the problem Rhett with your first attempt?

Re: App Version 1.4.3 real time clock

Posted: Tue Sep 11, 2018 8:43 pm
by rhett7660
ekkoville wrote:
Tue Aug 14, 2018 11:11 pm
What was the problem Rhett with your first attempt?
Sorry I didn't see this until now, I will have to go back and pull it up as I don't remember what I did exactly to get away from having to reload the page manually. I will post what I have that is working.

Re: App Version 1.4.3 real time clock

Posted: Sun Sep 16, 2018 5:16 pm
by rhett7660
Here is how I was able to get it to work.

Created under Action Editor - When Page is Displayed

Action type: Set A label
Label: CurrentDay
Dependent Flag: None
Data: #CURRENTDAYOFWEEKTEXT

Action type: Set A label
Label: CurrentTime
Dependent Flag: None
Data: #CURRENTTIMETEXT
Repeat command ever 5.00 seconds

Project Labels (I don't know if this has any influence on the below, but they are under the Project Labels)
CurrentTime Processor Label ID 1
CurrentDay Processor Label ID 2

Created a dynamic label for each:

Text DAY: Dynamic Label: CurrentDay
Text TIME: Dynamic Label: CurrentTime

Hopefully this helps... I had to do a lot of reloading and updating but these are the final settings that are currently working.