A bunch of python scripts using pyautogui.
Display the Navbar during Youtube fullscreen mode.
Have pyautogui contantly move the mouse so the navigation bar remains open while watching Youtube videos in Fullscreen mode.
You can stop the script by:
- Move the mouse to the top left corner of the screen
- open the terminal running the script and press ctrl+c
pip install youtube-dl
sudo apt-get install ffmpeg
python -m youtube_dl --restrict-filenames --ignore-errors -x --audio-format mp3 7ku4WbWEQPU
python -m youtube_dl --restrict-filenames --list-formats 7ku4WbWEQPU
python -m youtube_dl --restrict-filenames 7ku4WbWEQPU - 249
Quickly switch between screen resolutions on the surface go tablet.
convert the script to executables for quick access.
A short example script to bulk rename files in a directory.
Some simple scripts to help bulk delete messages in gmail and icloud.
Using python and pyautogui.
- Use at your own risk
- Don't run script unattended
- script just follows a routine, it will delete important mails if your not careful
Gmail delete script just clicks two defined locations on screen X amount of times. You need to filter the mail yourself before running the script.
You need to provide the search terms in the icloud script.
The script will:
- Fill in the search term
- Will check whether inbox is empty or not based on certain pixel values
- If inbox not empty, will select all message for deletion and repeat check
- If inbox empty will repeat process with next search term
It's recommended to select the From criteria to filter emails for deletion.
mkdir projectfolder
cd projectfolder
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
- customize the scripts before running.
python bulk_delete_gmail.py
python bulk_delete_icloud_mail.py