sos
sos is a library that contains functions pertaining to SkyOS itself
screenshot() | Screenshot the screen, and save it to /screenshots/hhmmss-ddmmyyyy.skimg |
---|---|
desktop | Functions to interact with the desktop file. |
- screenshot()Source
Screenshot the screen, and save it to
/screenshots/hhmmss-ddmmyyyy.skimg
- desktopSource
Functions to interact with the desktop file.
nextAvailable() Find next available slot insertApp(...) Insert an app into the desktop. genDesktop() Generate a blank desktop file. - nextAvailable()Source
Find next available slot
Returns
- number Screen position.
- number Y position.
- number X position.
- insertApp(...)Source
Insert an app into the desktop.
Parameters
- desktop table Desktop to add to.
- name string Name of the app.
- image string Path to the app icon.
- program string Path to the program to open.
Or
- genDesktop()Source
Generate a blank desktop file.
Returns
- table Desktop table according to desktop article.