Readit News logoReadit News
Posted by u/user0x1d 2 years ago
Ask HN: What are your favorite iOS/macOS automations?
I set up an automation to "reduce white point OFF" at night and back ON in the morning, so if I pick up my phone in the middle of the night my eyes don't burn
gcanyon · 2 years ago
Not an automation, technically, but maybe it could be: I have an AppleScript that is set to run every hour that grabs any files on my desktop that have been there longer than a day, and puts them in a dated folder in an archive folder. Same for my downloads.
aosaigh · 2 years ago
I do this with my Downloads folder using Hazel[1]. I have an “Archive” folder split into subfolder of screenshots, pdfs, videos etc.. After a month in the downloads folder, Hazel moves everything into the Archive subfolder automatically, sorted by year and month.

[1]: https://www.noodlesoft.com/

gcanyon · 2 years ago
Yep, I've been recommended Hazel before, but I like the control I get with the AppleScript. In particular I like the higher cadence of sweeps, mine does my desktop, downloads, and documents folders, and mine will ignore a file if it has a label, so I can easily keep things if I want.
nkotov · 2 years ago
Could you share this? I have something similar for my own workflow but it's manual and involves a folder called "Everything".
gcanyon · 2 years ago
I wrote it up here a long time ago: https://gcanyon.wordpress.com/2013/05/12/keeping-a-clean-des...

I've made changes since then and I haven't documented them :-/ I'll try to find the time to write it up.

synthoidzeta · 2 years ago
robador · 2 years ago
I'm also interested in this!
bobx11 · 2 years ago
I have a cron job taking a picture of my desktop four times per minute into a dated folder structure. It allows me to zoom back in time (days out weeks back) to figure out what I was doing at a particular time or if I was showing someone a particular bit of code or something like that.
tikkun · 2 years ago
Check out Rewind.ai! I used a similar app (Capturer.app) to do this automatically, and have since switched to Rewind - it's much better for my purposes.
swah · 2 years ago
But its constantly using 30% CPU... maybe the screenshot solution is lighter!
HAL9OOO · 2 years ago
Mind posting the script? How much space do the images end up taking per day roughly?
rmwaite · 2 years ago
Making this searchable for text would be the killer feature here.
CraigJPerry · 2 years ago
Podcasts in the shower: on bluetooth speaker connect, add 15 mins to the current time, set focus mode that ignores everyone until 15 mins later, resume podcasts playlist wherever it was left off. Only annoyance with this shortcut is it’ll pop up a notification to approve running the shortcut when it detects the speaker has been turned on.

I have those cheap paper nfc stickers hidden in random spots around the house and we have the same shortcuts setup on our phones so we can add dog food/loo roll/cleaning supplies etc etc to the shared shopping list in todo.

Similarly i like being able to tap my phone on the way out my home office to run script over ssh and shut everything down, turn off the lights and plugs etc

sintezcs · 2 years ago
What app are you using for shared shopping list?
jrowley · 2 years ago
Not OP but Apple’s native Reminders app supports shared lists.
fastily · 2 years ago
sort of an automation, but I install all my favorite apps with brew and then use brew again (brew upgrade && brew upgrade --cask -g) to update everything

Bonus: I went the extra mile and wrote a script that bootstraps my entire setup: https://github.com/fastily/autobots/blob/master/macOS/setup/...

KolenCh · 2 years ago
leipert · 2 years ago
Brew supports dumping installed things into a brewfile: https://github.com/Homebrew/homebrew-bundle

I was using text files before as well to manage it.

mdwalters · 2 years ago
I was bored, so I used my parent's work iPhone to make a shortcut that grabs Merriam-Webster's Word of the Day, plus definitions. It's based on the one Apple pre-made, but sends notifications instead of that web preview thing. It's not automated (so my parents wouldn't know), and runs via a home screen widget.
bobbylarrybobby · 2 years ago
Not a specific automation, but the ability to run automations upon receiving an email lets you do some very cool stuff. For instance, I forward emails to a particular alias of mine, which kicks off a shortcut that adds the email to my reminders. But since you have access to the email body you could really do anything.
ikyriakidis · 2 years ago
1. Switch off wifi, bluetooth, enable battery save mode at night and re-enable them in the morning 2. Switch off mobile data when connecting to my home wifi 3. Automatically enable and disable orientation lock when entering the photos app
kratom_sandwich · 2 years ago
MacOS: Combine several PDFs using Automator. Not spectacular, but always handy

iOS: Activate low power mode when battery drops below 95% - neat workaround since there is no way to have low power mode turned on permanently. Also, activate Airplane Mode from 1 am to 6 pm to save energy.

Obscurity4340 · 2 years ago
> ...no way to have low power mode permanently

Actually, this is indeed possible. Create an automation with the trigger "Low Power mode switched off" and add a single "turn low power mode on". Every time iOS switches it off, it should automatically retoggle back on.