Skip to content

SayJayWay/Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation

My various automation projects

Project Descriptions

ImageJ Automation/ImageJ-multi-channel-image-prep

To run, use "Open Macro" in ImageJ software and select the file in saved location

  1. Asks for directory where images are located
  2. Saves the file path as "filename"
  3. Splits different image wavelengths into separate channels and labels each one
  4. Saves each of the new windows as variables
  5. Merge all the channels into a single composite image
  6. Opens colour balance window (manually adjust RGB and click OK to continue)
  7. Automatically subtracts background (remove second argument to manually adjust)
  8. Adds a cale bar of set width, height, font, color, background, location (click OK to continue)
  9. Saves prepped image as a TIFF in variable "filename"
  10. Automatically opens next file in directory
  • Note: User can adjust colours based on naming scheme in step 4 or by changing the colours found in step 5

autoFollow.py

Automatically follows Instagram users based on the follow.jpg image using pyautogui module

  • Note: follow.jpg is a certain size -> Best to create own image for own purposes (or match screen size to image -- difficult)

backupToZip.py

Copies an entire folder and its contents into a ZIP file whose filename increments using zipfile and os modules

combinePdfs.py

Combines all PDFs in current working directory into a single PDF using PyPDF2 and os modules

countdown.py

A simple countdown script that plays an alarm file once complete. Uses time and subprocess modules

formFiller.py

Automatically fills in a specific form using pyautogui and time modules

  • Note: This script fills in a specific form by manually inputting the location of the namefields and submit button

lucky.py

Displays top search result links from Google on specified string using requests, sys, webbrowser, bs4 modules

mapIt.py

Launches a browser to google maps with inputted string location using webbrowser and sys modules

mcb.pyw

Saves and loads pieces of text to clipboard (can be used as a password diary) using shelve, pyperclip, sys modules

multidownloadXkcd.py

Downloads XKCD comics into specific folder using multiple threads -- uses requests, os, bs4, threading modules

openAll.py

Launches a browser with separate tabs for each website (used to instantly open a browser with my most commonly daily visited websites -- uses webbrowser module

quickWeather.py

Prints the weather for a location with inputted string location -- uses json, requests, sys modules

randomQuizGenerator.py

Creates quizes with questions and answers in rawndom order, along with the answer key -- uses random module

readCensusExcel.py

Tabulates population and number of census tracts for each county based on 'censuspopdata.xlsx' sheet -- uses openpyxl and pprint modules

removeCsvHeader.py

Removes header from all CSV files in current working directory -- uses csv and os modules

renameDates.py

Renames filenames with American MM-DD-YYYY date format to European DD-MM-YYYY -- uses shutil, os, re modules

resizeAndAddLogo.py

Resizes all images in current working directory to fit in a 300x300 square, and adds a specified photo (not included) to lower-right corner -- uses os and PIL modules

sendDuesReminders.py

Send emails based on payment status in spreadsheet -- uses openpyxl, smtplb, sys modules

spiralDraw.py

Draws a spiral using pyautogui and time modules

stopwatch.py

Simple stopwatch program that can also track lap times -- uses time module

updateProduce.py

Corrects costs in produce sales spreadsheet -- uses openpyxl module

About

My various automation projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages