origin_labtalk
Run LabTalk scripts in Origin to execute custom operations not covered by dedicated tools. Returns script output, enabling automation of arbitrary Origin commands.
Instructions
Run a LabTalk script inside Origin and return what it printed.
The escape hatch: anything Origin can do from its command window. Prefer a dedicated tool where one exists, because this one cannot check its own work.
returned says the script parsed and dispatched, not that it did anything.
A LabTalk script stops at its first bad expression, so when returned is
false the last captured line is the last line that ran. Origin's own error
text goes to its console and cannot be captured from here.
Scripts that start Python (run -pyf, py.exec) are refused: Origin will
not run Python while a command is in flight, and every request here is one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| capture_output | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||