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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [automator]

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

1
vote
0answers
14 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
21 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 '...
0
votes
0answers
9 views

Want to write AppleScript that will Open URL from Certain Emails and Fill Out and Submit a Form [closed]

I receive regular work emails that contain a unique URL that requires me to: open the url fill in the same information each time and click a submit button. I want to automate this process by writing ...
2
votes
3answers
140 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
40 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
31 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 ...
-1
votes
0answers
43 views

Building an Applescript to get user input, and automatically fill out website to download a file

I'm very new to AppleScript, so please forgive me if this seems like amateur hour. Here is what I want to do with my script. I want to collect user input via a dialog box, so they can search a ...
0
votes
2answers
48 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
85 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
27 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
13 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
46 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
36 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
43 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
38 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 ...
2
votes
1answer
54 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
11 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
38 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
13 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
23 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
48 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
46 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
37 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
28 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
53 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
32 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....
0
votes
0answers
9 views

Turn off macbook pro display automatically when in open clampshell mode with external monitor [duplicate]

How do I automatically turn off the mac screen when an external monitor is connected? I use the mac as open clamshell for cooling purposes (I find it is much cooler if I leave the lid open)
2
votes
2answers
137 views

How to combine “Choose folder command” with “adding folder items” function with Applescript

I'm using a folder action to create a "hot" folder, which immediately duplicates the files placed in this folder to a specific backup folder. This is the script I'm using as folder action and it ...
3
votes
2answers
131 views

How can I create a AES-256 bit image using Automator?

By default Automator uses the 128 bit encryption for image creation. I do not want to open disk utility all the time to create encrypted images. Thus, I though about using hdiutil within Automator. ...
0
votes
0answers
22 views

How to run a menu service with automator?

I'm trying to make a bot with automator to fill out a text box and click two buttons. I've created a separate service with the text it needs to fill in that appears in the safari menu like it should. ...
0
votes
2answers
115 views

Removing the last 10 characters of a file name while preserving the extension

I have files that look like this [RF] Happy Hour 1 [jdhf2345].mp4 [RF] Happy Hour 1 [jdhf2345].mp4 [RF] Happy Hour 1 [jdhf2345].mp4 [RF] Happy Hour 1 [jdhf2345].mp4 I want to make the files look ...
0
votes
0answers
14 views

Resize canvas for images using Automator

I know you can resize images using Automator but I would like to adjust the canvas size of the image so that it resizes them but doesn't scale the image. Is this possible to do with Automator?
1
vote
1answer
35 views

automator shell script application doesn't work in 10.13

I created application by automator for running jmeter. Since 10.13, this application does not work any more. My shell script(I put jmeter directory in application Contents): RADIR=`ps x | grep ...
3
votes
0answers
43 views

How do I create Windows-like shortcuts (with arguments) from the command line?

I've been searching and searching for a process on OS X that creates something as simple and elegant as Windows shortcuts. At the user's direction on install, I need to create a shortcut-like item ...
4
votes
1answer
104 views

Use Automator to copy multiple folders with different amounts of folders while removing parent folder

copy whats within the red box(images folder too with content) into the blue box and delete the folders. the remaining result will then be SIZExSIZE - > sizexsize.file etc.. and images folder with ...
0
votes
1answer
27 views

Applescript for automating MS Word for Mac feature: add quote mark wrapper to unformatted text paste

The post below from 2011 gave a really good script for pasting unformatted text into Word for Mac. How can one create a shortcut for pasting unformatted text in Microsoft Word 2008 for Mac? I'm a ...
0
votes
0answers
18 views

Can Automator download many generated PDFs from a web page?

I've never used Automator. Is it capable of "clicking" every link on a web age, clicking the download icon on the PDF that appears in a new tab, then closing that tab? And also to go to the next ...
1
vote
1answer
57 views

Click and Type Applecript code not working

I am making a service in Automator that runs the following AppleScript code: on run {input, parameters} tell application "System Events" click at {393, 77} delay 0.1 ...
0
votes
0answers
44 views

Automator script not working

I've created a new automator Service. This service executes the following AppleScript: on run {input, parameters} do shell script "open ~/" return input end run If I execute this ...
1
vote
1answer
113 views

Create an automator service calling a bash script and passing arguments

I am trying to automate a bash script which calls pandoc. I would like to highlight a markdown file in finder, then select the 'md2tex' service, which will turn the markdown file into a .tex file. I ...
3
votes
2answers
57 views

Seeking script to add to my automator service to make it reveal newly created item in finder

After much research (I am not familiar with Shell, Bash coding... and only just discovered the magic of Automator and Terminal usefulness), I've created an Automator service that captures a shot of ...
1
vote
2answers
55 views

Automator service does not work from Finder

I have an Automator service that accepts multiple pdf files, converts them to pngs while converting a white background to transparent, and then uses a Quartz filter to invert the color of the png file....
3
votes
0answers
14 views

How can I create a shortcut to restore my MBP screen to a specific brightness?

I've recently calibrated my MBP's display and my LG 5K 27" display at home. When I'm on the go, at school for example, I would like to be able to raise or lower my screen brightness without screwing ...
0
votes
0answers
19 views

Automatically create aliases from SMB folder

I am trying to create a folder action that will automatically create an alias for every folder (not subelements) inside a selected one. I followed this process but I am not sure if I should have ...
4
votes
1answer
180 views

How do I run my automator service without opening automator?

I created an automator service that duplicates a specified folder to the desktop, but I'm unsure how to run this service whenever I need it without having to open automator. I was thinking it would ...
2
votes
1answer
53 views

Keynote: is there an automated way to batch replace images in presentations?

I've created a template with several placeholders for images. I'd like to do the following: Create a duplicate of the template Replace images in the template (from a csv or text file) Export the ...
2
votes
0answers
152 views

Applescript click by position

I'm trying to click on a button using YX coordinate, it's work with some app, but I have one app with two windows which give me an issue. here is my original code tell application "System Events" ...
2
votes
1answer
92 views

Automator fail with ffmpeg bash line

I want to batch convert .m4a music from iTunes to a flash drive as .mp3 This bash script... (source https://ubuntuforums.org/showthread.php?t=1614765) for f in *.m4a; do ffmpeg -i "$f" -acodec ...
3
votes
1answer
43 views

Adding random suffixes to filenames

I would like to change the filename of a lot of files by adding a random suffix to the existing filenames. I have tried to change this code (changes the filename instead of adding a suffix) but ...
0
votes
1answer
55 views

Automator “Add to Album” error

This Automator workflow worked in Sierra, but it fails in High Sierra with the error, "The chosen receiving album does not exist in the Photos library: ". The album does exist, and the dropdown list ...