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]

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

0
votes
0answers
25 views

Automatically export new emails to folder?

The manual process: New email arrives in inbox X (Apple Mail) Drag-n-drop to Finder folder Y Delete email in inbox X How can this be done automatically using AppleScript/Automator?
1
vote
2answers
53 views

Automator: Is it possible to resize an image to a maximum file size?

I have been looking around for an Automator method, whereby an image file is to be resized (reduced height and width) to a specific file size (in bytes), or a near lower-bound proximity of that file ...
2
votes
2answers
67 views

How to deploy Automator workflow to clients?

For a specific use case, I've developed a Folder Action workflow with Automator. When a file gets created in a folder 'abc', the workflow kicks of and executes a shell script. This workflow needs to ...
1
vote
0answers
11 views

Automator can't find bash command [duplicate]

I'm trying to make an action on Automator that recursively batch processes PNG images using bash shell script with pngquant I have done this on terminal and got no problem, but now I want to make a ...
0
votes
0answers
31 views

FFMPEG batch scripting in Applescript or Automator using Terminal

I've got a problem with some malformed videos that need to be re-wrapped in ffmpeg. I can do it in the terminal straight up, but I can't seem to automate it. ffmpeg -i /Users/Home/Desktop/filename....
1
vote
1answer
36 views

Grant “Full Disk Access” to Workflows run via the Services menu

I have an Automator Workflow installed as a service, that I run via Finder → Services → My Automator Workflow. The workflow copies some files to a DOS formatted thumb drive, and them attempts to ...
0
votes
1answer
85 views

Automator app stopped working after updating to macOS Mojave

Today I updated to Mojave because the notifications were killing me. A script I have in automator to launch apache server on startup stopped working after the update. This is all this automator app ...
0
votes
1answer
33 views

QuickTime X Applescript

(Copying this from Stack Overflow, because this might be a better place to ask) Looking for help (really to do) with a script/automator action for opening a files in QT X and using the export 720p ...
0
votes
1answer
31 views

Check automatically if a drive is mounted

I'd like to automate my family backups, specifically I'd like to run a shell script (with rsync) when an external drive is connected. Since it's a family thing, it should be also sort of GUI driven, ...
-3
votes
1answer
40 views

automate tasks in safari and finder

I'm trying to automate a right click, open image in new tab, select tab, drag image to a finder window and enter rename more od file. I thought I'd by able to do this by creating a service on ...
1
vote
2answers
113 views

Automator: Save images from a list of URLs in a text file

I have a text file with a list of URLs of images from a website. I would like to download them to a folder named Art on my computer. I have tried Get Contents of TextEdit Document and then Extract ...
1
vote
1answer
34 views

System-wide shortcut to open a new window in Safari?

I'm trying to use Automator to create a system-wide shortcut to open a new Safari window. I'm using the method described in this answer. I can get Safari to open a specific url, for example by ...
0
votes
0answers
21 views

How to batch import images (one per slide) into a PowerPoint 2016 Mac document

I am looking to import 400 separate eps files into a PowerPoint 2016 template, one per page. I have to do this monthly. Some notes: They must be EPS files, as they contain text, and the EPS files ...
-2
votes
0answers
70 views

apple script progress bar

I am using macOS Automator to create a script for rsync backup and I need it to show progress in the gear applet: The problem is no progress shows. What is the problem with my code? on run {input, ...
0
votes
0answers
25 views

How do i automate a key press by automator [duplicate]

Basically, I want to create a script that outputs certain characters in a video game. I looked up online and found out that Automator could make it happen with the help of a third-party app (BTT) that ...
1
vote
1answer
31 views

automator ethernet toggle high sierra

I have been trying to create a service for toggling ethernet on off, but can't manage to get it right. It is for os x high sierra. So far I have this, it runs with no error and it does appear on my ...
0
votes
1answer
70 views

Automator SCRIPT NEED: Select part of name file, find file with containing name, then copy this in item in another folder

I have 3 folder: JPG folder: contains my modified JPG files, the name of file is (examples): DSC02996 20181027 201438 (LR).jpg RAW folder: contains my RAW files, the name of file is (examples): ...
4
votes
2answers
344 views

Is there a macOS equivalent of the Windows assoc command?

I am looking to change a file association on the Mac using some sort of script. I know that I can do something like that in Windows using the assoc command. Is there something scriptable on macOS ...
0
votes
2answers
57 views

Paste files to multiple destinations

I get into this situation quite often but haven't found a solution. I have a group of CSS files in the clipboard that I need to paste + replace into several different destination folders. My folder ...
1
vote
1answer
54 views

Pass a variable from bash shell into Applescript? [duplicate]

Using the path defined in bash shell How would i pass the variable to applescript using osascript/applescript? Here's what I have so far.. The path of $FOOD_NUM is subject to change and it must be a ...
0
votes
1answer
32 views

Automator: “Ask for Text” pass to “Rename Finder Items” possible?

Lets say there is monthly recurring documents that I scan, rename, relocate and tag. I would like to use automator to make this easier. The idea is the following: Create a folder action that is ...
-1
votes
1answer
42 views

How to skip 'Cancel' 'Continue' when running shell script with automator?

I'm trying to run pmset sleepnow linked to a keyboard shortcut with automator. When I use the shortcut, it's giving me a 'Cancel' or 'Continue' prompt. Anyway to skip this so the script just runs when ...
1
vote
0answers
15 views

Run `pmset sleepnow` with a hotkey?

I have a 2017 rMB and WASD CODE keyboard that I use with with an external monitor in clamshell mode. I want to put the laptop into sleep mode (not just display sleep) with a hotkey when the laptop is ...
0
votes
0answers
51 views

How do I automate arranging two applications side by side in split view?

Preferably using AppleScript, Javascript or bash so I can run it from Automator and make an .app out of it. Note: I am talking about Apple's Split View, not some 3rd party tool which just moves ...
1
vote
0answers
31 views

Why does an applescript not detect success after creating via dragging from a “watch me do” recording?

Background: My goal here is to gather connection speed data that my ISP will accept so I can demonstrate dramatic drops in connection speed lasting 1-5 minutes that I've been experiencing immediately ...
1
vote
1answer
39 views

Applescript or automator to print only 3 first pages of a pdf

I'd like to automate printing the first 3 pages of a PDF. It's fine if the document has to be split. I have Adobe Acrobat Pro installed as well.
1
vote
0answers
17 views

Running services with keyboard shortcuts has a 0.5 second delay

I've created app launchers for certain apps in Automator and assigned keyboard shortcuts from the Keyboard Preferences menu. When I use these shortcuts I get a 1/2 a second delay. It seems like it's ...
2
votes
1answer
135 views

How to pass two variables from previous actions to “run applescript” in Automator

What I'm trying to is: Receive a string from "Ask for Text". Get a file from Finder. Do some codings these inputs in Applescript. Seems like Applescript only receives file as input, I have no idea ...
2
votes
1answer
86 views

automator fifa 19 web app

I'm trying to click the reset button in Fifa 19 web app with automator. codes I've tried. tell application "Safari" activate tell current tab of window 1 do JavaScript "document....
0
votes
0answers
83 views

Applescript - bookmark all tabs in ALL WINDOWS in Safari

Safari, have the Bookmark all tabs, function in the menu Bookmarks -> Add Bookmarks for these N tabs. I looking for a way how to do this automatically with applescript in all opened Safari windows. ...
2
votes
1answer
88 views

macOS Automator run Expect Script

How do I run a expect script in macOS Automator? As it is possible to see in the picture, there is no such option its a script of type: !/usr/bin/expect
2
votes
2answers
137 views

Automator: Service to move files into new subfolders based on file extension *within any selected folder*

I've been searching for quite a while now but can't seem to find relevant instruction for this particular task. I'm brand new at this so apologies if I'm missing something basic. Like many ...
0
votes
1answer
17 views

Error in Automator Open File

I have a Service in Automator that works fine till I try to use the Open File action In the New Reminder widow.
0
votes
1answer
30 views

Automator action “Rotate Images” is incredibly memory-intensive

I'm building an automator workflow to rotate images. It seems that sips and other image rotation possibilities do not actually change the bits of the image, but just flip a switch for orientation, and ...
2
votes
2answers
69 views

How to detect network change (unplugging/plugging cable)?

I have read at multiple places that the folder /Library/Preferences/SystemConfiguration is supposed to "change" in case that I unplug a network cable. Now, I have a MacBook Pro, so I use a USB3 ...
-1
votes
2answers
107 views

Custom dialog box in Automator?

I would like to create a service that performs a set of actions based on several parameters A custom dialog box with multiple radio buttons would be a great way to capture these. My experience with ...
0
votes
0answers
50 views

cannot run python program in Mac automator

Following the protocol from here, I have created a small shell command I am getting an error in importing psutil module, eventhough I can do it in python.
1
vote
1answer
31 views

Open files in background on MacOS Sierra?

I often want to open several files, and then check through them. They may not appear consecutively in Finder or Calibre, so I have to select a few, open them, select more, open them, etc. ...
1
vote
1answer
55 views

Service not working outside automator - Applescript

I'm trying this simple script that checks if there is a Final Cut Window open and the code works perfectly within Automator, but it fails no matter what as a service. Does anyone know how to make it ...
0
votes
0answers
15 views

Automator cropping images to the wrong dimensions [duplicate]

I'm using the 2nd recommendation from this answer to create an Automator service that uses variables to crop a photo to multiple dimensions. It works for the most part except that the cropping is ...
0
votes
1answer
75 views

Automator crop image is doubling the inputted dimensions

I'm using the recommendation from this answer to create an Automator service that crops all photos I send to it. It works perfectly except that the crop automatically doubles the dimensions. I've ...
2
votes
0answers
22 views

Automator service to create Dropbox symlink

I'm trying to create an Automator service(in the right click menu) that creates a symlink of the folder/file and moves it to the Dropbox folder. This is what I have right now: while [ $# -ne 0 ]; do ...
0
votes
2answers
34 views

How to drag folders from Finder into Final Cut without mouse [automator/applescript]

Hello guys I'm trying to create a Service to do some repetitive tasks that I have to perform every day. Most of the things I figured out how to automate, but there is one move that seems to be ...
0
votes
1answer
61 views

Zipping bundle via Automator

I am looking for a way to zip a fcpx bundle with an Automator service. Automator won't accept a bundle as an input for a service (zip, rename and copy to two different locations for backup purposes), ...
0
votes
1answer
19 views

Operate PhotoBooth with mouse clicks

I would like to make a wedding photo booth using my macbookpro and the osx photo booth software. To prevent that the guest can click away the apps or do things that I don't want to, I build the laptop ...
2
votes
3answers
141 views

Automator: Service to list File Paths of selected items, into Text File

How can this Automator Service for Finder be created? I'd like to be able to use Finder's Context menu (by right-clicking a Finder item) to run a Service that gets the file paths of the selected ...
0
votes
1answer
22 views

Get folder tag recognised by Automator within Photos library file

I am trying to back my entire Photos library to OneDrive, following this early 2016 tutorial: https://www.groovypost.com/howto/share-pictures-OSX-photos-app-OneDrive/ When I step through the "Find ...
0
votes
0answers
82 views

Applescript in automator - save folder location

hope someone can help me. I have a script which creates a folder/subfolder. This folder needs to be saved to a location after its been assigned with the variables. I am trying to add this to ...
0
votes
0answers
50 views

Google Image Search with Automator/Service on Finder

Is there any way to create service in Automator for searching an image in Finder.app on Google Image Search? Let me explain it with a scenario: In Finder.app, I will right click on any image and ...
0
votes
1answer
41 views

How to automate deleting what's inside the search box in the Dictionary app after 3/5 seconds?

I use the Dictionary app many times when I'm reading a very old novel, and sometimes I write two words side by side without realising it (until I get no result), with that said, I need to tweak the ...