UI save file

From UBot Studio
Jump to: navigation, search

This command is a UI Command. This command creates a save file field on the UI panel tied to a specific variable.

Label: refers to the label for the save file field as it appears on the interface.

Corresponding Variable: refers to the name for the variable that will correspond to the save file field.


Example

This command works similar to the UI Open file command. However, instead of filling a file field with the file path, the file you browse for on the UI will be the place your content is saved to.



ui save file("Save File To:", #savefile)
download file("http://ubotstudio.com/files/ScriptReferences/TheDataCommands.pdf", #savefile)


Running the command sends the file path to the download file command through the variable assigned to the UI save file command.

The file is then saved to the specified locations.


Save.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox