Allows you to specify the attributes of the folder on the specified path.
Example
Running this code will create 2 UI buttons with the following properties:
- UI Button Label: Hide UBot Folder
- Folder Path: UBot Studio
- Read-Only: False
- Hidden: True
- Archive: True
- System: True
- UI Button Label: Show UBot Folder
- Folder Path: UBot Studio
- Read-Only: False
- Hidden: False
- Archive: False
- System: False
ui button("Hide Ubot Folder") {
plugin command("OS Automation.dll", "folder attributes/set", "{$special folder("Application Data")}\\UBot Studio", "False", "True", "True", "True")
}
ui button("Show Ubot Folder") {
plugin command("OS Automation.dll", "folder attributes/set", "{$special folder("Application Data")}\\UBot Studio", "False", "False", "False", "False")
}