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
numberScreen position.numberY position.numberX position.
- insertApp(...)Source
Insert an app into the desktop.
Parameters
- desktop
tableDesktop to add to. - name
stringName of the app. - image
stringPath to the app icon. - program
stringPath to the program to open.
Or
- desktop
- genDesktop()Source
Generate a blank desktop file.
Returns
tableDesktop table according to desktop article.