--
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.
Jarrod,
I have seen this question several times in the recent month/years, including mysef.
Maybe it should be good to make a example project/pluging for this?
Regards
De: Terence Enviada: quinta-feira, 25 de julho de 2013 23h13 Responder a: comman...@googlegroups.com Assunto: Re: Button ligth on an off on the same CF object |
It is evident that this problem hsa multiple solutions, depending on how the actual interface is built. You can use Button Overlays, a clickthrough image above a generic button, or you can change button Theme based on feedback. You can even attach a tap gesture to an image and use it as a button with an associated JS function. All of the above will work, it all boils down on which one suits the GUI best without overcomplicating things.
This said, I think the thread lacks a significant information, being how the light gets switched on and off: is it a JS function? Is it a Command on a system? Is it from join change sent to a Control System? In my experience these all define a different approach.
Il giorno venerdì 26 luglio 2013 10:52:11 UTC+2, Alexander S Argollo ha scritto:
Terence thanks.I'll try to do this.But I think that it will not work, because the button properties object didn't have a Serial Join as Image Properties have. When I change the image properties to button properties to give a unique button I lose the CF.SetJoin.The button properties object have a Serial Join just to give a text information.Please are you have a other idea
If my slider returns a 16 bit HEXvalue, can I easily split the bytes into two 8bits using Gui designer?
My LSB is needed on another location then the MSB.
Thanks in advance
Bram
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.
--
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.
As Jarrod hinted it is very simple to do in JS. It really pays to learn enough JS to do these types of computations in JS feedback functions which are called via a watch statement.
Jarrod, Florent
How about thinking about the following:
Allow for the invocation of JS snippets which you already do in some cases. For example have the option to invoke a JS function as the feedback analyzer for a control system. In guiDesigenr if the user picks this choice open a JS editor with a simple empty file so the user can enter his function. When the user saves the snippet, save it as part of a special JS.module. Put all such snippets in the same JS module which you then automatically include in the guiDesigner file as a JS module. You could just assume a JS editor exists, i.e. something is handling files with a js extension.
If necessary part of guiDesigner setup could have the user locate his JS editor, and if that is not done do not allow for the above.
Might get some users more comfortable in using JS.
just a thought.
From:
comman...@googlegroups.com [mailto:comman...@googlegroups.com] On
Behalf Of Bram van der Mooren
Sent: Sunday, July 28, 2013 4:46 PM
To: <comman...@googlegroups.com>
Subject: Re: Slider use in Gui designer
Jarrod,
De: Jarrod Bell Enviada: domingo, 28 de julho de 2013 08h51 |
De: Jarrod Bell Enviada: domingo, 28 de julho de 2013 20h34 |
Responder a: comman...@googlegroups.com |
Assunto: Re: Res: Button ligth on an off on the same CF object |
Jarrod,
I did not communicate my thought to well. I had a similar discussion with the Pronto PRO developers when I was working with them.
The option I was discussing would merely place the call to the JS snippet(function) in the provided space. At the same time it would open an editor to allow the "Snippet" to be as extensive as required. Probably need an "edit" and "new" mode. In the "new" mode guiDesigner would build an empty JS module with a standard name in the project folder and all such code snippets would be placed there with some algorithmically determined function name. Naturally there would need to be an reference placed in the gui file to the special module so it was automatically loaded. The complexity of this option could grow fairly fast into a JS library function which is what was finally done with the Pronto PRO, but alas not too well.
Having never been into anything Crestron, I really favor JS as the mechanism for doing things. I guess it goes back to the old adage, you like what you know.
I feel this would allow users to easily integrate JS code into their systems without having to go through all the mechanics of building and integrating a JS module. Easy once you have done it, a little daunting the first time.
O/T: Are either you or Florent going to be at CEDIA in Denver CO USA at the end of September?
If you end up planning to attend CEDIA. let me know and perhaps we could do dinner.