Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------FUNCTIONS------------------
- ApplyGUISettings(object Instance, selectable bool)
- Applies settings for GUI objects in the userdata directory.
- If selectable is true then AutoButtonColor to set to false.
- EG. applyGUIsettings(OS.GUI.TextButton, true)
- CloseProgram(program string, forced bool, waitwhileclosing bool)
- Stops a process running by either changing the disabled property to true or making a closerequest.
- If forced is true, the script is disabled and GUI removed.
- Otherwise, an ObjectValue called CloseRequest is made inside the script.
- If waitwhileclosing is true, then the function will wait until the script disables itself.
- waitwhileclosing doesnt apply if the script is force disabled.
- Execute(program string)
- Enables a script and adds it to the global running table.
- If the program contains a StringValue called SYSYEM or Program then it:
- Creates a Frame in GUI.Programs called string program (system programs get whole screen, normals get
- everything except the taskbar.
- Creates an ObjectValue inside of the program called GUIArea that points to the GUI frame the program
- has been assigned.
- EG. execute("Startup")
- FindInTable(tab table, object value)
- Returns the object's position or false depending on whether the object specified is found in the table.
- SWM.InitGUI(Frame GUIArea, Vector2 size, Vector2 position, string title, bool draggable, bool resizeable,
- function close, function minimise, function fullscreen)
- Creates a window for the program and attaches functions to buttons so the window is interactive and
- moveable.
- Pause(object Instance, property Property, target Value)
- Waits until object.property == target.
- EG. pause(OS.GUI.Desktop, Position, UDim2.new(0, 0, 0, 0))
- ------------------VALUES------------------
- localarea.EexcuteOnStart returns string
- Something that programs run when they start up
- localarea.GUI returns ScreenGui called GUI inside OS
- Area where GUI objects are stored.
- GUIApplication.GUIArea returns Frame in ScreenGui called GUIApplication's name
- The application's GUI area.
- localarea.OS returns parent of _INIT
- localarea.OSState returns string
- Current state of the OS.
- "offline", "online", "noexecute"
- localarea.OSVersion returns string
- Current version of the OS, defined in OS.Version.Value.
- localarea.ProgramIDs returns table
- IDs of applications in the Running table
- localarea.Running returns table
- A list of running executables.
- localarea.Storage returns /Storage (userdata)
- A Frame with various common userdatas in.
- localarea.SWM returns table
- Where all of the Solo Window Manager variables/functions are stored
- localarea.Userdata returns ScreenGui called Userdata inside OS
- area where values are stored for user settings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement