Using other languages for scripting?

Post Reply
User avatar
Soul Forge
Member
Posts: 61
Joined: Wed Jul 12, 2023 5:25 pm

Using other languages for scripting?

Post by Soul Forge »

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!
jan_suhr
Advanced member
Posts: 687
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Using other languages for scripting?

Post by jan_suhr »

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
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
User avatar
tdeschampsBluewest
Member
Posts: 127
Joined: Tue Jun 01, 2021 11:57 am

Re: Using other languages for scripting?

Post by tdeschampsBluewest »

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.
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Post Reply