Thank you!  That solved my problem.
I just have one further question.  When I load my completed screen saver on 
some older Macs, it does not work properly.  Is my screensaver, created in 
Quartz Composer 4.6 unable to run on Macs running OS X 10.4.11.
It runs fine on my Macbook running Lion, but I need it to function on a 
collection of Mac Mini's that are running Tiger.

Thanks

Hello Jeff,

patches only gets executed if their input values are changing. So do Java 
Script patches. Some of your Java script patches even don't have any inputs, 
and therefor they only get executes only once (actually twice, but this is 
another story). One trick is to have a single input variable in your Java 
script where you connect the system time to it. You don't need to do anything 
with this variable in your Java Script, this just tells QuartzComposer to 
execute this Java script every rendered frame. For performance reasons you can 
also connect only the hour of the clock to that input and so the Java Script 
patch gets executed when the hour changes.

You put a "while (x=0)" with x=0 in your java script. This is dangerous because 
Java script is executed synchronously and will block your QC if this while-loop 
gets executed.

best,

Achim Breidenbach
Boinx Software Ltd.


On 14.08.2012, at 14:09, 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      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
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