App Version 1.4.3 real time clock
Re: App Version 1.4.3 real time clock
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
Thanks
Re: App Version 1.4.3 real time clock
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
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
Ok, I can get the label to show up now, however as soon as I do the following:DemoPad wrote: ↑Wed Jul 11, 2018 6:59 pmPlease 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
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
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
Edit.. Was able to get it to work.
Is there a command to show the battery life by any chance?
Is there a command to show the battery life by any chance?
Re: App Version 1.4.3 real time clock
What was the problem Rhett with your first attempt?
Re: App Version 1.4.3 real time clock
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
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.
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.