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.

1
vote
1answer
21 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.
0
votes
0answers
14 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
27 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
40 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
27 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
51 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
74 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
13 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
20 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
43 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
62 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
25 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.
0
votes
0answers
18 views

Avoid resolving symlinks / symbolic links in Automator input

I created a new AppleScript service that appears in the context menu of my Finder folders. The folder is then forwarded to a Python script on run {input, parameters} set mypath to POSIX path of (...
1
vote
1answer
28 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
44 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
14 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
60 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
17 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
30 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
52 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
17 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
114 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
15 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
66 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
28 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 ...
2
votes
1answer
47 views

AppleScript runs in Automator, but fails when launched via a shortcut

I have the following AppleScript in a service using Run AppleScript in Automator: on run {input, parameters} set date_ to short date string of (current date) tell application "System Events" ...
0
votes
0answers
43 views

Automator workflow: Find Finder item, prompt user for text, append said text to file name

There's lots of information online for batch renaming files using Automator, but I can't figure out how to prompt the user for text and then append this inputted text into the file name. I see the '...
3
votes
3answers
157 views

Trim escape characters from file path

I generate file paths for use in emails by dragging the folder/file in question into Terminal.app then copying & pasting the generated text into an email text. The copied path with escape ...
1
vote
2answers
58 views

An apple script for google dictionary pronunciation

The following is the link to Goole dictionary pronunciation files: http://ssl.gstatic.com/dictionary/static/sounds/20160317/pronunciation--_us_1.mp3 If you substitute "pronunciation" with your own ...
1
vote
0answers
109 views

Using Applescript to execute Javascript in Chrome and set a value to a variable

I'm building a service through Automator. So I'm trying to execute this bit of Javascript in Chrome and set the clipboard to the value of one of the variables. Essentially it is grabbing the contents ...
0
votes
2answers
53 views

Creating an Automator app

I would like to have a clickable app that will open a terminal window, run the script: defaults write com.apple.finder AppleShowAllFiles YES and then close the terminal app. (and another to turn off ...
2
votes
1answer
156 views

How can I trigger an Applecript or Automator app when a specific bluetooth device comes into range?

I have an Applescript that connects a bluetooth speaker to my Mac and switches “Play sound effects through:” to “Internal Speakers”. I want this script to run every time I turn on my bluetooth ...
1
vote
0answers
67 views

Automator scripting for extracting metadata from pictures in a Photos folder

Is there a way to use Automator to extract metadata (e.g. through ExifTool) from all pictures stored in a folder in Photos? I already tried to use ExifTool in the Photos Library.photoslibrary folder, ...
0
votes
0answers
15 views

Launching app from terminal causes high cpu usage

If i open the same app in terminal, but with different approaches: open /Applications/Name.app - causes no issues with CPU usage; /Applications/Name.app/Contents/MacOS/Name - causes high CPU usage (...
1
vote
2answers
129 views

AppleScript / Automator to sort files based on filename

I want to select a folder of QuickTime movies and copy each one into separate sub folders depending on the filename (by copying not moving). I have a folder that I want to contain sub folders called ...
1
vote
1answer
40 views

How to develop an an automator for looking up words in Google dictionary

If you type the following address in your browser's address bar, google will give you a dictionary for looking up words: https://www.google.com/search?sa=X&biw=1440&bih=737&q=Dictionary#...
0
votes
2answers
48 views

How do I transcribe an AppleScript?

I found an AppleScript example on a website that I want to use, and the example is rendered as text in the browser (vs., say, being a suitably formatted file to download). To use this AppleScript, I'...
0
votes
1answer
42 views

Dynamically loading an Automator action based on a filename

I would like to create an Automator action that will load an external Automator action based on a portion of a filename, on folder drag. For example: Filename[Type1].xxx Filename[Type2].xxx ...
3
votes
1answer
79 views

AppleScript to find files by exact name match from an Automator variable

I have a workflow that gets the track name of a single track in my mp3 player and stores it in a variable. I then use this in the Spotlight action to find that track in my iTunes Library, but the ...
1
vote
0answers
13 views

handout versions of multiple PowerPoint files as PDF files

Using PowerPoint 16.15 on Mac OS X High Sierra 10.13.15... I have a folder of PPT files. I would like to save them as PDF files, the layout being Handouts (6 per page) and the output being black and ...
1
vote
0answers
41 views

Save PDF file as a single image

I would like to create an automator that converts each page to an image, combines all the images vertically and finally saves the result as an image. I don't know how to combine the images. Could ...
0
votes
0answers
20 views

Create iCloud calendar using AppleScript

So I'm trying to create an iCloud calendar using AppleScript but I can't figure out how to select the account correctly. Here's my script: tell application "Calendar" create calendar with name "...
0
votes
1answer
29 views

Automator: Combine PDF pages double or triple in size

I have the following workflow: https://drive.google.com/file/d/1EhuddCrCrmwRfJPe9M0QoamWwNm9U_Nm/view?usp=sharing Here's the desired outcome: I select a file, it splits it and I rebuild it as smaller ...
2
votes
1answer
64 views

Use copied file path in terminal (from applescript and automator)

I'm trying to create a simple workflow that will be used to help non-technical people use tesseract OCR. I have no problem using it myself, but others probably prefer GUIs, so I'm working on the ...
2
votes
1answer
68 views

Automator to get PDF Annotations and export to Excel

I'm trying to make a macOS service using Automator to extract PDF annotations and get the information into an Excel file. I can successfully get the annotations from a PDF, and export them to a text ...
0
votes
1answer
76 views

Adding a signature to Automator email

I have a little automator script that creates an email. This works. I would however like to add a specific signature to the email. The signature is called "Default Sig". I tried this, but it ...
0
votes
0answers
34 views

Automator: How to create a symbolic link of a folder and adding it to the favorites?

How would you look into a folder and create a symbolic link or shortcut of a folder and add it to favorites ? (bash/shell scripting). Thanks!
0
votes
1answer
58 views

Troubleshooting screenshot script

BACKGROUND An Automator script to save a screen-capture to a file was developed (by someone more clever than myself). For some reason it does not reliably (rarely) saves the screenshot to the file. ...
2
votes
1answer
37 views

Create ZIP files from containing related files from multiple folders

Is there a way to automate creation of ZIPs containing files with common name elements? What I have are multiple variations of the same image: files/2250/8199print.jpg files/1200x1200/8199square....