Working in the standalone Web Script editor

The standalone Web Script editor is a separate window, independent of the HTML editor. Scripts can be created here and saved to a file, becoming independent code you can reuse in many documents and projects.

You can open the Web Script editor by selecting the Script wizard in the New dialog box or by dragging and dropping a script file to the PowerBuilder editor area. The Web Script editor supports the following extensions: JS, STS, PSS, SSS, and VBS. However, the editor allows you to save a script file with any extension you want.