Questions tagged [automator]
An application developed by Apple for macOS that implements the creation of workflows.
1,597
questions
0
votes
0
answers
34
views
How to automate a macOS Finder Extension with AppleScript or Automator?
I am trying to improve a photo processing AppleScript I've already written. I have a set of files in a folder I'd like to send to an app, DXO PureRaw. I currently do this in with:
open newFolderPath ...
0
votes
0
answers
12
views
Services: make pop-up containing selected text as part of URI
I’d like to create a lookup for words/phrases not available in "Look-up" or "Translate" (Greek, for example).
This requires making the selected text part of the URI. But it seems ...
0
votes
0
answers
20
views
How to add automator scripts to apple shortcuts?
I am trying to run a simple automation I recorded via Automator app, that will open my AirPlay devices and start screen mirroring to my TV (named as TV).
I was able to record functional automation, ...
0
votes
1
answer
44
views
Trigger automation or notification by counting other notifications
I have one of those rust removal systems that draws from a tank of solution when my sprinkler runs.
By counting the number of times that my sprinkler system has notified me it ran, I can know when it’...
3
votes
1
answer
168
views
Automator "Watch Me Do" error "-50"
I created a Calendar Workflow using Automator and I used "Watch Me Do" for one part of it. It worked fine for me when I tested but every time it would run overnight, it produced an error ...
1
vote
1
answer
59
views
Can Automator be used to visit/upload/save images from a website?
I have a folder on desktop with png images.
I'd like the images to be sent to a website (Vectoriser.ai).
Uploaded one image at a time (multi drop is not available) and save the result to another ...
2
votes
1
answer
33
views
Keyboard shortcut to run Automator service not working in Emacs
I have an Automator service set up to run an application, and I've bound this to a keyboard shortcut (process described at Create global shortcut to run command line applications and Keyboard shortcut ...
0
votes
0
answers
31
views
Shortcut to add multiple Tags (aka Labels) in Mac Finder
Using either Shortcuts (or Automator if needed), I'm trying to add multiple tags (labels) to a file. It's simple to add a single tag, but that tag gets overwritten if you try adding another.
If you do ...
0
votes
0
answers
47
views
Import screenshot images automatically, using an Automator script and Folder Action, referenced photos on server
I have my Apple Photos.app library on my iMac and my referenced photos on a networked Mac mini. The goal is to import all screenshot images automatically, using an Automator script and Folder Action, ...
0
votes
0
answers
36
views
Automator workflow to use VLC to turn ogg to mp3
I tried using these scripts posted before but they didn't work for me.
cd ~/Downloads/Van Halen - Jamie's Cryin'/step
for f in *.ogg; do ffmpeg -i "$f" "${f%.*}.mp3"; done
or
...
0
votes
0
answers
57
views
Move quick actions to main context menu
I'm using macOS Sonoma 14.0
I've found similar question, but the accepted solution doesn't seem to work on the new macOS, the action disappears from quick actions and that's it. So, is there a way to ...
1
vote
0
answers
24
views
How do you disable "suggest completions while typing" autocomplete feature while editing Applescript in Automator?
I think in a recent update to Ventura they added an autocomplete feature to Applescript editing. In Script Editor, there's a setting to enable or disable "suggest completions while typing". ...
2
votes
1
answer
45
views
Automator adding dots when I write code
When I type some code in the Run JavaScript box in Automator, it’s always adding a few dots, sometimes replacing what I’m typing.
This also happens with Run AppleScript, but not with Run Shell Script. ...
0
votes
1
answer
25
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 ...
0
votes
0
answers
46
views
Using AppleScript to add images to Pages document
I am trying to automate the task of inserting an image to a pages document, then change it's arrangement properties to something that normal people use (like "move with text" and "...
0
votes
0
answers
30
views
Why am I getting two different formats from Automator Workflow Get Variable Value
I have an Automator Workflow that runs an AppleScript where the operator chooses one of three option from a list {"Move Staff", "Move Retouch", "Move Grade"}
A Set Value ...
0
votes
0
answers
44
views
Toggle Voice Control with a keyboard shortcut
I found this post from 2 years ago:
Toggle Voice Control with a keyboard shortcut?
And it's a great solution, I imported it into automator easily, but running the script only seems to open system ...
0
votes
0
answers
15
views
Running Python script with a keyboard shortcut in automator [duplicate]
I've written an auto mouse clicker script in Python that clicks on chosen parts of my screen when the script is run. I'd like to be able to do this quickly and repeatedly so want to be able to run it ...
1
vote
1
answer
109
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
0
answers
22
views
Fetching an element from a list within a note through automator/scripting
I have a notes file containing a list of names. Is there a way I can copy one of them through automator or through scripting without me having to open the notes app?
Notes as in the default notes app ...
0
votes
0
answers
82
views
NFC can’t scanned by app, but the phone is recognize it
I want to have my NFC cards (I have 10+ card that I need every day) on my iPhone 13 Pro, and use it instead of theme
Office, metro, room door, automated actions, …
I tried many apps but they didn’t ...
0
votes
1
answer
102
views
Automator Shell Script only runs in Mail and Terminal, but nowhere else - "bad file descriptor"
Runnning Ventura 13.4 on Intel.
I wrote a Python script that replaces text by the translated version. It looks like this:
import openai
import sys
# Read the API key
openai.api_key = 'Here-is-my-...
0
votes
1
answer
42
views
Having automator fire Folder Action when Dropbox adds a file
I'm trying to have Automator move files out of my Camera Photos folder to my local disk when they arrive via Dropbox. It's a great way to reduce my Dropbox usage.
I've created an automation that fires ...
0
votes
0
answers
15
views
Script to move programs to predefined window/desktop configurations [duplicate]
I want to have a specific window/desktop configuration to remain (or switch to).
In detail, I want certain programs to be fullscreen at all times and some in fullsplitscreen (which are respectively on ...
0
votes
0
answers
106
views
Apple Automator “zsh:1: command not found: legendary”
This might be the thousandth post about this, but I can't find the answer. Anyway as the title states when I try to run a terminal command to use something called legendary in automator which is an ...
0
votes
0
answers
173
views
Avoid "not authorized to send Apple events to System Events (-1743)" in MacOS Ventura from keyboard shortcut
I am attempting to follow the instructions here to create a keyboard shortcut that toggles a window to full screen with no menu bar. On MacOS Ventura 13.4, I always get the error "Not authorized ...
0
votes
0
answers
201
views
Toggle natural scrolling [duplicate]
On macOS 13, I'm trying to:
Open the Trackpad preferences pane
Toggle over to the Scroll and Zoom tab
Toggle the Natural scrolling to the opposite of whatever it currently is
I don't care how I ...
0
votes
0
answers
17
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, ...
1
vote
1
answer
796
views
How to launch an Application with a keyboard shortcut?
Using only built-in functionality, how can I launch an Application such as Terminal by key command?
0
votes
1
answer
41
views
I don't seem to have Automator?
From what I gather, Automator is just part of macOS. Everywhere I search seems to assume I just have it.
I go to Spotlight, type in Automator, it shows up with an app icon which gives me hope. I hit ...
2
votes
0
answers
29
views
in MacOS Ventura, how to create a desktop shortcut (or other non-keyboard shortcut) to summon Text-To-Speech controller? [duplicate]
A little background: I'm helping a friend who had a stroke a few years ago and who has global aphasia; as a result it's very difficult for his brain to consistently derive meaning from written words ...
0
votes
3
answers
235
views
Is there an easy way to automatically schedule a move of files matching a certain pattern from a user directory to a USB drive?
I'm looking to automate a backup process that involves transporting backup files (with names in the form "*.savf") first onto a Mac Mini (running Yosemite), and then, once they're on the ...
0
votes
1
answer
51
views
Automator: Error when running a Word Count service in TextEdit
I followed a brief step-by-step guide for adding word count functionality to TextEdit.
Note that the guide instructs: "It will ask you to choose a type for your document; click Service". ...
0
votes
0
answers
91
views
Automator : Every time I paste an action, I get : “AppleScript Error; can’t make «class” until Automator becomes unresponsive
Running MacOS Ventura 13.3.1
I'm new to Automator and AppleScript. I'm trying to write a Workflow/Service that scans a Microsoft Word document to replace dozens of words with abbreviations. As such, ...
0
votes
0
answers
122
views
Using AppleScript to import emails from Canary Mail to DEVONthink 3
I'm trying to use AppleScript to import emails from Canary Mail into DEVONthink 3 on my Mac.
When I run the script below I get the error message:
Expected “,” but found identifier.
I have also tried ...
0
votes
0
answers
53
views
The bash script in mac automator works for texts in Chrome, but not in Safari
Here is the code:
if [ "$@" != "" ]; then
timestamp="$(date +%Y-%m-%d' '%H:%M:%S)"
dictlink="dict://$(echo $@ | sed 's/ /%20/')"
ahref="<A ...
0
votes
1
answer
167
views
An Automator or AppleScript to convert TextEdit documents into Apple Notes
I have an awfully bad habit of working with 100s of open TextEdit files on my macOS desktop, dropping in various bits of content I find or thoughts that I want to keep every day, I've been doing it ...
1
vote
1
answer
211
views
How can I launch an Automator workflow simply by clicking on its Finder icon?
I'm running Big Sur 11.7.5.
I have created a workflow with Automator (it's an AppleScript workflow, if that matters). It exists on my disk with the name "my.workflow".
I just want to double-...
2
votes
1
answer
427
views
Command-line to use Remove Background action of MacOS Ventura
I want to use the quick action: Remove Background, which is available in the Finder of MacOS Ventura (right click -> quick actions -> Remove Background)
Does someone know how to do it with a ...
2
votes
3
answers
2k
views
Fixing "not allowed to send keystrokes" error in Automator workflow
MacOS Ventura 13.3 but I have had some form of this problem on and off for a couple years.
I have a simple workflow that types the current date in ISO 8601 format, it is a single AppleScript action ...
1
vote
1
answer
310
views
Unable to load a workflow as a service using launchctl in macOS
I am trying to load a workflow as a service using launchctl on macOS (Ventura 13.2.1), but I am encountering an error message. The workflow is located at /Users/rohan/Library/Services/open-bluetooth-...
0
votes
2
answers
254
views
Shell script application bundle prompts for Rosetta installation
I exported the following line of AppleScript code into an macOS application via the "Script Editor":
do shell script "open '/Applications/Google Chrome.app' --args --proxy-server=...
0
votes
0
answers
58
views
What can be done to make programs startup faster?
I bought a new MacBook Air with an M1 chip.
When I launch programs, they don't launch immediately. First, the icon bounces for a few seconds, and only after that, I can see the program window.
I found ...
1
vote
0
answers
207
views
Creating Automator Quick Action to Extract (and Move) Media Files From Subfolders to New Folder (in Parent Directory)
I have an audio recording device that puts all files from any given capture into its own folder. (This includes all channels of the recording plus a metadata document.)
Typically, I navigate to the ...
0
votes
0
answers
41
views
Error when executing a shell script in Automator that works fine in Terminal [duplicate]
I am trying to create an Automator Quick Action that will extract subtitles from a .mp4 file via a shell script when selected from the Finder. When I run the command in Terminal, it executes properly ...
1
vote
1
answer
204
views
How can I take a screenshot and then send it in an email with Automator?
I run some tests on my Mac that take several hours. When the tests are done, I want to send myself an email with a screenshot of the test results.
Here is how I configured my Automator App:
New mail ...
2
votes
2
answers
580
views
Automator run shell script does not know my PATH?
When I use the "run shell script" in automator, and do, for example
say $PATH
it then tells me the PATH. But the path is incomplete. Some items I have in $PATH when using the terminal (zsh) ...
1
vote
1
answer
277
views
Run a shell script having individual icon in dock
Target
Run a command line tool or script displayed with a specific icon in dock. A terminal window should not be displayed. I would like to use this to start octave with its gui.
What I tried
...
0
votes
0
answers
58
views
Old iPads and data pull automation
I have 20 old iPads (mini 5th gen, software version 12.2) that are used for note taking daily. The application, Tap Forms HD has a export folder that holds a .csv file. The .csv file is still stored ...
2
votes
0
answers
109
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&...