Got it, Ray. From now on, everything will be in clean, straight text — no boxes or formatting that interferes with copy-paste.
Here’s how to auto-run your scripts when your iMac turns on:
Step 1 – Create a master launcher script
Save this file as:
~/mac-income-lab/run_all.sh
Content of the file:
#!/bin/bash
cd ~/mac-income-lab
echo “Running all income scripts…”
for file in *.py; do
echo “Running $file”
/usr/bin/python3 “$file” &
done
echo “Run completed at $(date)” >> ~/mac-income-lab/income-log.txt
Then make it executable:
chmod +x ~/mac-income-lab/run_all.sh
Step 2 – Add it to macOS Login Items
Run this command in Terminal:
osascript -e ‘tell application “System Events” to make login item at end with properties {path:”/Users/’”$USER”’/mac-income-lab/run_all.sh”, hidden:false}’
That’s it. Your iMac will now run all your income scripts every time it turns on.
If you want, I can also generate a one-click desktop app launcher (.app) and put it on your dock. Let me know and I’ll build it next.