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
2
votes
0answers
16 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....
1
vote
1answer
17 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 ...
0
votes
2answers
48 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}"....
0
votes
0answers
63 views

automatically remove “Hide File Extension” for all files in a specific folder on OSX

Running latest OSX. I need to automatically remove the "hide file extension" attribute from all files on the Desktop. Or, all image (JPG, JPEG, PNG) files. The customer can easily do this (...
0
votes
2answers
43 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 ...
0
votes
1answer
21 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. ...
0
votes
0answers
27 views

Correction of the URL for incoming emails with Automator for opening

There are URLs with following format in the incomming emails: http://directum24.com/sungero?type=ef79164b-2ce7-451b-9ba6-eb59dd9a4a74&id=128677 to open with MAC OS I need change an url to: http://...
0
votes
0answers
38 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 ...
0
votes
0answers
88 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 ...
0
votes
1answer
14 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 ...
0
votes
0answers
12 views

how to use automator in OSX

So I was trying to change the folder destination for airdrop form download file to desktop, and this is the webpage that my research took me. I have never used automator before so I am a bit confused. ...
1
vote
0answers
61 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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
51 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 ...
0
votes
1answer
43 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 ...
1
vote
0answers
75 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 ...
0
votes
1answer
38 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 ...
0
votes
0answers
158 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 ...
1
vote
0answers
35 views

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

This script works perfectly to reconnect 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 if [ $(...
0
votes
0answers
157 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 ...
0
votes
1answer
55 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.
1
vote
0answers
73 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 ...
0
votes
1answer
163 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 ...
0
votes
1answer
285 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 ...
0
votes
3answers
49 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 ...
0
votes
1answer
580 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 ...
2
votes
1answer
144 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/...
0
votes
1answer
324 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 ...
0
votes
1answer
38 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
1
vote
1answer
1k 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 appliaction icon. This is what i've done: ...
1
vote
1answer
8k 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 ...
0
votes
1answer
240 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 ...
1
vote
0answers
76 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 ...
0
votes
1answer
520 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.
0
votes
2answers
240 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 ...
0
votes
1answer
300 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. ...
0
votes
1answer
141 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 ...
1
vote
2answers
677 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 ...
0
votes
1answer
85 views

How to open a specific filetype in a folder with a default application to that folder on Macbook?

I have a folder with a single filetype including subdirectories that I'm trying to open with a default application. For example, I have about 3 text editors and I need to open txt files in a folder1 ...
0
votes
2answers
490 views

Applescript to hide an app/alias

I am trying to write an application using Applescript in Automator that runs on terminal on a Mac Air running Sierra. The account using the application has parental controls set, but I need to give ...
0
votes
1answer
2k views

Batch export selected videos with QuickTime Player 7 using specific export settings?

How can I either use applescript or Automator to batch export video files I have selected in Finder, but NOT using the "Encode Selected Video Files" service method, which only has 4 formats to choose ...
0
votes
1answer
1k views

Replace all illegal characters from folders, subfolders, and files in my Dropbox folder

Our office uses dropbox on Macs to organize our design projects. For several years, many of these files and folders were being saved with characters that are illegal on Windows OS. We have some ...
0
votes
1answer
761 views

Use Automator to refresh a page in Chrome if its domain matches a given domain

I found a similar question which explains how to use the Automator for Mac to create a service that will refresh the active tab in chrome. I would like to make a similar service except that I don't ...
1
vote
0answers
370 views

Mac Automator - Service to resize/scale images using SIPS

I would like a service which scales selected images within Finder to X pixels (max length/width without upscaling if images are smaller than X). Image files can have all kinds of file extensions. The ...
1
vote
2answers
1k views

Run a Python script with filename arguments as a MacOS Folder action

I would like to run a Python script as a Folder Action in Mac OS. The Python script takes the name and full path of a file as an argument. Ideally, I would like to right-click on a file in Finder to ...
0
votes
1answer
131 views

On MAC OS, if I want to save a file to folder B, but point it to folder A, what should I do?

I'm not sure what title to give to this question, but what I want is: when I save a file to folder A, it will automatically save it to folder B, and delete it from folder A, what should I do to make ...
0
votes
1answer
64 views

How to tell service open in a new tab instead of windows - OSX Safari

In this article there's the solution I was looking for, however, I would like to open in a new tab instead of a new window, how should be the text? Google translate client for OS X ... on run argv ...
1
vote
1answer
244 views

Delete currently playing song from iTunes

Is there anyway to make a global shortcut, via Automator or anything, so I can quickly delete currently playing song from iTunes? I know how to delete a song from iTunes. What I want is to create a ...
4
votes
1answer
852 views

Remove All Illegal Characters from All Filenames in a Given Folder and subfolders

I Know this was was basically answered and the automator with the shell script (Sanitize Filenames) works great, but I need it to also do all subfolders as well. And if possible trim the file name ...
0
votes
1answer
164 views

Delete all images in a folder except those with defined string in title?

I have around 50,000 images in a folder (I'm using Mac OSX), and I'd like to delete all of them unless they have x300 or 300x in them. I was hoping it's possible using the terminal or automator, but ...

1
2 3 4 5