DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Command: AutEdTabNameGet

Display all  Hide all

Command: AutEdTabNameGet

Returns the name of a file that is loaded in the script editor.

ReturnValue = AutEdTabNameGet(AutEdTabIndex)

Input Parameters

AutEdTabIndex Specifies the index of a file that is open in the script editor.

Return Parameters

ReturnValue Receives the name of the file in the script editor. The return value is a AutEdTabName type.

Example

The following example displays the names of all the files open in the script editor.

VBScriptPython

 

Dim strMsg, intLoop, MyAutEdTabName
Call AutEdInfoGet()
strMsg = "List of open files: " & VbCrLf
For intLoop = 0 to AutEdNoFiles -1
  MyAutEdTabName = AutEdTabNameGet(intLoop)
  strMsg = strMsg & MyAutEdTabName & VbCrLf
Next
Call MsgBoxDisp(strMsg)

Related Topics

Command: AutEdCloseAll | Command: AutEdEncode | Command: AutEdFileNew | Command: AutEdFileOpen | Command: AutEdInfoGet | Command: AutEdOpenDlg | Command: AutEdSaveAsDlg | Command: AutEdTabActivate | Command: AutEdTabSave | Command: AutEdTypeLibAdd | Command: AutEdTypeLibDlg | Command: AutEdWSOpen | Command: AutEdWSSave

Was this information helpful?