Questions tagged [automation]
Any thing that helps perform repetitive tasks via an application or script
592
questions
0
votes
0
answers
20
views
Automation that will automatically update app icon after its updated
I have a lot of apps where the icons are just unpleasant and I've made much better ones that I have applied. while some apps rarely update a good amount of them do which of course mean the original ...
1
vote
0
answers
9
views
Make a RTP-MIDI session in "Midi Network Setup" reconnect to a participant after reboot
In a studio setup, I need an RTP-Midi (AppleMidi) session, that is set up via "Audio MIDI Setup" to reinitiate with a participant, after reboot. At the moment, the Session is active but the ...
0
votes
0
answers
18
views
Automatically add additional file name extensions into plist for Emacs?
My Emacs is regularly updated by Homebrew along with other apps. How do I automatically add Markdown file name extension to its plist file (/Applications/Emacs.app/Contents/Info.plist) so Emacs appear ...
0
votes
1
answer
26
views
How to Count in an iOS/macOS/watchOS Shortcut?
It feels fairly ridiculous to me that you can't do a simple increment of a counter inside a shortcut that works with all three major shortcut platforms: iOS/macOS/watchOS.
There is a repeat_count ...
0
votes
1
answer
21
views
Auto switch sound sink on power change
I like to switch various working positions at home. I want to make it change to the bluetooth speakers on power plugged in. And switch to internal speakers when unplugged. How to do it with some App ...
2
votes
2
answers
123
views
How can select application menu options by fuzzy search using my keyboard only?
When using Ubuntu, I appreciated the Head-Up Display functionality: Press a key combination and enter a search text for the menu item of the currently active application you wish to select.
Here's a ...
1
vote
0
answers
22
views
M1 Macbook pro: "Add" button missing in automation > Security & Privacy Settings > System preferences
I've been wanting to add "Script Editor" to automation but there seems to be no button to add it. Is there any possible way of achieving this??
0
votes
0
answers
19
views
Power source-based resolutions using AppleScript and Controlplane? [duplicate]
I've been searching for a good applescript to automatically change my resolution based on my power source and/or shortcuts.
For context I'm using macOS Ventura 13.4 and I'm new to scripting, I want to ...
0
votes
1
answer
41
views
Auto grab a window screenshot on each mouse click Mac
Is it possible to Applescript an autotake of a screenshot in an app on every mouse click without need to press Cmd+Shift+4->Click every time?
1
vote
0
answers
45
views
A script to parse internet audio stream from Music.app and save it in a text file [closed]
I listen to the Internet radio in my Music.app on macOS Ventura and I would like a script that could parse the artist and the song name and paste it as a new line in a text file in the background ...
1
vote
1
answer
69
views
I want to make the same automation as my iPhone and iPad on my MacBook
I want to make this automation of Shortcuts on my MacBook.
How can I make it?
I also want to make the opposite automation which is ‘Turn Night Shift On” when turning Personal Focus mode off.
Maybe ...
0
votes
1
answer
111
views
How to make Bluetooth MIDI devices automatically connect, in the same way a Bluetooth mouse does
In macOS (or any other OS), if you have a Bluetooth mouse it works right away after booting the computer (after the first pairing when it's new), and if you turn it off and later turn in back on, it ...
0
votes
0
answers
22
views
Group HomeKit automatons by topic
I am new to HomeKit and wanted to create my first automations.
I have an Eve Energy Smart Plug that should be turned on and off like this:
Day of the week
On
Off
Mon-Thu
5 AM
10 PM
Fri
5 AM
11:59 ...
1
vote
0
answers
95
views
How do I focus an application in the background with AppleScript. Trying to automate a key press in the background. (not keystroke)
Trying to automate a key press. In Automator, recording a watch me do allows for things to be done in a targeted app. When played, this recording can even run in the background but for some reason, ...
1
vote
1
answer
237
views
Run location-based Shortcut to toggle airplane mode
I have a simple shortcut that turns on airplane mode when I arrive home. How can I trigger this to run automatically—without tapping for confirmation?
2
votes
0
answers
21
views
Picture-in-picture, but for users?
On my Macbook Pro I have three accounts. One is an Administrator account, the other two are standard users: one for all my work-related stuff, while the other is personal. I keep the two completely ...
1
vote
1
answer
76
views
What are some scripting methods that could autofill an iPad?
I've recently went into a new IT job for my school and we're in the process of removing the activation lock on all of the school iPads. I was wondering if I could hook up my laptop (on Windows) to one ...
0
votes
0
answers
32
views
Automate logging into multiple macs at once
I run a 4 display multiple monitor setup, where 3 monitors are the main mac, and the 4th is a secondary mac. I do this because the secondary mac is a separate machine and so I run things on there I ...
0
votes
0
answers
14
views
How can I detect if an external monitor is connected (HDMI, DP, USB-C) and then start a program/workflow?
I want to launch a specific program or workflow if an external display gets connected to my MacBook (M1) in any way (HDMI, DP, USB-C).
I know there is Hazel for folder specific stuff and Automator, ...
0
votes
1
answer
122
views
How to prevent iPhone from shutting down overnight (without replacing the battery)
I have been dealing with an issue for a few months now and I have debugged it enough to be pretty confident that I know the cause.
The problem: Occasionally, my 8am personal automation does not run.
...
0
votes
0
answers
51
views
How to automate clicking the "Ignore" button on the "unreadable disk" dialogue in macOS 12+?
I've been trying to find a way to automate the process of clicking the "Ignore" button on the "unreadable disk" dialogue that appears when an unrecognized disk is connected to a ...
0
votes
0
answers
27
views
Can a storage cap / limit be established to protect a Mac with low storage from iCloud download / local caching of data?
I have a mac mini of 1 tb and a macbook air of 256gb, so my air is almost not usable because it keeps filling up leaving 1-2gb of free space. I can't even run my softwares to work correctly so i'm ...
0
votes
0
answers
29
views
Can the iOS Scriptable app change the location of Home Screen apps; if not why not?
From what I can see, the iOS Scriptable app has far more access to the functions of iOS apps than say Shortcuts, plus it’s probably easier to script since it’s actually code you type instead of ...
0
votes
0
answers
16
views
Can two or more separate Numbers spreadsheets (not sheets) interact?
I have two separate spreadsheets.
On one, I have the accounting and calculations for my business.
On the other, I have what I call Daily compensation sheets.
My employees use these compensation ...
0
votes
0
answers
106
views
Turn on Airplane Mode Automcatically When Phone is Locked
Is there a way to automate the switching of Airplane mode on when an iPhone is locked? And automatically switched off when the phone is unlocked?
0
votes
1
answer
56
views
Map Spotlight key to repeat last command in Terminal
Logically this is possible, but I'm not sure it is technically possible on a Mac. And I have no idea where to start, but here it is: I have a workflow right now where I (1) close the only tab in VS ...
0
votes
3
answers
1k
views
iOS screen translation
I want to quickly translate screen content on my iPhone. It would be great to translate it on the fly (like AR translation), but I don't think it's possible. I want to automate screenshot translation. ...
0
votes
0
answers
72
views
Possible to force MacOS from switching input audio source while plugging in headphones?
It's usual to have the audio sources (both input & output) switched automatically when a new hardware is plugged in (headphones, speakers etc. into the 3.5 mm headphone jack). But what I want is -
...
1
vote
0
answers
92
views
Mac Automation / Scripting: create reminder item for each calendar event
I would like to automatically create a reminder item for each event in a particular calendar. Below is my automation script (JavaScript). CALENDAR_NAME is the source calendar name, REMINDER_LIST_NAME ...
1
vote
1
answer
61
views
Can't (re-)authorize any Accessibility apps on Monterey (12.6.3)
After a forced reboot (and another reboot for good measure), the applications I allow to "Accessibility" control under System Preferences > Security & Privacy > Privacy no longer ...
1
vote
1
answer
103
views
Shell script to reboot from different volume
I have two installations of OSX (both Ventura) on my machine on two separate APFS volumes. I need to often switch between the two machines. I am only aware of the option to press and hold the power ...
1
vote
0
answers
65
views
Creating a PDF File from some specific data in HTML Tags in a website in Safari
I have the following task that I need to automate as much as possible:
Grab Page Source from currently open site in Safari. This is a site whose HTML structure is fixed, but specific data (such as ...
3
votes
1
answer
64
views
RAID failure notifications
I recently bought a Mac Mini to use as a NAS, among other things. I'm thinking about setting up a couple external drives as a RAID 1 (mirrored) set to help safeguard my data in case one of them goes ...
2
votes
0
answers
95
views
Automator workflow crashing silently when ran as Finder extension
I made an Automator workflow that essentially runs a shell script to optimize images. I intend to use it as a Finder.app extension, by selecting images and running the workflow as a "quick action&...
0
votes
1
answer
883
views
Set Mac to wake and run scripts while in sleep mode
I'm a Python developer and I would like the Mac to awaken from sleep when I configure it to do so and run some scripts or certain programs during the day. On Windows there's "Task Scheduler" ...
1
vote
0
answers
14
views
How to Double Click in an automated way On macOS Ventura [duplicate]
I've been doing a pretty significant amount of research, and have tried asking a slightly less straightforward question on here before, but this time i want to explicitly ask about what I'm stuck on; ...
0
votes
0
answers
220
views
Possible to switch to a specific page of the home screen when "Driving" focus activates on iPhone?
I have set up some filters for notifications and calls and such when I'm out driving, and my iPhone enters the Driving focus.
What I would also like is for the phone to automatically switch to a ...
0
votes
0
answers
11
views
Retrieving a single track's lyrics in Markdown? (Via automation, ideally.)
A want/workflow desire I've kept coming back to for years:
I would really like the ability to quickly/painlessly retrieve the lyrics of a given track formatted in Markdown (to the clipboard, probably, ...
1
vote
0
answers
24
views
Autostart an Application only if machine is in a specific network (or location)
I'm looking for a way to automatically start an application, but only if my machine is connected to a specific network.
So I think that I would have to find a way to either:
Check for the correct ...
0
votes
1
answer
29
views
How can I automatically print different PDFs based on specific contents of emails?
Basically an if/then script. If an email contains certain text, then print this PDF. Been trying to figure it out but I have zero idea what I'm doing. Happy to do it myself but can't seem to get ...
0
votes
1
answer
38
views
Unsilence iPhone based on coordinated/automation
I have my work phone with me all the time, and I am trying to find a way to set up a shortcut automation whereby it always stays silent, but once I am at work I want to unsilence the phone. Also, I do ...
2
votes
3
answers
2k
views
How to toggle Accessibility features with AppleScript in Ventura
Applescripts for Ventura's new System Settings
My old Applescript stopped working on Ventura. Any ideas on how to fix this script?
tell application "System Preferences"
reveal anchor ...
2
votes
2
answers
84
views
How to create shortcuts which only apply to a certain app?
I want to map Cmd+J/Cmd+K to Ctrl+Tab/Ctrl+Shift+Tab only when Chrome is active, in Windows, it's quite simple to implement by using AutoHotkey:
#IfWinActive ahk_exe chrome.exe
^j::Send ^+{Tab}
^k:...
1
vote
0
answers
143
views
How to create a global shortcut using the Shortcuts app?
Below is my current config using the Shortcuts app, although Control-5 works in some apps, it still conflicts with the apps which use Control-5.
How to create a system-wide shortcut so that when it's ...
0
votes
1
answer
65
views
Avoiding user interaction for certain Siri automations
I have (finally) managed to setup a Siri automation which detects when I've left an area and switches off my Airplane mode, but it only generates a lock screen notification which I have to tap on to ...
0
votes
0
answers
15
views
Close and relaunch application after waking up Mac Studio from sleep
I've got Sound ID running on my Mac Studio which is an application that simulates an audio output device.
My problem is, that it stays open but can't be found as an audio output device every time my ...
1
vote
0
answers
372
views
Unknown token errors with osascript
I want to open a new terminal shell in vscode, using a shell script. The command is shift+ctrl+`
I tried the following:
osascript -e 'tell application "Visual Studio Code" to keystroke "...
0
votes
0
answers
33
views
Detect if Text-to-Speech has finished speaking
I want to turn voiceovers into mp3 files.
Since the say command doesn't include new Siri voices, I'm trying to work my way around that by creating a new Shortcut in the Shortcuts app that goes through ...
3
votes
1
answer
506
views
How do I locate the custom keyboard shortcuts on the filesystem?
I have a lot of custom keyboard shortcuts (System Preferences → Keyboard → Keyboard Shortcuts → App Shortcuts), but they don't seem to be able to be exported. Is there any way to access them on the ...
1
vote
1
answer
24
views
Make system sleep after launchd task completes?
I've got a launchd task that runs at 2am every day under my user. I've separately programmed power management to wake up my system at 1:59am so the task will run without any issue. However if the ...