Universal Manager Wiki (Page 3) - Universal-Team/Universal-Manager GitHub Wiki

Scripts

  • In this section, you'll find the syntax for learn to make your own scripts


  • Scripts are .scpt files located on SD:Universal-Manager/scripts. You create a text file, give it the name you want, .scpt extension and place it on the said path. Inside, you use the following commands

Syntax

function    arguments
  • Arguments must be separated using tab.
  • Paths must use / not \
  • SD Card root is sdmc:/
  • Arguments don't go inside " or '

Functions

downloadRelease

  • Downloads a file from a github release
  • Usage
downloadRelease    Arg#1    Arg#2    Arg#3
  • Arg#1 - The Github repo from where the release will be downloaded
  • Arg#2 - The file to download from the release
  • Arg#3 - Path of where the downloaded file is gonna be saved and the name it will have

downloadFile

  • Downloads a file from a url
  • Usage
downloadFile    Arg#1    Arg#2
  • Arg#1 - Link of the file to download
  • Arg#2 - Path of where the downloaded file is gonna be saved and the name it will have

extract

  • Extracts a 7z or Zip file
  • Usage
extract    Arg#1    Arg#2    Arg#3
  • Arg#1 - Path of the Zip/7z file to extract
  • Arg#2 - Folder/File to extract from the Zip/7z file
  • Arg#3 - Path where the extracted folder/file will be

install

  • Installs a CIA file
  • Usage
install    Arg#1
  • Arg#1 - Path of the CIA file to install

delete

  • Deletes a file. (You can't use this for delete folders)
  • Usage
delete    Arg#1
  • Arg#1 - Path of the file to delete

msg

  • Prints a message on screen
  • Usage
msg    Arg#1
  • Arg#1 - Text to print on screen

mkdir

  • Creates a Folder.
  • Usage
mkdir    Arg#1
  • Arg#1 - Path to the created Folder.

Continue to : Settings

⚠️ **GitHub.com Fallback** ⚠️