Skip to content

Origin Scripting Language

DanimalsTCGYT edited this page Aug 4, 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

VS Code OSL Extension

Other Docs

Mistium.com Docs

Methods, Vars and Modifiers

Documentation:

Important

OSL-‐-Program-Flow (if statements, loops, those things)

OSL-‐-Operators-and-Expressions (+-/*) and or nor xor

OSL-‐-Subroutines (custom commands and events)

Rendering

OSL-‐-UI-Elements - Render Things in your Application

OSL-‐-Pen - Draw on the Canvas with Pen

OSL-‐-Drawing-Cursor - Change where your UI elements are positioned

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

Ui Components

OSL-‐-UI-Dropdowns - Add Dropdown Menus to Your app

Variables

OSL-‐-Variables

OSL-‐-System-Variables

OSL-‐-this-and-local-data

Methods

OSL All Methods

Environment

OSL-‐-The-window

OSL---Mouse-Cursor

Window Data

OSL-‐-Notifications

OSL-‐-Transmit

OSL-‐-Rightclick

Data

OSL-‐-Arrays

OSL-‐-Json-Handling

OSL-‐-Data-Types

OSL-‐-Time

OSL-‐-URI-Editing (data urls can be edited using these commands)

OSL-‐-Enums

OSL-‐-Unicode

OSL-‐-Canvas-System

OSL---Mini-3D - do some cool stuff with vectors

OSL---3DR-System

Inputs

[Text Input](https://github.com/Mistium/Origin-OS/wiki/OSL-%E2%80%90-UI-Elements#:~:text=input%20px%2Dwidth%20px%2Dheight%20%22input_id%22%20%22default_text%22%20bor[]

OSL-‐-Colour-Picker

OSL---Input-Simulation

OSL-‐-Camera

Files

OSL-‐-File-Handling

OSL-‐-Permissions-And-Configurations

External

OSL-‐-Iframes

OSL-‐-Http

OSL-‐-Network

OSL-‐-Websockets

OSL-‐-Video-Player

OSL-‐-Sound-Handling

OSL-‐-GPT - Access chatGPT in your apps

Advanced

OSL-‐-Fatal-Errors

OSL-‐-External-Languages - Run Other Languages other than OSL in Origin

OSL-‐-Raw-Kernel-Access - Get Access to Kernel Details and System Variables

originOS Wiki

Wiki Views:
:views

OSL | RSH | ICN

Clone this wiki locally