Multiple digital join to a single button...or?

52 views
Skip to first unread message

Guillaume Vigneron

unread,
Nov 30, 2013, 3:42:57 AM11/30/13
to comman...@googlegroups.com
Hi all,
a new question!

I'd like to control two different sub-pages with a unique button. When this button is pressed, both sub-pages appear, and when released both sub-pages disappear. My problem is that I want to keep control individually on each sub-page to make them rotate differently and for that I need to have a different digital join on each sub-page.

Can I assign two digital joins to a single button then?

Second problem, when animating my sub-pages, the button with the same digital join will also rotate...not too elegant! The correct solution would be to have a button that can call my sub-pages without assigning any digital join to this button. Is there a function I can run from my button to make sub-pages to appear/disappear?

Thanks for your help!

Jarrod Bell

unread,
Nov 30, 2013, 4:52:08 AM11/30/13
to comman...@googlegroups.com
There are a few ways to tackle this:

1. Create a loopback system in your project, 127.0.0.1 UDP, and then create a command in that system and within the command properties you can optionally set any join to any value.

2. Use JavaScript on the button properties > action tab:
CF.setJoins([{join: "d1", 1 },  {join: "d2", 1}]);

The above script will set digital joins 1 and 2 high.
http://commandfusion.com/docs/scripting/gui.html#cF.setJoins

Regards,

Jarrod Bell
CommandFusion
www.commandfusion.com


--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Guillaume Vigneron

unread,
Nov 30, 2013, 5:25:01 AM11/30/13
to comman...@googlegroups.com, jar...@commandfusion.com
Thanks for your help, just what I was looking for :)

Is there any command to call a subpage without using a button with digital join. I'd like the subpage to appear when I press this button but if my button is configure with the same digital join, then he will also be animated (my button run an animation on the subpage)

Guillaume Vigneron

unread,
Nov 30, 2013, 6:01:28 AM11/30/13
to comman...@googlegroups.com, jar...@commandfusion.com
Sorry, the answer was in your previous post, just have to set a command with a "setjoin" and start it with a timer on my page :)
Reply all
Reply to author
Forward
0 new messages