How to add the Script robot skill
- Load the most recent release of ARC (Get ARC).
- Press the Project tab from the top menu bar in ARC.
- Press Add Robot Skill from the button ribbon bar in ARC.
- Choose the Scripting category tab.
- Press the Script icon to add the robot skill to your project.
Don't have a robot yet?
Follow the Getting Started Guide to build a robot and use the Script robot skill.
How to use the Script robot skill
The script skill is very versatile; it can interact with most ARC skills. It is also very intuitive, as it contains multiple detailed manuals for assistance with programming in its settings menu. The Script skill currently includes the following languages to program in:Main Window

1. Start/Stop Button
Executes the script that is written in this skill.
2. Status Display
Displays the status according to the script written in this skill.
Settings - Blockly

1. Title Field
This field contains the title of the Script skill. You can change it if you'd like. *Note: Changing the title will also change the title in the controlCommand() associated with this skill.
2. Roboscratch Module Checkbox
Check this box if you'd like to use this script as a module for Roboscratch.
3. Start/Stop Button
Executes/Stops the Blockly script that is written in the worksheet.
4. Clear Sketch Button
Clears the worksheet.
5. Create Variable Button
Press this button to create a new variable accessible under the variable block section.
6. Load Worksheet Button
Loads a previously developed Blockly worksheet.
7. Save Worksheet Button
Save the current Blockly worksheet.
8. Camera Preview
Displays the configured camera output.
9. Block selection area
Select the program blocks from this section.
10. Status Display
Displays the status according to the script written in this skill.
11. Blockly Worksheet
This is the area where you build your Blockly script.
Settings - Javascript

1. Name Field
Enter the name of the scripting skill.
2. Roboscratch Module Checkbox
Check this box if you'd like to use this script as a module for Roboscratch.
3. Font Smaller/Larger Buttons
Decreases/Increases the font in the script editor.
4. Enable Intellisense Checkbox
Check this box if you would like programming shortcuts to appear while scripting.
5. Script Editor
This is where you write your Javascript.
6. Run Button
Executes your script in the script editor before saving. This allows you to test your script before moving forward.
Settings - EZ-Script

1. Name Field
Enter the name of the scripting skill.
2. Roboscratch Module Checkbox
Check this box if you'd like to use this script as a module for Roboscratch.
3. Format Button
Press this button to format your script automatically.
4. Font Smaller/Larger Buttons
Decreases/Increases the font in the script editor.
5. Enable Intellisense Checkbox
Check this box if you would like programming shortcuts to appear while scripting.
6. Script Editor
This is where you write your script.
7. Run Button
Executes your script in the script editor before saving. This allows you to test your script before moving forward.
Settings - Python

1. Name Field
Enter the name of the scripting skill.
2. Roboscratch Module Checkbox
Check this box if you'd like to use this script as a module for Roboscratch.
3. Font Smaller/Larger Buttons
Decreases/Increases the font in the script editor.
4. Enable Intellisense Checkbox
Check this box if you would like programming shortcuts to appear while scripting.
5. Script Editor
This is where you write your Python script.
6. Run Button
Executes your script in the script editor before saving. This allows you to test your script before moving forward.
How to Use Script Skill
1) Add the Script skill to your ARC project (Project -> Add Skill -> Scripting -> Script).2) Go into the skill settings, write a script in your chosen language, and save.
3) Press the Start button in the skill's main window to execute the script.
Control Commands for the Script robot skill
There are Control Commands available for this robot skill which allows the skill to be controlled programmatically from scripts or other robot skills. These commands enable you to automate actions, respond to sensor inputs, and integrate the robot skill with other systems or custom interfaces. If you're new to the concept of Control Commands, we have a comprehensive manual available here that explains how to use them, provides examples to get you started and make the most of this powerful feature.
Control Command ManualcontrolCommand("Script", "ScriptStart") // Starts the script to run in the background
controlCommand("Script", "ScriptStartWait") // Starts the script and waits for it to complete
controlCommand("Script", "ScriptStop") // Stop the script from running
controlCommand("Script", "GetStatus") // Get the status if the script is running. (Returns Boolean [true or false])
Related Tutorials

Detect Multiple Colors

Rgb Array Tutorial

Mobile App Developer Tutorial

Randomizing Answers In Speech Recognition

Using Exec() Commands To Help Make A Game

How To Make A Wide Angle Ir Non Contact Bumper
Related Hack Events

Treat-O-Matic 2020 Live Hack Part #6 The Finale

Treat-O-Matic 2020 Live Hack Part #5
Related Questions

Code To Turn Controller Off

Real-Time Module

Scripts, Add Java Script
Upgrade to ARC Pro
Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.