Questions tagged [automator]

Automator is a Mac OS X utility that allows creation and execution of workflows that can be integrated with Mac OS X. This enables users to automate repetitive tasks to save time and effort.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Shortcut to find and preview all PDFs in folder

On MacOS, is there a way to add a shortcut that will quickly search for all PDFs in a selected folder? More specifically, I'd like a shortcut* that, when a folder is selected in Finder, will search ...
JohnA's user avatar
  • 113
0 votes
0 answers
28 views

Open multiple files at once not after one another with Automator

I am trying to create an automator script to export selected Fotos and open them with Outlook to send via email. Outlook does not support the share sheet and that's why we have to take this detour. My ...
Luis's user avatar
  • 1
1 vote
0 answers
49 views

Applescript cannot find file that exists

Big picture, I am trying to create an applescript that allows me to open files in neovim from Finder. Though I have found several resources for doing this, none work exactly as-is, so I have to do ...
Catyre's user avatar
  • 11
3 votes
1 answer
59 views

Repeatedly renaming the same files in finder

I am trying to create an Automator workflow which renames all new files added to my desktop folder which do not begin with the prefix 2023 or Home to include the creation date in the following format ...
Yellow's user avatar
  • 53
0 votes
0 answers
76 views

The action “Run AppleScript” encountered an error: “sh: ./temp.csv: Read-only file system

Here's my Automator job: The most relevant lines would seem to be: do shell script "awk -v timestamp='" & timestampText & "' 'BEGIN {OFS=\",\"} {print timestamp,$0}' &...
Drewdavid's user avatar
  • 141
0 votes
1 answer
88 views

How to pull first 6 characters from variable input using Shell Script

I am running a shell script in Mac automator. I no very little about this type of sripting. Basically just found something I could use from other sources. How do I make this line mkdir "$1_"$...
Denise's user avatar
  • 1
0 votes
0 answers
90 views

Bash script running with automator doesn't stay running

I've created an automator script to run Live server on the selected folder. Although it's not returning any errors (or I can't see) It's not working either. #!/bin/bash ~/.zprofile live-server --port=...
siniradam's user avatar
  • 111
2 votes
1 answer
587 views

Where to see the custom quick action in mac os Ventura?

Max Os Ventura I have created a Quick Actions (Earlier known as Service) from Automator Utility in mac OS and it works fine too. Now I want to make some changes in it but unable to see the newly ...
xkeshav's user avatar
  • 355
1 vote
1 answer
106 views

AppleScript pass shell output list to "choose from list"?

I'm writing a simple AppleScript to use in an Automator app that asks a user to select from a list of available Backblaze B2 buckets, with the goal of passing that selection into the shell script that ...
DasKraut's user avatar
0 votes
2 answers
560 views

Shell script in Mac Automator won't work with folders

I am creating a service in Mac Automator which is basically a bash script to change some dcm files with dcmodify. Whenever I run it on a single file it works flawlessly, but when I try to run it over ...
Almostotalnoob's user avatar
0 votes
1 answer
48 views

Automate copying new file in specific folder to clipboard

I'm using a macOS app to create GIFs (called GifFox) but the app does not offer a feature to auto-save to clipboard. However, I can define the location the GIF will be saved to. How can I create an ...
Moritz W's user avatar
  • 111
0 votes
0 answers
45 views

Im trying to make an action t filter my files by day to different folders , any idea: doesnt work

Please help, eed an action to select files like images, and videos basically to filter on different kind , and another action to filter by day.. cant make it worrk on automator, any advice ill ...
alberto burciaga's user avatar
1 vote
0 answers
97 views

How to select multiple events with keyboard in Apple Calendar?

In Apple Calendar, Shift/Cmd + Click can select multiple calendar events with a mouse. How can I select multiple events with only the keyboard? Apple's "Keyboard shortcuts in Calendar on Mac"...
Pup's user avatar
  • 1,722
0 votes
2 answers
364 views

Running FFMPEG in Automator

I have this simple command. for f in "$@"; do ffmpeg -n -i "$f" -ss 00:00:0.123 -f image2 -vframes 1 /Volumes/Media\ Archs/FrameGrabs/yosemite.png ffmpeg -n -i "$f" -...
Peter Mark Friedladner's user avatar
1 vote
1 answer
1k views

Quickly jump to a specific application in Mac OS

My most used applications are iterm and Google-Chrome. I usually have several other applications open in the background. Is there a way to create keyboard shortcuts to move focus to my most used ...
The Vivandiere's user avatar
3 votes
0 answers
157 views

Input language shortcut on MacOS

Problem I regularly use at least 3 languages, so I have the standard shortcut for switching the layouts(cmd+space). This works well if there are only 2 languages, EN->RU and RU->EN, for example....
lvlzay's user avatar
  • 31
1 vote
1 answer
108 views

Script for Automator on Mac OS X to limit MacBook mic sensitivity

It is possible to use Automator from Mac OS X to limit the maximum sensitivity of the microphone of the computer? For example, if my headphone change it automatically to 100% it automatically put the ...
André Machado's user avatar
1 vote
2 answers
4k views

How can I batch convert a directory of subfolders from FLAC to ALAC?

Right now I'm converting each folder in Terminal manually using the following command, for i in *.flac; do echo $i; ffmpeg -i "$i" -y -v 0 -vcodec copy -acodec alac "${i%.flac}"....
Anthony0076's user avatar
0 votes
2 answers
777 views

How to delete Safari cache using AppleScript?

I searched this forum and I can only find how to delete history! Yet, I am interested on how to delete cache from the "Develop" menu. I do not wish to "reset" Safari neither! I am ...
captaincustard's user avatar
0 votes
1 answer
60 views

Copy only the most-recently-modified files from Finder search results, preserving directory structure/hierarchies on macOS?

I found results for similar variations of this question, but none that really provided a solution for my specific case. I have a lot of preset files with a specific extension (.tfx) on a backup drive. ...
MikMak's user avatar
  • 2,047
0 votes
0 answers
163 views

Automator to rename files with prompt

I was wondering how to create an automator shell script to rename files, while prompting with window (or terminal) to enter the new name. I have spend months trying to do this using bash script in ...
Emmanuel Goldstein's user avatar
0 votes
0 answers
179 views

How do I disable the option + space full screen slideshow shortcut?

I want this shortcut to run an apple script to open a new iTerm window. I can't when I use the shortcut in Keyboard > Shortcuts > Services it does not register, and I think it's because it's ...
BlkPengu's user avatar
  • 140
0 votes
1 answer
34 views

OSX: How to launch an Application within a specific directory via Dock icon

I desperately want to open a new instance of MacVim by clicking on its icon in the dock such that it opens a wildcard list of files from my OneDrive directory. One tip was to use Automator to run a ...
Otheus's user avatar
  • 388
1 vote
0 answers
157 views

AppleScript Quick Action Services Shortcut issue - MacOS Catalina

Running on: MacOS Catalina 10.15.5 I made a Quick Action in Automator and it works just fine. In fact, I've been using it for a few years. The code in the action itself is not the problem, nor is it ...
postsoundmixer's user avatar
0 votes
1 answer
447 views

Created a looping Automator application. Now process is running indefinitely by launchd and cannot kill it

I'm losing my mind. I created a super simple Application in Mac Automator which just runs a one-line Python script and then has a loop action at the end. I ran this and it started working. Then no ...
Sarp Saysel's user avatar
0 votes
1 answer
150 views

Automator/Terminal/Apple Script: Fetch data from macos console app

I want to use automator or terminal to fetch data from the mac console app. In particular: If you search for "sleepwake" in the console app › tab "Mac Analytics Data", you get the ...
User123456789's user avatar
0 votes
1 answer
201 views

Make shell script service work with multiple files as input?

I have the following shell script (/bin/bash) saved as a service. for f in "$@" do ln -s "$@" "$@_deleteLinkExtAfterMoving.link" done The services receives files or ...
MikMak's user avatar
  • 2,047
1 vote
0 answers
357 views

Convert a lot of docx files into pdf on macOS

After searching an answer for my question I write it here. I have a lot of docx files and need to convert it to pdf. I have word 2019 installed on macOS Catalina. Is it possible to do somehow with ...
ddic3pri's user avatar
0 votes
1 answer
354 views

Keyboard shortcut for Service in OS X doesn't work outside of application focus

I have created a service for music application for next and previous track buttons on my keyboard. Problem is when i click on music application and press the keyboard shortcut it works, but when I ...
Mohammad_Hosseini's user avatar
0 votes
1 answer
403 views

Double click on file to run specific terminal command

Specifically, I have a bash script called nbopen that takes as argument a file of type .ipynb. I use it like this: nbopen mynotebook.ipynb to launch Jupyter Notebooks (a type of Python script) from ...
Ulf Aslak's user avatar
  • 101
2 votes
0 answers
161 views

Is there a way to activate/run script when disconnected from wifi hotspot?

This script works perfectly to reconnect the lost Wi-Fi signal/connection. Is there a way to auto-activate/run this script every time my Mac is disconnected from the Wi-Fi hotspot? #!/bin/bash ...
user5154841's user avatar
0 votes
0 answers
436 views

Automating a Data Entry Job in Excel with Automator or any other app

I have to complete labeling process in excel sheet with over 3000 rows. The excel sheet ( please see atttachment) has three columns, E1, E2, and Label. E1 and E2 are already type in and I need to ...
chikitin's user avatar
  • 131
0 votes
1 answer
105 views

Use Automator for handling multiple file inputs through shell Cat command in OS X to combine videos

I'm trying to do a similar thing with video files with no luck. Tried: for f in "$@" do cat "$f" > ~/Desktop/Test.mov done When I do this it just puts the last file selected in the file.
PuzzleHead555's user avatar
2 votes
0 answers
107 views

Mac Automator Twitter Scrape Shell Script to Run Python Stopped Working

OS X El Capitan 10.11.6 I have Mac Calendar calling an Automator app to launch a shell script that opens a python file that scrapes a few Twitter handles and presents them to me as a web page. This ...
Woolwit's user avatar
  • 51
0 votes
1 answer
408 views

Automating Image format and size change

I'm a novice, trying to create a Mac OS Automator app or AppleScript that will accept images (PSD, tiff, png, jpeg) when dragged on the app's icon, convert to a different format, and resize them. I ...
Chris's user avatar
  • 1
0 votes
1 answer
386 views

The action "Save as Adobe PDF" could not be loaded because it is not universal

I am trying to add the action "Save as Adobe PDF" to an automator workflow, but I get the error **The action "Save as Adobe PDF" could not be loaded because it is not universal. **. Automator is ...
firedrillsergeant's user avatar
0 votes
3 answers
62 views

Temporarily disable files in macOs

Is there a convenient way to temporarily make files 'not found' to the OS (or more specifically, an App)? I was thinking an automator action that just adds '.DISABLED' to the filenames, but automator ...
Kez's user avatar
  • 3
0 votes
1 answer
1k views

Use Automator to perform a FFmpeg command (two .SRT in one .MP4)

I have the script below which I'm used to running from Terminal and it works perfectly. I just need to have one single .mp4 file and two .srt files in my user directory and it will automatically input ...
user1041098's user avatar
2 votes
1 answer
261 views

Automator: change wallpaper when screen brightness is changed

I am new to using Automator. I'm trying to make my desktop wallpaper change according to my screen brightness which is automatically adjusting to the light in my room (basically an automatic bright/...
potato's user avatar
  • 123
0 votes
1 answer
604 views

Not able to run shell script in Mac's Automator

Hi so I have this ffmpeg command to run in Mac's Automator app: for f in *.mp4; do ffmpeg -i "$f" -map_metadata -1 -c:v copy -c:a copy "${f%.mp4}"-new.mp4; done I created a new workflow in automator ...
sd100's user avatar
  • 1
0 votes
1 answer
73 views

Error: "Automator could not access your calendars"

How do i give access to automator? I press "don't allow" by mistake the first time the calendar event try to open the action
ByteArtisan's user avatar
1 vote
1 answer
2k views

How do I get this simple ffmpeg command to work in Automator?

I'm having trouble getting a simple Automator shell script to work. I'm trying to get an ffmpeg command line to run a task on a file that is dropped onto the application icon. This is what I've done: ...
Mastaxx's user avatar
  • 1,075
1 vote
1 answer
18k views

How to add chmod +x on a file, from right click menu service in mac

so i need to use chmod +x alot, and i thought it could be easier to make a service in Automator to add it to the right click menu, so it will run chmod +x on the selected file as choose it from the ...
Pabate's user avatar
  • 13
0 votes
1 answer
380 views

Mac Automator using FFMPEG to generate thumbnails with shell script

I've added the following to the Run Shell Script Object for f in "$@" do /usr/local/bin/ffmpeg -y -ss 3 -i "$f" -v quiet -vf select="eq(pict_type\,I)" -vframes 1 "$f.png" done the ffmpeg line works ...
D.J.'s user avatar
  • 1
1 vote
0 answers
96 views

Using untrusted app as the default way to open a file

I've turned a short shell script into an Application using Automator. The shell script converts a .dot file into a .png and opens the .png Something like dot -Tpng "$@" -o img.png open img.png I'm ...
Increasingly Idiotic's user avatar
0 votes
1 answer
984 views

Print selected text in macOS using Automator?

How can I use Automator (macOS 10) to create a workflow for printing selected text? I'd like to set up a sequence that works across all applications? Thank you.
user16520's user avatar
  • 101
0 votes
2 answers
329 views

apple script handler not working in tell statement

Hi I am writing a script that will rename selected files / folders in the format xxxyearxxx to be xxxyear. I am new to apple script, have done plenty of autoit / c++ stuff. I can't get my handler to ...
Rimmi2002's user avatar
0 votes
1 answer
425 views

How to play next iTunes' song in Automator

I'm on macOS High Sierra 10.13.3 and Automator version 2.8 I'm making my Automator script with setting specific iTunes playlist and to run it at specific time. But it always playing the same track. ...
whitesiroi's user avatar
0 votes
1 answer
475 views

Is there a way in macOS to automatically open a URL when another URL is opened?

Is there a way in macOS to automatically open a URL when another URL is opened? Using Automator, macros, browser plugins or the alike to in the background "listen" for a URL to be opened and when it ...
Roberth Johansson's user avatar
1 vote
2 answers
924 views

Getting Unix path of multiple files/folders in Automator service

I want to get path of (multiple) file(s, folders) in Automator service by selecting them in Finder and then use them in shell command. I already have something like this: Launch AppleScript: on run ...
COOL_IRON's user avatar

1
2 3 4 5