Script tab
Use this tab to specify properties of the session's UI script and to link libraries to the session.
To edit or view the UI script, go to the Source tab.
- General Information
-
- Standard Script
- The session's standard script type.
- UI Script
- The name of the
program
script.
A script is identified by its unique name, which is the combination of the package code, the module code, and a script code.
The name and description of the script generally corresponds with the name and description of the session, with the exception of existing sessions with an anomalous name. When you add a script to a script-less session, the session editor will automatically generate a script (skeleton) with a name and description derived from the associated session.
- Session reference
- The session that owns the UI script of the current session.
Click
- UI script ownership
-
Each session, which does not use a standard script, is linked to a UI script. Each UI script is owned by a session.
A UI script can be used by multiple sessions, but has only one owner. For example, sessions tetst0101m000 and tetst0101s000 both use the UI script tetst0101. Session tetst0101m000 is the owner of the script. For both sessions, the following properties apply:
Session UI Script Session reference tetst0101m000 tetst0101 tetst0101m000 tetst0101s000 tetst0101 tetst0101m000 Note:- You can only edit a UI script via the session that owns the script.
- When you create a new session with a UI script, LN Studio automatically assigns the new session as the owner of the new script.
-
If a script is not owned by a session, use the Check and Convert UI-Script Ownership (ttadv2930m000) session to assign a session as the owner of the script.
If a script is already owned by a session, you can use this session to assign a different session as the owner of the script.
- To change the session reference
-
When you change the session reference, the UI Script field is automatically updated and filled with the script code of the referenced session. This referenced session must be a script owner.
In the Session reference field, you can specify the code of the current session itself. If you do this, a new, unique, script is assigned to the session. The new script is a copy of the script that belongs to the previously referenced session. The code of the new script is identical to the code of the current session.
If the Session reference field is filled with the code of the current session, you cannot change the session reference, because this would leave the script without an owner.
- Expire / Unexpire sessions
-
A session can only be expired if there is no reference to it from another not-expired session.
A session cannot be unexpired if it has a session reference to an expired session.
and select
the session from the list.
- Script Type
- Specifies the use or nature of the session's program script.
- Compile Flags
- The compile flag.
- Tools Interface Version
- The Tools Interface Version (TIV) number of the script/library.
- License
-
- Product ID Source
- The product ID for which a license is needed to compile the object. If the field is empty, no license is needed to compile the object.
- Product ID Object
- The product ID for which a license is needed to run the object. If the field is empty, no license is needed to run the object.
- Linked Libraries
- This list contains the records of all libraries linked to the UI
script of the current session.
- Sorting
-
- To sort the libraries by position, name, or description, click the corresponding column header.
- When you sort by position, the sort mode is always ascending. When you sort by name or description, click the involved column header to toggle between ascending and descending sort mode.
- When you sort by name or description, the and commands are disabled.
- Add / remove libraries, change linking order
- You can only perform the following actions if you sort the
libraries by position.
- To add a library, click Name field and select a library from the select dialog box. . Then, press CTRL+SPACE in the
- To remove a library, right-click a library and, on the shortcut menu, select .
- To change the linking order of the libraries, move them up or down the list.
- Documentation
-
- Release Notes
- Use this field to specify the release notes of the UI script.
- Technical Documentation
- Use this field to specify the technical documentation of the UI script.