Documentation

Programming Command Prompt

Description

Programming Command Prompt allows writing the code in JavaScript and executing it in Grid Scene or Pseudo Code Console modules.

Properties

The list starts with the common properties, learn more about them by visiting the Modules description section. The other available properties are described below.

Property name Description
Scene Id Scene Id to execute the code.
Hide Run Hide the run button.

Supported commands

Command name Params Description
show --- Shows the addon.
hide --- Hides the addon.
getWorkspaceCode --- Get the code from the module.

CSS classes

Class name Description
CommandPrompt-wrapper Main DIV element surrounding the addon.
editor DIV element surrounding the editor.
run Run button class.

Ace library licence

Copyright (c) 2010, Ajax.org B.V.
All rights reserved.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Demo presentation

Demo presentation contains examples showing how this addon can be used.