-
-
Notifications
You must be signed in to change notification settings - Fork 93
Command line arguments
Kai Ejler Rasmussen edited this page Nov 13, 2019
·
2 revisions
UCR can be controlled by external programs through command line arguments. Only one instance of UCR is allowed to run at a time, which means arguments can be passed multiple times using UCR.exe
.
-p
, --profile
: UCR.exe -p "Some profile"
, UCR.exe -p "Some profile, nested profile"
Above argument can be passed to activate a specific profile. A comma separated value will do a breadth first search for the given path. The first profile will be found and the next profile will be searched among its child profiles. Consider the following profiles:
- Steam
- Some game
- Favorite game
- Emulator
- Mode 1
- Game A
- Game B
- Mode 2
- Game A
- Game B
- Mode 1
Searches will return the first result and will short circuit if no result is found and activate the latest result. Searches are not case sensitive. The following table gives some examples:
Search | Active profile |
---|---|
Favorite game | Steam > Favorite game |
Emulator, Game A | Emulator > Mode 1 > Game A |
Emulator, Mode 2, Game A | Emulator > Mode 2 > Game A |
Emulator, Mode 3 | Emulator |
Emulator, Mode 2, Game C | Emulator > Mode 2 |
My Application | No profile activated |