Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
20 views

Automator Folder Action: How to ONLY Select Items with Specified Parameters Located in a Sub-Folder?

I'm attempting to automatically upload any folder containing .mp3 or .m4a files into a specific iTunes playlist. I've already accomplished this for "Singles" (since they are not generally downloaded ...
0
votes
1answer
26 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
12 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
0
votes
0answers
8 views

Remove prefix file with Automator MAC

So I tried to search for this but both of the options I found her do not work on my case. I have a set of files with dates, for example: 1 12 2017-1517-DSC08078.JPG 1 12 2017-1517-DSC08079.JPG 1 12 ...
0
votes
0answers
15 views

Drag & drop list of files to automator app spawns one app per file

I have created simple Automator app and want to process files that are drag&dropped on it (merge subtitles into mkv files). The problem is, when I d&d eg 8 files on this app, the app is ...
0
votes
0answers
12 views

Mac Automator Workflow doesn't seem to recognize .url files as urls

Trying to feed a bunch of .url files through a workflow. I was hoping to have the workflow look at the linked webpages and collect additional Link URLS off the webpage for download but this Workflow ...
1
vote
1answer
96 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
84 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
0answers
180 views

(MacOS) What is “Couldn't posix_spawn: error 7”

Created a simple automator application. On executing an inteded action, app crashes and displays the following error: I am working with a relatively large dataset (7.41GB total size). Does anyone ...
0
votes
0answers
11 views

Is it possible to use Automator to print a new page from where it left of?

Sorry if the title is not clear. To give you a real life example, my printer stops working if I print more than 20 pages. And I have a 400 pdf file I would like to get it printed using Automator. ...
0
votes
1answer
111 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
52 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
67 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
107 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
83 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
0answers
24 views

Connect to VPN as long as application is running with AppleScript

I often need to connect to a VPN and start a remote desktop application on my MacBook. Using AppleScript (or Automator, if that works) I would like to combine those two actions: when I start the ...
0
votes
1answer
38 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
228 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
65 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
260 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
840 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
456 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
207 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
271 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
1answer
493 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
108 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
39 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
92 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
516 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
145 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
214 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
41 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?
5
votes
1answer
490 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
253 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
212 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
259 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
0answers
542 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
144 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 ...
0
votes
1answer
583 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 ...
1
vote
2answers
130 views

How do I to modify Automator Service ditto command?

Using and Automator Service and an AppleScript that is redly available and exists on this thread of but a "GUI" around ditto. The solution works well, however, I am not getting the behavior I expected....
0
votes
1answer
224 views

Split large PDF into smaller Two-page PDFs [duplicate]

I have several very large PDF files that I need to split into smaller ones by page number. For example: In a 100 page long PDF, I want to have one PDF with pages 1-2, one with 3-4, one with 4-5 and ...
1
vote
1answer
236 views

Removing illegal characters with Automator

I've been trying to write a Mac Automator service to remove illegal characters from filenames. I have it working, but the solution is a little inelegant and I was wondering if anyone would have a ...
1
vote
2answers
1k views

OS X command to make current terminal window full screen

I am trying to make a bash script to open up my working environment. I want 1) Open up Terminal.app and type a command like "time_to_work" 2) This command will: a. open up sublime text open ~/...
0
votes
1answer
269 views

Add “Show in Finder” service to Services sub-menu in OS X

I'd like to create and add a service to the Services sub-menu under the Application menu for applications like Word, Pages etc., where the currently edited file is revealed in Finder. The flow I want ...
0
votes
1answer
350 views

iMac G4: auto playing iTunes music using Automator

I have used Automator and I have successfully set up events using it and iCal before. I would like to play a playlist from my iTunes using Automator, the problem is that there is no "Play Playlist / ...
4
votes
3answers
3k views

How do I automatically print only part of a PDF page in OS X?

I frequently have to crop out the top half of a PDF (it's a shipping label) and only print that on A4 paper, instead of the whole label. I can do this very easily with Adobe Acrobat Pro, by opening ...
1
vote
0answers
138 views

Automator workflow/service or Applescript for looped edits in Preview [closed]

I was originally trying this with Automator, but if someone can guide me to accomplishing this easier with Applescript then feel free, though i haven't worked with it before. I'm trying to get the ...
1
vote
0answers
78 views

Switch between Multiple Customised Lang & Region settings on Mac OS X Mavericks

I need to be able to switch quickly between two or three customised Language & Region prefs on Mac OS X. While there is an advanced tab which allows customisation, there is no way to save this as ...
0
votes
3answers
3k views

How to copy multiple files and move them to multiple folders using terminal for Mac

I have a folder on my Mac's desktop called Bthepics that has 9 images that I want to copy and move to about 500 folders at once. These 500 folders are located in a folder on my Mac's desktop called ...