1. Home
  2. Docs
  3. What is a script?

What is a script?

A script is a sequence of instructions that is interpreted or carried out by Polypad rather than by the computer processor or computer browser.

All scripts in written for Polypad includes a header comment which describes how the script behaves as well as it’s source body which carries out the tasks written for the script.

/*
    name: Hello Polypad
    description: Example script created for polypad
    author: Marcell Purham
    tags: script,polypad,hello
*/

function main(input) {
    input.text = "Hello Polypad!";
}

Was this article helpful to you? Yes No

How can we help?