What Does Scripts Mean?

Scripts are lists of commands executed by certain programs or scripting engines. They are usually text documents with instructions written using a scripting language. They are used to generate Web pages and to automate computer processes.


Techopedia Explains Scripts

Scripts are sometimes used to customize and automate repeated tasks and control overall computer functions. Autoexec.bat is an example of such a script. Visual Basic and DOS scripts run processes on Windows, while Apple scripts automate tasks on Mac machines. When scripts are opened through scripting engines, commands in the scripts are executed.

Macros are common scripts. They interact with the system-generated graphics windows, buttons, and menus to simulate user actions. They also record keystrokes to facilitate repetitive tasks and execute them with fewer keystrokes. Every computer user uses scripts of some kind, even if they are not aware of it. Scripts that install new software are used by most users. They take the user step by step through the installation process, stopping at points where different choices are provided.

The Internet uses a variety of scripting languages to provide useful function for users. They are either stored on the server or written to Web pages. Such scripts query databases, count visitors and process forms. They may control other software applications. Scripts are different from the core code of the application because they are written in a different language and can be altered and created by end users.

Computer games use scripting languages to display the actions of non-player characters. These languages are meant for single designs and have custom features within them. Scripting languages such as JavaScript transform XML content into new forms.


Related Terms

Margaret Rouse
Technology Expert

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.