-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request - Expressions for columns, layers, etc. #98
Comments
yes, it should be in te current beta, merged in #91 |
Variables are working, but Expressions do not seem to be. Could you check it on your end, and if it works, send an example? I use Expressions in other modules and internal actions, and they work fine, it's just in the Arena module. |
Can you provide an example of where it is working? I never used them before. |
Can you provide an example of where it is working?
Example:
1+$(internal:custom_A_Layer)*10
That’s an expression I use on other buttons and it works fine.
Or another example for specifying a location:
concat($(this:page), '/', $(this:row), '/', $(this:column))
In the Arena module, if I put in the variable $(internal:custom_A_Layer) then it works, but if I use any type of expression, it doesn’t work.
I never used them before.
also: could you give an example of what you want to be able to do?
Just like the above example. So I want the buttons to dynamically set the Layer and Clip based on 2 variables being added together (an expression).
In the Companion documentation under Expressions if gives information and examples.
Thanks!
Jon
|
I asked the slack chat for an example on how to implement this: https://bitfocusio.slack.com/archives/CFG7HAN5N/p1726349188908029 |
Thank you!
Jon
… On Sep 14, 2024, at 5:27 PM, Axel Bergmans ***@***.***> wrote:
I asked the slack chat for an example on how to implement this: https://bitfocusio.slack.com/archives/CFG7HAN5N/p1726349188908029
—
Reply to this email directly, view it on GitHub <#98 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AC7D4LNSDAIS7RTJ56RTUKLZWSS55AVCNFSM6AAAAABOGYMU2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGE3DCNZWGM>.
You are receiving this because you authored the thread.
|
If you can tell me which other module works like this I can try have a look |
If you can tell me which other module works like this I can try have a look
I don’t remember which external module I saw it in, but there are several internal Companion actions that use expressions. And the documentation refers to modules using expressions as well.
Like internal: Surface: Set to page
I use that with things like 1+$(internal:custom_A_Layer)*10
|
So I did find this yesterday in the Companion area: Apparently whatever module I saw that in, the module author must have implemented the expression support themselves. Hopefully they will get this added to Companion, so that it is easily available to all modules without having to do extensive parsing in each module. Expressions are available within Companion's internal features, but I am assuming they haven't made this easy yet for modules to support. :/ |
Is it possible to utilize expressions for setting the column, layer, etc?
The text was updated successfully, but these errors were encountered: