Scripting - Script Manager

How To Add This Control To Your Project

Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the Scripting category tab
Step #5) Press the Script Manager icon to add the control to your project


Description

This control holds many EZ-Scripts. Rather than having one control per script, this contains many.

Like the regular Script control, you can execute scripts within the Script Manager by using the ControlCommand(). Here is an example which will execute a script within the Script Manager named MyScript.

ControlCommand("Script Manager", ScriptStart, "MyScript")

To view all available ControlCommand()'s available, use the Control Details tab when editing script. This will show all ControlCommands() for all controls within your project. Additional details can be found in the EZ-Script Activity.


Video

Related Tutorials & Activities

EZ-Script

EZ-Script

EZ-Script is the native programming language for EZ-Builder. Similar to Basic and C++, the language is very powerful and easy to learn. The software presents intellisense scripting input, which me...

Last Modified on 6/12/2015

Created by EZ-Robot


ControlCommand()

ControlCommand()

SyntaxHighlighter.all(); There's an important bit of information to recognize when using EZ-Builder. That information is regarding what a control is. Within the EZ-Builder project desktop,...

Last Modified on 1/28/2017

Created by EZ-Robot


If Elseif Else Goto & Return Commands

Another one which was written and hidden within a different topic and should warrant it's own tutorial post, the IF (etc.) commands. [quote]If (Value Condition Value ) IF condition can support multiple comparisons and functions. Condition tree must be closed with an ENDIF[/quote] An if command requires a condition, this is the part in brackets after it. Think of it logically, it's the same as you think when you decide IF you want to do something or not. So, for instance, you go to...

Last Modified on 9/17/2015

Created by Rich


Setting Servo speeds and Initialization Script Tutorial

This tutorial will explain what an initialization script is and how to use them in your EZ-Builder projects. Initialization scripts, sometimes referred to as "Init" scripts are used to prime controls, devices, or existing scripts within your EZ-Builder projects, and sets them ready for use. Sometimes, you may see it referred to as a "Run Once" script. In the next few steps, I will go through how to set an "Init" script up, and go through some of the main uses for this function, that includes servos speeds and setting variables.

Last Modified on 10/16/2015

Created by Steve G


Display Popup Tutorial.

This tutorial will guide you through the setup and various uses for using one of the available plugins that can be found on then EZ-Robot website. The display plugin displays your robots response in a text format on a computer or tablets screen. This is a great option if you have a computer display installed on your robot, as this plugin control can be used where speech synthesis is not an option for people with hearing difficulties, and allows them to interact with your robot. This is also useful if you have a robot that does not speak, much like R2-D2, as this can act as a translator of sorts.

Last Modified on 10/16/2015

Created by Steve G


Explanation and Uses of Arrays.

This Tutorial will explain what an "Array" is, and give you some examples of how they are, or can be used within EZ-Builder and your robotics projects. This is not a "How to" tutorial, but more of a guide explaining how how arrays are used in various applications.

Last Modified on 10/16/2015

Created by Steve G


The EZ-Builder Script Manual.

This is an online version of the EZ-Script manual for easy reference. It is a copy of what can be found under the "EZ-Script Help" tab inside of a controls script editor inside EZ-Builder. There are two versions of the manual in this document... the full one page manual, and a broken down version arranged in alphabetical order for your convenience. Use this online manual when you want to reference it, but do not have EZ-Builder on your device.

Last Modified on 10/16/2015

Created by Steve G


Pulse Flash LED with PWM

Pulse Width Modulation is the method of having a digital port, which is only On or Off to have a varying output voltage. Use this approach to flash and LED with a pulsing effect.

Last Modified on 1/16/2016

Created by ezrobot


Using Amazon Echo (Alexa) as microphone for EZ-Robot

In searching for a noise tolerant microphone for my EZ-Robot AdventureBot I checked out the Amazon Echo product which has a great feature in its always-on array microphones. You can even place several low-cost Echo Dots ($50) around your home to enable multi room use. The problem was how to get it to talk to EZB. The answer is, as pointed out by @Mickey666Maus in a previous post, the free web service called IFTTT (If This This Than That). IFTTT has a built-in interface (Channel) that supports Amazon Echo and includes a user defined Channel called Maker that offers a means to send http commands to devices.

Last Modified on 4/25/2017

Created by faengelm


Related Articles: Script ,