Skip to content

Origin Scripting Language

Mistium edited this page Jun 11, 2024 · 78 revisions

OSL, the most powerful turbowarp scripting language

Origin Scripting Language (OSL) is the primary system scripting language for originOS, a user interface platform or operating system. It is designed to facilitate various tasks, such as data management, GUI (Graphical User Interface) creation, and application development within the originOS environment.

if you have questions on how to program specific things, join my discord server below and dm me your questions, i don't mind

Other Docs

BETTER DOCS

Methods, Vars and Modifiers

Documentation:

Important

Program Flow (if statements, loops, those things)

Variables (Set values)

UI Elements (Actually render stuff to your application!)

Pen (draw lines and transparency)

Positioning UI (Move where you render stuff)

Operators and expressions (+-/*) and or nor xor

Subroutines (custom commands and events)

Modifiers (stuff that lets you modify a single command in one line: c#fff chx#30 hover_c#444)

Vectors and Mini 3d(do some cool stuff with vectors)

Full 3d

Variables

All Variables

Methods

All Methods

Environment

Window Control

Mouse Cursor

Window Data

Data

Arrays

Using Json

Data Types

Time and Timestamps

Edit a data:url (data urls can be edited using these commands)

Inputs

Text Input

Colour Picker

Simulating inputs

Camera

Files

File Handling

Reading and writing save data

Permissions and Configuration

External

Iframes

Http

Network

Websockets

Video Player

Sound Handling

OSL Gpt

Other

Fatal Error Codes

Raw Kernel Access

originOS Wiki

Wiki Views:
:views

OSL | RSH | ICN

Clone this wiki locally