-
-
Notifications
You must be signed in to change notification settings - Fork 19
OSL ‐ Transmit
Mistium edited this page Jun 27, 2024
·
4 revisions
transmit data window_id
// send data to a window
You will want something like what is below inside of your mainloop to handle all incoming transmit
if new_transmit (
// theres new data to handle
log transmit_source
// log the id of the window that sent you data (normally so you can respond)
log transmit_data
// log the data from the transmit
new_transmit = false
)
You can get the window id of the window that created you using
window.parent.id
// returns an integer
You can get a list of window ids that you have created from the variable
window.children
// returns data like ["34","43","44","56"]
originOS is a web desktop gui with a self contained file system, programming languages, internet system and a whole lot of stuff an os should be able to do Use originOS here