webcat Posted January 4, 2003 Posted January 4, 2003 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??
BobWeaver Posted January 5, 2003 Posted January 5, 2003 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.
webcat Posted January 5, 2003 Author Posted January 5, 2003 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 Thanks!
Lee Smith Posted January 6, 2003 Posted January 6, 2003 If it would be helpful to see a clock tip file, take a look at this one by Steve Wilmes, called "Clock" at: http://www.fmfiles.com/enduserhom11.html HTH Lee
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now