Scripting in UltraEdit / UEStudio is enabled through embedding of the JavaScript engine. This allows you to access the power and flexibility of the full JavaScript language while using unique UltraEdit scripting commands to specifically interact with the editor and open files.
Creating a script in UltraEdit is as simple as creating a new file, writing the code for the script, and saving it with a .js file extension. To see documentation on all available scripting commands and techniques, see the Scripting reference topic. There are also many scripts available for download from the main UltraEdit website.
Because scripts are based upon JavaScript syntax and use the .js file extension, UltraEdit / UEStudio syntax highlight these files with special highlighting support for the scripting commands unique to UltraEdit / UEStudio.
You can run a script that hasn't yet been added to the list of scripts by clicking the Play script icon (not opening the dropdown sub-menu) in the Advanced tab while the script is the active file. Clicking Play script will run the active file as a script and write any error our output information to the output window. This provides a convenient way for testing and troubleshooting scripts as you are composing them.
Once your script is complete, you can add it in the Scripts window. There, you can assign the script a hotkey or chord, and once it has been added to UltraEdit as a script, you can play it via one of several ways:
You can edit a script via one of several ways: