Determines the location(s) of a scripting engine on a local computer.
Function only - no corresponding object.
Use this to find potential locations of a script engine on the local computer.
menu: none
library: scriptLib
The typical usage of findEngine occurs within the scriptConfig object to assist the user in finding installed versions of a given engine.
o_findEngine("python")
finds several possibilities and returns an array
C:\apps\python3.8\python.exe
C:\Users\stan\AppData\Local\Microsoft\WindowsApps\python.exe
C:\Program Files (x86)\Agilent\VEE Pro 7.0\veeos\python\python.exe
This object never needs to be run but rather is included as a convenience. If the user knows where their install is, then that can be configured. One possible use is to find old stale installs of a given scripting engine. Since a typical system has many files, findEngine() may take a while to execute.
This function is implemented with a Python script called via scriptPro.
VEE 7.0+, Windows 7+