Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

display current time with seconds

Featured Replies

here's one for you!

I am creating a kiosk mode solution, so users will not see the OS X clock in the menu bar - so, I would like to display the current time on my layouts, and have it update every second, or minute...

at the moment, I can display the current time, and it stays static unless I change layout.

I tried writing a script that endlessly loops and refreshes the window, but that didn't work at all as it means the ApplePeriod icon is constantly up and even then the time didn't update!

Any ideas??

Although I don't really like using paused scripts, you can give this a try and see if suits your needs.


loop

Set Field [TimeField, Status(CurrentTime)]

Set Field [DateField, Status(CurrentDate)]

Pause [00:00:01]

end loop


Run this script when you start up the application. It will pause and loop forever, updating the time and date every second.

  • Author

I came up with this a little while after my post:

Loop

Allow User Abort [on]

Pause/Resume Script ["0:01:00"]

Freeze Window

Refresh Window

End Loop

with a current time symbol :: on my layout,

so it was updated every minute, but the screen flickered.

I'll try your version, it looks more sensible smile.gif

Thanks!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.