Hi Carl, the attached will do what you want - I adapted Aram's approach of the close loop in one toggle switch, the other uses the counter/modulo 2 technique that will work in 10.4 - this could be made more efficient with logic maybe.

Cheers, Ian

Attachment: 2toggle_001.qtz
Description: application/quartzcomposer



*******************************
Ian Grant
Senior Lecturer in Digital Art
Faculty of the Arts
Thames Valley University
Ealing, UK
W5 5DX
<[EMAIL PROTECTED]>
*******************************



On 25 Jul 2008, at 10:50, Carl Rohumaa wrote:

Really useful thanks. What I am struggling with is how to the make toggles switch each other off or reset. All I want to do is hit a key to switch the enable true or false on multiple clear or billboard or whatever. But. I want to hit the key just once and, it stay on until I hit another key. So my question is what do I have to add to this example to make the toggles reset when another key is pressed. I made the keys 1 and 2 to trigger two clears.

<2toggle.qtz>


Carl


On 25 Jul 2008, at 01:22, aram wrote:

I've sure seen some unusual ways of implementing a toggle in qc.
Maybe after the ability to use closed loops someone should have rethought this.
Here are a few examples.
This I learned a few years ago in CS 101--the XOR.
--aram
<qc_xor_toggle.qtz><qc_xor2_toggle.qtz> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/starrats%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/ian.grant%40mac.com

This email sent to [EMAIL PROTECTED]

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

This email sent to [EMAIL PROTECTED]

Reply via email to