# Scripting

The In-Sight Script functions are used to create scripts, which store JavaScript source code inside a cell, allowing custom-designed source code to be a part of a job A job is a user-configured program in In-Sight Spreadsheet consisting of functions and designed for specific applications. You can create and edit jobs using the In-Sight Spreadsheet interface, and load them on a vision system for deployment in a live environment..

Scripting provides the ability to create repetitive processing routines, string parsing and formatting operations, background event processing (scripts that run separate from the inspection), custom graphics, and shared JavaScript modules (stored on the file system).

- Script: Create and edit JavaScript code to run user-written source code (created in the Edit Script Dialog).
- Script Function JavaScript Source Code and API Reference: Overview of guidelines to follow when writing JavaScript source code for a Script function.

Note: FTP based paths for camera access is not supported at this time.

## Scope

Objects or variables are available to code within the Script cell or module in which they are declared and are not visible to script in other cells.