I saw a Linked In post about someone mentioning using C# with Switch (the post was shared by the Enfocus profile also), so It made me wonder: Is there a way to use Python or other languages to create scripts for Switch, or we're restricted to only using Javascript/Typescript?
Thanks in advance!
Using other languages for scripting?
- Soul Forge
- Member
- Posts: 61
- Joined: Wed Jul 12, 2023 5:25 pm
Re: Using other languages for scripting?
To reach stuff in Switch you need the NodeJS scripting, that's the only way to reach the commands in Switch.
But for external applications that should do something to a file running thru Switch you can use any Scripting, like Python, that can be run with a CLI command. And then use the Execute command app to run the script
But for external applications that should do something to a file running thru Switch you can use any Scripting, like Python, that can be run with a CLI command. And then use the Execute command app to run the script
- tdeschampsBluewest
- Member
- Posts: 127
- Joined: Tue Jun 01, 2021 11:57 am
Re: Using other languages for scripting?
You could totally use any language, as long it can be executed with a command line interface.
Either with the CLI element in switch, or trough NPM package that will execute CLI in async/await mode.
Either with the CLI element in switch, or trough NPM package that will execute CLI in async/await mode.
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Feel free to leave a comment on the Appstore!