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
1
vote
0answers
19 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
17 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
12 views

Run script after all items in Login Items are opened

I want to run an AppleScript when macOS is done with opening my Login Items. Is it possible to listen for a signal from macOS when it's done with that?
0
votes
0answers
52 views

Need help working with automator applescripts in Numbers on MacOS catalina

I am working with numbers sheet and I want to create a keyboard shortcut so that when I press a button the script searches for the number "1" in column I, when it finds the number "1" it will increase ...
0
votes
0answers
20 views

How do you modify OS X Automator's prebuilt actions?

I am trying to use the actions that are pre-built for automator in Mac OS X (Mojave, for me), but modify them slightly. For example, the "rotate images" action - I would like to have the option of ...
0
votes
0answers
91 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
30 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
31 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
35 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
54 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
113 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
193 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
0answers
79 views

Mac Automator & AppleScript issues

Thank you in advance for helping me out (if you so choose). I am currently creating an automator sequence that will move .pdf items from a "Bin" folder on the desktop to a variety of folders of which ...
0
votes
0answers
57 views

Apple Automator sort to dropbox?

I've got this super simple task that has me stumped. I output sheet music that needs to go into separate folders, based on instrument. Normally, I'd use Automator with a workflow that identifies ...
0
votes
3answers
48 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
242 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
99 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
231 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
28 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
713 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
3k 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
203 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
71 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
329 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
203 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
222 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
107 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
533 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
82 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
405 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
962 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
554 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
345 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
124 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
61 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
190 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
793 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
152 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
vote
0answers
250 views

How to get input with a custom dictation command

I'm trying to write a few scripts to allow me to write code via voice. However, I need a way to specify a way to capitalize a variable name. For example, I want to be able to say, "stud my super ...
-1
votes
1answer
65 views

Create a separate zip from many folders

I have a many folders with files for project. I need: Create a zip from folder "X" Move Zip in the folder "X" Name of Zip must be "X" I'm a Mac OS user. How I can automate the process?
7
votes
1answer
1k views

How can I add a comment in the script in Automator in OS X?

How can I add a comment in the script in Automator in OS X? I've tried many variants but they don't work.
0
votes
1answer
304 views

How do I move an Automator app with embedded workflows to a new location?

I have created an automator app for batch resizing and renaming of images. The process is like this: Rename Finder Items Run resize3x.workflow Run resize2x.workflow Run resize1x.workflow Each ...
0
votes
1answer
286 views

Automatic open new browser tab on Mac OS X

Im trying to create a action in Automator, but I am not sure if its possible only use this software or I would need use applescript. I need to create a action for when I set a specific URL in some ...
1
vote
1answer
440 views

OSX/launchctl: How do I open a specific website in a new instance of chrome in the foreground every morning?

Requirements: Specific website Every morning despite laptop being closed overnight (launchctl can handle this) Foreground - must come to my attention, even if I have multiple spaces/desktops ...
2
votes
1answer
813 views

Automator app won't open after being copied to another computer - OSX

I created an app in Automator. The app runs fine on the computer with which I created it, but when I copy it to another computer I get: The application “AppX” can’t be opened. If I open it in ...
1
vote
1answer
527 views

Automator: rename files fixing the gaps in numbers 1,2,3,5,6 -> 1,2,3,4,5

I have a huge bunch of scanned files (before OCR) and I want the Automator (Yosemite) to fix the gaps in files numbers: some pages was duplicated and after deletion the duplication there are gaps in ...
1
vote
1answer
1k views

Write content to file with Automator

I'm building an Automator Service to create an .html file and write some text in it. I've managed to create my .html file by using the New Text File action, but how can I write text in it? I see no ...
1
vote
1answer
750 views

Convert jpeg quality to 80% using automator

I want to make a automator script that goes trough a folder with subfolders and convert all .JPEG (or .JPG) to the same JPEG, but with a quality of 80%. There is no option in Automator it self like ...