Hi Jeff

Rather than using Javascript to do this you could make use of the System Time 
patch and a few conditionals. Should pose any evaluation issues. Also a 24 item 
Switch to catch one case only seems a little odd but I guess you might have 
more cases to fill in yet. 

Some people consider reflex JS use a crutch in QC, I'm somewhat agnostic about 
it :-)

Best
Alastair

Alastair I Leith

Useful Design
03 9480 5506
0432 889 831
30    Birch   St
West  Preston
VIC   3072 Au

On 14/08/2012, at 10:09 PM, Jeff wrote:

> Been working on a screen saver with quartz composer and I have run into a few 
> issues.  For one I want it to 
> display the correct hours for the office each day, and I wrote a javascript 
> patch to do just that, but if the screen 
> saver runs overnight, the information does not update.  I haven't been able 
> to figure out how to make the 
> patch continually update so if the day changes while it is running that the 
> hours will be updated as well.  
> Also, I would like to display a new screen when closing time is 30 minutes 
> away, but I'm having the same 
> problem there, since I can't figure out how to get that patch to continually 
> update so that when there is more 
> than 30 minutes remaining, the screen is normal, but when there is 30 minutes 
> or less to closing that a new 
> screen shows up announcing that.  I have attached what I have been able to 
> complete so far, and any help or suggestions would be much appreciated.
> 
> Thanks.
> <Test1.qtz> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/quartzcomposer-dev/usefuldesign.au%40gmail.com
> 
> This email sent to usefuldesign...@gmail.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to