PConfig is a script that helps you to make windows configurations. You can make the config open urls in your browser and start windows apps. You could use this script to create a config for example for your mathematics class, the script could start your calculator and open your notes and other stuff from your browser with a single command.
- Clone the repository
git clone https://github.com/Nicke7117/PConfig.git
- Change your current directory to the PConfig repository
- Open
Constants.py
- Add the folder path you want to store the .txt config files to
FOLDER_PATH
, for exampleFOLDER_PATH = "C:\Users\user123\desktop"
- You can either
delete
,execute
, orcreate
a config
usage: script.py [-h] {delete,execute,create} ...
Create, execute or delete a config
positional arguments:
{delete,execute,create}
delete Delete config
execute Execute config
optional arguments:
-h, --help show this help message and exit
- Remember to put the paths inside
"quotation marks"
- Example usage:
script.py create -fn programmingConfig -p "path\to\Microsoft VS Code\Code.exe" "path\to\spotify.exe" -b firefox -bp "path\to\firefox.exe" -l stackoverflow.com github.com protonmail.com
- The image below contains all the browsers supported
usage: script.py create [-h] [-p [PATHS ...]] [-l [LINKS ...]] [-b BROWSER] [-bp BROWSERPATH] -fn FILENAME
optional arguments:
-h, --help show this help message and exit
-p [PATHS ...], --paths [PATHS ...]
-l [LINKS ...], --links [LINKS ...]
-b BROWSER, --browser BROWSER
-bp BROWSERPATH, --browserpath BROWSERPATH
required arguments:
-fn FILENAME, --filename FILENAME
- Example usage:
script.py execute programmingConfig
usage: script.py execute [-h] filename
positional arguments:
filename The file you want to execute
optional arguments:
-h, --help show this help message and exit
- Example usage:
script.py delete programmngConfig
usage: script.py delete [-h] filename
positional arguments:
filename The file you want to delete
optional arguments:
-h, --help show this help message and exit