Day view, display only

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 22
Joined: Fri Sep 02, 2011 1:28 am
PostPosted: Wed Nov 27, 2013 6:29 am
Hello Seedcode,

I'd like to have the possibility to display the day view, and update that automatically, every 30 min or so. I would like to do so from a dedicated User/PriviligeSet on a dedicated computer, that accesses our FMserver-hosted calendar. I've tried to look at (and understand) the InstallOnTimer script approach, to no avail … Could you point me in the right direction. I'd be especially interested in finding out how I can have something like this run permanently, and correctly tracking/adjusting today's date. Would you have any clues ?!
Thank you, as always,
Bien amicalement,
Jan
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Wed Nov 27, 2013 6:52 am
Hi Jan,

We have a number of customers doing just that: http://www.seedcode.com/whiteboard-vers ... -calendar/

Here's what you'll need...

1. Write the script that actually does the "refreshing". I'd call it "Auto-Refresh" and give it two steps:
Code: Select all
Set Field [DateFocusGlob , Get ( CurrentDate ) ]
Perform Script ["Refresh Calendar"]


2. Edit the calendar's "Upon Opening" script, adding a few things at the end. You'll wrap this new stuff in an IF statement so it only runs when users are logged in with the account you're using for this dedicated display.
Code: Select all
If [ Get ( AccountName ) = "SOMETHING"]
  Perform Script ["Go To Day"]
  Install OnTimer Script ["Auto-Refresh"; ; 120 ]
End If


That will run your new Auto-Refresh script every 120 seconds until the current window is closed.

=)

Enjoy!
John Sindelar
SeedCode
Posts: 22
Joined: Fri Sep 02, 2011 1:28 am
PostPosted: Wed Nov 27, 2013 7:09 am
Gee, I didn't even have time to turn my back ! Thank you so much; I'm now testing, and will tell !
Jan
Posts: 22
Joined: Fri Sep 02, 2011 1:28 am
PostPosted: Wed Nov 27, 2013 7:22 am
Works !
Merci beaucoup …
Jan
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Wed Nov 27, 2013 8:14 am
=)

Right on, Jan!
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 1 guest

cron
(855) SEEDCODE
[email protected]
Follow us: