Jan 28 · 2 min read · I’ve been working with automation for a while now and have recently developed a script that quickly removes the cache from certain locations. Here’s what the script looks like: on deleteContents(targetFolderPath) try set targetFolder to P...
Join discussion
Aug 20, 2025 · 5 min read · Spinning up a full stack project usually means opening terminals, cd-ing into folders, killing ports, running servers, maybe opening VS Code… every. single. time. This shortcut wraps all of that into one command: it opens iTerm, creates labeled tabs ...
Join discussionNov 9, 2024 · 5 min read · This Python script demonstrates a prompt injection technique to drive interactions with a chatbot through macOS Notes. It uses AppleScript to dynamically create Notes entries with injected prompts, allowing for customized and contextual responses to ...
Join discussion
Mar 12, 2024 · 1 min read · mkdir ~/bin Now let's go to it: cd ~/bin and create a file text.sh #!/bin/bash MESSAGE=$1 # Replace with their number (be sure to include the +1) PHONE_NUMBER=+11234567 if [ "$#" -ne 1 ]; then echo "Usage: $0 MESSAGE" exit 1 fi osascript...
Join discussion
Jul 20, 2023 · 2 min read · I recently built my very first app using ChatGPT's API. https://twitter.com/amit/status/1682086918995976192?s=20 The thing about ChatGPT is that It's trained on information from the internet, but what if you want it to answer questions using your c...
Join discussion
Jul 12, 2023 · 1 min read · Here's the AppleScript you can use to export all todos from a specific list in the Things app using AppleScript. Context: I had a bunch of todos in the Things app that I wanted to move to my notes. Manually copying them from the app does not grab the...
Join discussion
May 21, 2023 · 8 min read · TLDR: This article demonstrates how to use AppleScript to control Spotify and display song information in a tmux status bar. Tmux is a terminal multiplexer: it enables several terminals to be created, accessed, and controlled from a single screen. T...
Join discussion
Sep 21, 2022 · 5 min read · First why even? I'm usually in a state of flow before my standup meetings. I typically never wait for them to start so I wanted to figure out a way to automate opening my upcoming zoom calls for me so I would never have to cram trying to open up my c...
Join discussion
Sep 14, 2022 · 4 min read · I recently started playing around with applescript. Applescript is macos's native scripting language enabling you to control things from opening applications to changing songs that play on Spotify. There are a lot of cool things you can programatical...
WLOMAJack and 11 more commented