Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [automator]

An application developed by Apple for macOS that implements the creation of workflows.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Automator Quick Action to duplicate "Copy Link" in the service menu?

I open www.themoviedb.org and search for a movie. The webpage has a tab called "Media" that contains thumbnail links to cover art images. If I click a thumbnail it opens the target file in ...
Scott Smith's user avatar
0 votes
0 answers
17 views

Script to mirror display to iPad

My screen broke on my MacBook, and my current way to use it has been to connect a HDMI, and then mirror the display to my iPad. Any way to automate this maybe with Automator? The screen is completely ...
Ragnar Lothbrok's user avatar
0 votes
0 answers
30 views

Efficient Method to Download and Save Older iMessage Photos/Videos to Photos App

I am looking for help figuring out a way to get all the photos and videos shared with me in a few conversations to appear in my Photos app on my Mac. I believe I have everything turned on to be ...
clibassi's user avatar
2 votes
3 answers
68 views

Change app's icon by script

On Sonoma 14.5. I have some apps that I want to a set custom icon for. This is easy enough to do in Finder -- right click on the app, choose get info, and drag and drop the icon I want into the icon ...
JBart's user avatar
  • 41
0 votes
0 answers
39 views

Make HomePod as default audio output on start up for MacOS Sonoma

I have a HomePod setup using my iPad and now connected to my Mac Mini (runs Sonoma). However, when I shut down and start the Mac Mini later or wake up from sleep, it is disconnected and I have to ...
Agnel's user avatar
  • 1
0 votes
1 answer
48 views

Using Automator to connect to SMB shares

I’m trying to write an Automator Workflow to reconnect macOS to some not-very-remote SMB shares (on a server beside the Mac). For some reason adding them to my login items doesn’t always work. Using ...
Manngo's user avatar
  • 3,555
1 vote
0 answers
31 views

Run shell script in Automator with privileges

I'm trying to run a shell script in an Automator folder action that runs with privileges strong enough to delete files within that folder. The folder action contains only a Run Shell Script action ...
Simon Troup's user avatar
1 vote
1 answer
114 views

Automator script error -212

Im on an intel macOS Catalina and I am trying to create a automation using apple script to run a command in zsh terminal. The command is to set new defaults for my bash profile and it works perfectly ...
pleasehelpme's user avatar
0 votes
1 answer
33 views

How do I use Automator to open an application with a file

I often find myself opening files such as .plist or .json files, etc., as plain text files for viewing in TextEdit. But often I need to follow Open With > Other… and then find TextEdit in the pop-...
Klumpy7's user avatar
  • 103
0 votes
0 answers
21 views

Make it easier to toggle color filters

I need a more convenient way to toggle this option. I'm happy for it to be a toggled at a keystroke, an option in my top menu bar, or an option in this thing: I initially tried ChatGPT to write an ...
libby's user avatar
  • 151
1 vote
1 answer
52 views

Can't get shell script with filename $1 variable to work in automator

defaults write '$1/Contents/info.plist' MyVariable false For some reason, I cannot get this to work, and I've tried everything I can think of. Even through an AppleScript, instead of a shell script, ...
Fred Leonard's user avatar
0 votes
1 answer
27 views

Run Applescript by default in log mode

From AppleScript, I can run another AppleScript with set myScript to alias ((path to scripts folder as text) & "testScript.scpt") run script myScript I can also show the log window, to ...
emonigma's user avatar
  • 1,019
0 votes
1 answer
55 views

To quit Safari instead of closing its window

I have a Safari window on my Mac with multiple tabs. If I press Command-W or click the red Close button instead of pressing Command-Q, the next time I click the Safari icon in the Dock, the tabs are ...
user avatar
0 votes
0 answers
13 views

How to remove Keyboard Shortcuts Services Text

I created a Quick Action Automator Shell Script. I compressed the file and shared with another iMac. Once the other iMac downloaded and clicked the file, it automatically get installed in the Keyboard ...
Geraldine Ng's user avatar
1 vote
1 answer
18 views

AppleScript (Music.app) error: Can't get duration of current track

I have a simple AppleScript for starting a random video on a random position in Music.app as Automator application and as a startup login item. In the half of cases I get an error: The action "...
Dmitry's user avatar
  • 67
0 votes
1 answer
48 views

How to show input language indicator when a input field is focused?

Problem I type in multiple languages and it bothers me that I have to correct my input if the keyboard is not my expected language. Looking up the input source in the menu bar is not convenient for me....
thchan's user avatar
  • 139
0 votes
0 answers
12 views

Using automator to remove empty spaces / desktops automatically?

I use Yabai for window management, and so I'm frequently opening new windows and sending them to new desktops. But as I close windows, this means that I end up with a large number of desktops with no ...
Joey Eremondi's user avatar
4 votes
1 answer
88 views

Can macOS add a torn edge to images in clipboard?

I'd like to be able to add torn edges to images in the clipboard on my Mac. I do a lot of documentation and having the ability to add a torn edge around a screen shot helps the people that try to ...
Curious User's user avatar
1 vote
2 answers
123 views

Can I use Applescript to have Safari save a specific page’s contents as source?

I need to have Safari visit a specific URL, and "Save As... page source" to a specified location in my Home folder. I don't want to actually see Safari while this is going on - unless that's ...
Seamus's user avatar
  • 4,762
0 votes
0 answers
76 views

Created a folder structure using Automator. I need to update the folder names before it's generated

I've recently created an application using Automator on my Mac to generate a specific folder structure. The application works perfectly in creating the structure, but I'm facing a challenge with ...
Marikit Hunter's user avatar
0 votes
0 answers
18 views

Automator will only propagate "Home" from an AppleScript list picker through Selected Finder Items

I'm trying to have a user select a primary key from a MySQL database, merge that string at the beginning of a list of selected Finder items, then feed the resulting string into a bash shell script. It ...
Jan Steinman's user avatar
0 votes
0 answers
13 views

Automator - Increase font size of rtf file

I have an automator quick action that receives text as input and prints it out. How do I increase the font size of the text that I want to print?
Rarowcun's user avatar
2 votes
0 answers
32 views

How to save a screenshot and copy it to clipboard in one key press?

The AppleScript code from Copy screenshot to clipboard in addition to saving the file doesn't work anymore. I tried Automator, but when I assign the keyboard shortcut to it, it doesn't work and gives ...
Tigerotic's user avatar
  • 121
0 votes
0 answers
86 views

Unable to kill MDCrashReportTool process via AppleScript

A long-standing bug in Mac OS X causes syncing of iDevices. You have to kill the MDCrashReportTool process to continue syncing. I made an Automator app to run a short AppleScript to do this. However, ...
Richard Cosgrove's user avatar
0 votes
1 answer
36 views

Using Imagemagick commands in Automator with passed images

I am trying to make a workflow in Automator that takes video screenshots and ideally at the end montages them into one image. I have the video shot working, and is saving into a timestamped folder, so ...
Tom Howard's user avatar
0 votes
0 answers
73 views

Possible to enable and disable wifi logging and creating diagnostic report from terminal command line?

Regarding these 3 options available from holding option key while clicking the wifi network icon: I came across post for how to find and launch the Wireless Diagnostics option. I would like to know ...
David's user avatar
  • 195
1 vote
0 answers
123 views

iOS feature, script or app to quickly determine who's calling based on AI search of the internet?

Most the time when I get a call from a random number, I ignore it, google it, and call them back if I recognise it’s from someone relevant. This process is annoyingly cumbersome for something I might ...
stevec's user avatar
  • 5,125
1 vote
1 answer
96 views

Toggle menu bar auto hide by pressing F6

My environment: Sonoma 14.2.1 on MacBook Pro 14 (2021). What I wnat do to is: (1) If I press the F6 key, (2) then DND is on, and at the same time the menu bar auto hide is on. (3) If I again press F6,...
Springfield's user avatar
1 vote
1 answer
51 views

Can't get shell script to talk to AppleTalk script in Automator

I'm trying to make an Automator Quick Action that will: Take a highlighted word, look it up in a database, allow the user to pick from among the hits returned by the database, and put the user's ...
Jan Steinman's user avatar
0 votes
1 answer
59 views

How can I run Automator Quick Actions in Firefox?

I have an Automator Quick Action that works fine in Mail, BBEdit, Pages, and a number of other applications that allow you to select text. This Quick Action takes selected text, searches a MySQL ...
Jan Steinman's user avatar
0 votes
0 answers
32 views

How can I create an Application using Automator that will open a file from finder in VS Code as a new window?

I've found many answers and solutions that partially solve this but I can't seem to put it together. To expand on the title, I want to be able to double click on a file and open it in VS Code as a new ...
James0r's user avatar
2 votes
0 answers
44 views

Compiling an AppleScript workflow dependent on script libraries into a self-contained app

When building an AppleScript using Script Editor and some external /Library/Script Libraries, it is possible to make the final app self-contained by compiling it. I tested it by compiling a script ...
user776686's user avatar
0 votes
1 answer
33 views

AppleScript to prepend date to filenames works only if more than 1 file is input

I'm new to AppleScript so I'm sure it's something obvious. This works if I have selected multiple files (I use it with the right-click context menu), but if one file is selected, nothing happens (no ...
Rosie's user avatar
  • 1
3 votes
1 answer
122 views

Can I Make Applescript to Count Number of Files Created?

I would like to start learning AppleScript. I want to add to my workflow a counter that will keep track of the amount of PDFs i create for a job and keep a tally of those documents. I can then forget ...
rcktship's user avatar
0 votes
0 answers
103 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 ...
markelp's user avatar
0 votes
0 answers
19 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 ...
WGroleau's user avatar
  • 5,065
0 votes
0 answers
46 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, ...
Marakoss's user avatar
  • 111
0 votes
1 answer
80 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’...
emiller's user avatar
  • 489
3 votes
1 answer
687 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 ...
ktbos's user avatar
  • 181
2 votes
1 answer
130 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 ...
Bow's user avatar
  • 21
2 votes
1 answer
48 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 ...
Jake Ireland's user avatar
0 votes
0 answers
137 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 ...
Adam's user avatar
  • 183
0 votes
0 answers
86 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, ...
John's user avatar
  • 1,071
0 votes
0 answers
61 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 ...
altmanna2000's user avatar
0 votes
0 answers
151 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 ...
maslomeister's user avatar
1 vote
0 answers
82 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". ...
j33205's user avatar
  • 25
2 votes
1 answer
131 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. ...
Manngo's user avatar
  • 3,555
0 votes
1 answer
28 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 ...
xgdgsc's user avatar
  • 751
0 votes
0 answers
94 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 "...
j33205's user avatar
  • 25
0 votes
0 answers
35 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 ...
JBS's user avatar
  • 45

1
2 3 4 5
33