Control Thumbnail

How To Download and Use This Control

  1. Make sure you have the latest version of EZ-Builder installed.
  2. Select the Install button below to download the file.
  3. Double click the downloaded file to open installer.
  4. The installer will add this control to EZ-Builder.

This plugin is a script control which accepts JavaScript as the language. There are plans to continue adding features to this plugin, and eventually integrating the JavaScript language directly into EZ-Builder in the future.

*Note: Remember, JavaScript commands are case sensitive. This applies to variables and functions.

There's a whole bunch of commands, and new ones implemented in future updates of this plugin. The code edit screen displays a manual of commands listed.
User-inserted image

You can even create functions for reusable code...
User-inserted image

Because EZ-Builder is built on the Microsoft .NET framework, you can access any .Net namespaces.
User-inserted image

Variables from the EZ-Script engine can be accessed and updated.
User-inserted image

Right-Click in the editor to view ControlCommand() syntax from all other controls in EZ-Builder.
User-inserted image

Here's code to call .Net from javascript to write a file to the desktop


// FolderPath 0 is Desktop. See...

var theFilePath = System.IO.Path.Combine(System.Environment.GetFolderPath(0), "custom_file.txt");

var AFile = new System.IO.StreamWriter(theFilePath);

AFile.WriteLine("First Line of file in the desktop");
AFile.WriteLine("Second Line of file in the desktop");