Apple Scripts I've written to help automate repetitive tasks. This stuff was written in a hurry and most likely needs some updating.
Inject JS into Twitter that removes extra UI elements, such as:
- "What's happening" and "Who to follow"
- People's liked tweets
- People receiving a reply
- Promoted tweets
- The LHS menu
Note that it's buggy in that Twitter seems to detect these modifications and blanks the page shortly afterwards, but this is a W.I.P. Also I plan to make the LHS menu reappear on hover.
I had some trouble getting this to execute as a Safari extension after page load finished, so I had to do it as a manually executed AppleScript for now, but it should be easy to change later.
Future plans: blur pictures unless mouse moves over them, add some more vertical space, etc.
This is so I can bind one hotkey to run the AppleScript to show/hide all 3 side windows in Xcode at once instead of using one hot key for each window.
The script takes a set of selected cells from Numbers and creates documents in Pages, 1 envelope and 1 letter per address. It requires a specifically named template with 2 placeholders with certain tags in it for the envelope. When you run the script, you choose an output folder and then it will read the spreadsheet and script Pages into creating and saving the documents.
I structure my job application resumes & coverletters with the following directory structure:
job apps \ <company name> \ <date and position applied for> \ { coverletter doc name | resume doc name }
When I go to create a new one, it takes a few keystrokes and mouse clicks to
- Duplicate the old one
- Create the new folder
- Update the location to the new folder
- Remove " copy" from the name, which Pages adds automatically
- Close the old documents
for each document. This AppleScript automates that.

