Obtaining values in External Script action

In the External Script action,the ability to pick up a environment variable and assign it to a variable once the script has run
This would be much easier than using STDOUT, especially when trying to get a decimal value that gets calculated, by for example a python script. If you have a sample of doing this, it would be great it you could provide some sample .bat file scripting

cheers

Nick

I dont understand exactly what you ask.

You can pass a variable to a external script using arguments, your external script must read the args and using it parsing the value. Viceversa you can use a stdout text of your external script to get data into a single variable string or decimal in “Execute external script” DragScript block.

This is how work now.

All the best
LO

It would provide another way to pick up external values

A process outside of Voyager, or the process run by the External Script action would result in an environmental variable being created/updated via the Windows set command. Voyager could then offer the ability to retrieve these values by name and assign them to Voyager variables.

https://ss64.com/nt/set.html

The External Script might set multiple values, we would use this to retrieve each of them without running the External Script action for each one.