LabTalk Object Type:
The ed object provides script access for the Code Builder.
Method | Description |
---|---|
ed.open() |
Open a new Code Builder window. |
ed.open(fileName.ogs) |
Open the specified script file in a new Code Builder window. |
ed.open(fileName, sectionName) |
Open the specified script file at the specified section in a new Code Builder window. |
ed.open(X-Function Name) |
Open the specified X-Function's source code, for example: ed.open(smooth) |
ed.open(script.ogs) |
Open the specified OGS file, if found in the Current Working Directory, for example:
cd 2;ed.open(autofit.ogs); |
ed.open(py.@fileName) |
Open the Python file fileName that is attached to the project, in the Code Builder IDE. When a single Python file is attached to the project, you can omit fileName, for example:
ed.open(py.@); |