Definition file editor for scriptsWith the Scripting Languages Definition File Editor, you can modify or extend the JavaScript and VBScript definitions supported in Spider in the dynamic hints tools and on the Programming Languages tab. To access the editor, use the Script Definition File Editor command, which is located in the main menu. You can also launch it using the button located in the program's settings under Facilitation, Dynamic Attributes, Other or in the menu. The button is shown above. The script definition file editor window consists of two tabs: the "Script Languages" tab and the "Object Types" tab. "Scripting Languages" tab.This tab consists of a selection list from which you choose the language (JavaScript or VBScript) for which you will prepare the list of supported functions and properties. The list below allows you to define functions and properties for the selected language. The first column of the list contains the name of the method or property supported in that language. The second column is the description, which appears, for example, on the Programming Languages tab or in the dynamic help. Next to the names of the elements are icons, which signify:
You can add, delete and modify more elements using the buttons next to the list. When adding or deleting elements, the Scripting Language Element window opens where you can provide a definition for the new element. Object typesThis tab is a bit more complicated. Here you will find the definition of object types used in ASP, JavaScript, JavaScript in HTML and JavaScript objects of regular expression type. To modify the selected group of objects, select the type in the list. The list of object types assigned to the selected group will be loaded into the list below. Using the button next to the list with the object group, you can assign several global objects to the selected group in the Global Objects and Types pane. Below the object group selection list are two lists: "List of types" and "Properties and methods of the current type": List of types Properties and methods of the current type
Use the buttons below the list to modify the list of items assigned to the selected type. When you click to add or modify the selected type, the Property or Method window will appear. |
Related topics |