Skip to content
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

Open
pepsijon opened this issue Sep 14, 2024 · 11 comments
Open

Feature Request - Expressions for columns, layers, etc. #98

pepsijon opened this issue Sep 14, 2024 · 11 comments

Comments

@pepsijon
Copy link

Is it possible to utilize expressions for setting the column, layer, etc?

@4xel
Copy link
Collaborator

4xel commented Sep 14, 2024

yes, it should be in te current beta, merged in #91

@4xel 4xel closed this as completed Sep 14, 2024
@pepsijon
Copy link
Author

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.

@4xel
Copy link
Collaborator

4xel commented Sep 14, 2024

Can you provide an example of where it is working? I never used them before.
also: could you give an example of what you want to be able to do?

@4xel 4xel reopened this Sep 14, 2024
@pepsijon
Copy link
Author

pepsijon commented Sep 14, 2024 via email

@4xel
Copy link
Collaborator

4xel commented Sep 14, 2024

I asked the slack chat for an example on how to implement this: https://bitfocusio.slack.com/archives/CFG7HAN5N/p1726349188908029

@pepsijon
Copy link
Author

pepsijon commented Sep 14, 2024 via email

@4xel
Copy link
Collaborator

4xel commented Sep 14, 2024

If you can tell me which other module works like this I can try have a look

@pepsijon
Copy link
Author

pepsijon commented Sep 14, 2024 via email

@pepsijon
Copy link
Author

Also, not sure if this is an issue or not, but whenever putting a variable in, it turns Red. The variable does work though. But seems to only be this module where it turns red.
Screenshot 2024-09-14 at 6 28 34 PM

@pepsijon
Copy link
Author

So I did find this yesterday in the Companion area:
bitfocus/companion#2345

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. :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants