mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2025-02-02 14:37:31 -03:00
Updated Scripting (markdown)
parent
c71633745c
commit
99882872ba
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
You can make custom scripts in TegraExplorer to automate certain things
|
||||
You can make custom scripts in TegraExplorer to automate certain things.
|
||||
|
||||
The extention of them are .tegrascript, and they are normal text files.
|
||||
|
||||
## Syntax
|
||||
|
@ -13,6 +14,8 @@ The extention of them are .tegrascript, and they are normal text files.
|
|||
|:-------:|:--------:|
|
||||
| \<COPY\> "arg1" "arg2" | Copy a file from arg1 to arg2 |
|
||||
| \<COPY-R\> "arg1" "arg2" | Copy a folder from arg1 to the parent folder arg2 (so for example, arg1 is sd:/foo, arg2 is sd:/bar, you'll end up with sd:/bar/foo)
|
||||
| \<DEL\> "arg1" | Deletes a file at location arg1 |
|
||||
| \<DEL-R\> "arg1 | Deletes a folder and it's subcontents at location arg1 |
|
||||
| \<MKDIR\> "arg1" | Make a dir at location arg1 |
|
||||
| \<CON_MMC\> "arg1" | Connect a type of mmc. "SYSMMC" for sysmmc, "EMUMMC" for emummc |
|
||||
| \<MNT_MMC\> "arg1" | Mount a partition on the currently mounted mmc. Currently locked to biskey 2/3 (so "SYSTEM" and "USER" only) |
|
||||
|
@ -31,7 +34,8 @@ Flags are basically checks, written as $FLAG$. See below for how to use them
|
|||
| $BTN_POWER$ | Based on the last \<PAUSE\> output. If the power button was pressed, this will return True |
|
||||
| $BTN_VOL+$ | Based on the last \<PAUSE\> output. If the volume up button was pressed, this will return True |
|
||||
| $BTN_VOL-$ | Based on the last \<PAUSE\> output. If the volume down button was pressed, this will return True |
|
||||
|
||||
| $EMUMMC$ | Check if an emummc exists. Returns true if it does |
|
||||
| $NOEMUMMC$ | Check if an emummc doesn't exist. Return true if it does |
|
||||
|
||||
## Flow control
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue