Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8049 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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??

Posted

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.

Posted

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!

This topic is 8049 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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