-
-
Notifications
You must be signed in to change notification settings - Fork 17
OSL ‐ Window Control
DanimalsTCGYT edited this page Aug 4, 2024
·
5 revisions
-
window "x" x:
- Sets the window's x_position to the specified value.
- Example:
window "x" 100
sets the window's x_position to 100.
-
window "y" y:
- Sets the window's y_position to the specified value.
- Example:
window "y" 200
sets the window's y_position to 200.
-
window "dimensions" width height:
- Sets the window's width and height to the specified values.
- Example:
window "dimensions" 800 600
sets the window's width to 800 and height to 600.
-
window "show"/"hide":
- Shows or hides the background of the window.
- Example:
window "show"
would show the window's background.
-
window "resizable" "true/false":
- Allows or stops the user from resizing the application window based on the provided value ("true" or "false").
- Example:
window "resizable" "true"
allows window resizing, whilewindow "resizable" "false"
disables it.
-
window "responsive":
- Disables window caching, allowing the window to update even when not focused. However, it may impact system performance.
- Use this command when you need the window to refresh when not in use.
-
window "stop":
- Ends the current script process, closing the window associated with the script.
-
exit "exit_code":
- Ends the current process with an optional exit code. This can be used to terminate scripts cleanly with a specified exit code. (does not stop the window, just ends the current sequence of it)
-
movefileloc "path":
- Sets the folder path where files are moved when they are dragged and dropped onto the application window. These commands provide control over window properties, script execution, and file handling within your application. They allow you to customize the behavior of your application's window and manage file operations effectively.
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