Questions tagged [automator]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
30 views

Using automator and AppleScript to move a file to a different folder and subfolder based on name and content of a file

I'm a total newbie on Automator and Scripting... I have read a lot of answers to problems a bit similar to mine, but I don't succeed to adapt with Automator + AppleScript. Here is what I want to do: ...
0
votes
0answers
20 views

Using appleScript for remote auto login to macOS

I'd like to be able to log in my computer through Apple Remote Desktop (SSH) by running a script while the remote computer is running the loginWindow. An ideal script would automate the process of ...
0
votes
0answers
18 views

Applescript on Catalina

Total scripting novice here, appreciate any insight. Have a few scripts that automate button presses in a specific application, triggered by Function keys. Worked well before Catalina, now when ...
0
votes
0answers
5 views

2018 MBP triggers calendar alarm when waking from sleep

I've set up a new calendar alarm from Automator. It pops up a dialog to remind me to do a specific task first thing after my machine turns itself on every morning. It runs specifically at 4:45am and ...
0
votes
0answers
13 views

How to automate folder action on macOS with custom script everytime a file is saved [closed]

Whenever I download any file - document, images, or any formats I want to remove all the metadata associated in that file. Currently, I do it by manually running in Terminal "xattr -rc XXXXXX file ...
0
votes
0answers
27 views

How to make an AppleScript to automatically translate emails from a foreign language and redirect them to yourself?

I receive many emails in Japanese everyday (I am living in Japan). Some are spam but some are important. I would like to have an AppleScript to do the following Translate the email (with google ...
0
votes
0answers
10 views

Send keys to app in background / send keys to other app without losing focus of current app

How can I make some automated service type something in a non-focussed application without making that other application the frontmost? I found a StackOverflow answer which suggests using AppleScript:...
1
vote
0answers
9 views

Automator workflow - connect to server when locked onto a specific network (Wi-Fi/Ethernet)

I'm trying to get Automator to complete the following workflow: 1) IF Wi-Fi network is "Network_Name1" or "Network_IP1" (or any other way to identify a specific network connection): TRUE: Jump to 3 ...
0
votes
0answers
8 views

How to stop speech in automator action

I can make an Applescript within automator so it reads text at N speed: on run {input, parameters} repeat with thisText in input say thisText speaking rate 400 end repeat end run However, ...
1
vote
4answers
73 views

Use Automator to open app as itself?

I'm trying to figure out how to launch an app (in this case Discord) by default with added commands, and as such I figured I'd use Automator to create an app that runs a shell command. The command in ...
0
votes
1answer
45 views

How to find the application that controls system dialog window

I am trying to change the default browser between Chrome and Safari without needing user input except for initially running it. I found this utility that takes care of the difficult bit: https://...
0
votes
0answers
8 views

Applescript to batch convert Screenwriter documents to PDF

I'd be grateful for some help as I don't know what I'm doing. I have zero AppleScript knowledge and I'm really struggling. I am archiving old screenplays written in Movie Magic Screenwriter, (https://...
3
votes
2answers
41 views

Apple script - formatted text to strikethrough but how do I also change its colour? - In Notes

I have an Automator Quick Action routine that changes the font of selected text to Strikethrough. Is it possible to also change the colour of the selected text to Blue please? on run {input, ...
0
votes
2answers
49 views

Batch rename file by removing first 6 characters and adding it behind the filename

is there any way to rename a file automatically by Automator, removing first 6 characters and moving them to the back of the file name (and adding a space before that)? Example 20-10-03 Testing.zip ...
0
votes
0answers
16 views

Is there a way to automate the launch and close of an app based on another app?

I want app A to launch and close depending on when app B is launched and closed. Is this possible in macOS? It's sorta mentioned in this questions Can launching an app trigger the launch of another ...
2
votes
1answer
41 views

Automator - Renaming it without any .html extension

Can we able to rename the files without file extensions? I did tried the following setup, But I get the filename ended with "." may be because the same folder name as file exists. Here is my ...
0
votes
0answers
20 views

any way to get a notfication/banner when visiting websites in safari

Is there an easy/logical way I can make an automator script or Xcode project that, when I visit a URL from a list, I get a notification, with a link..? I Want to do it so I make sure I never miss out ...
0
votes
0answers
23 views

A turning gear appears when I run Automator app. Can i replace it?

I am running the shell script using automator. However, I get the following in the statusbar: The question is... Can i customize this icon? Replace with my own?
0
votes
0answers
12 views

Automator service to transform outlook reply body

I'm trying to create a macOS service (in python, preferably) that would allow me to change the rich-text body of an outlook message I'm editing. If I set the service script to receive rich text, it ...
1
vote
2answers
69 views

Print multiple email messages from Apple Mail to individual PDFs

My goal is to be able to highlight a number of messages in Apple Mail then run a process to print them each to a PDF. Right now I can select multiple emails command + P Then select PDF -> Save as PDF ...
0
votes
0answers
12 views

How to always run a workflow when scanning a document?

I want to tag every file that I scan with a 'Scan' tag. I successfully wrote the shell script that does the tagging part, but now I am struggling to start it when scanning my documents. Here is what ...
1
vote
0answers
16 views

Import nested folders into Photos via Automator

I have a folder that is constantly updated with new photos.These photos are sorted in (nested) folders per year and per day. I now want to make a workflow that automatically imports those photos in ...
0
votes
1answer
55 views

Automator “Quit Application” Action stops

I'm trying to set up an Automator script to do a bunch of routine things before I pull my laptop off it's thunderbolt dock - turn WiFi back on, eject disks, and quit certain applications. It's this ...
2
votes
1answer
39 views

How to create a list with checkboxes in Automator?

How difficult is it to create in Automator (either AppleScript or Javascript) something like this? I would like to have a groceries list. And only the selected items to be copied in clipboard line ...
1
vote
1answer
20 views

Automator Eject Action - OSStatus error -36

Hopefully quick question: I've made an automator quick action to eject all BUT the disks that are always hanging around my computer. It uses an AppleScript to get the list of disks, strip it of the ...
1
vote
0answers
30 views

Using Automator, Applescript & FFMPEG with If/Else Statements

I'm just not finding the resources I need. Perhaps someone can point me in the right direction and delete this post afterward. I'm working on making an Applet that is more complex than the one I have ...
0
votes
1answer
26 views

Automator to overwrite folder after uncompressing

I'm working on an automator folder action and am running into some issues! I have a source folder where a zip file is dropped regularly and overwritten. my automator actions take that zip file, copy ...
1
vote
1answer
64 views

Extract e-mail addresses from large text file [closed]

Is there any way I could search through a load of text documents and extract the email addresses from it into one new document? I have this so far in Automator: #!/bin/bash Report=/Users/me/Desktop/...
0
votes
0answers
28 views

Merge multiple folders and subfolders with differing names in macOS

I have multiple folders and subfolders that I need to merge. Merging them manually would take ages (300+ folders). I can't figure out how to use ditto correctly to solve my problem. I do not know if ...
1
vote
1answer
106 views

How to make macOS archive RAR and unRAR files in Finder with automator and shell script?

I have rar and unrar installed in /usr/local/bin/. I need: In Finder: to archive selected files and folders with .rar extension to the same folder. Is it possible to make it through right click and ...
1
vote
1answer
22 views

Bulk decrypt multiple PDF files

I have received a selection of PDF files (about 40) that are all encrypted with the same password. I'd rather not have them be encrypted because it's annoying to enter the password every time and I ...
1
vote
3answers
49 views

How to easily type a template without copy paste?

Several times a day I type the same URL (in text form) into website forms. I would like a simple script (or Automator action) that types the URL where I have a cursor placed.
1
vote
1answer
51 views

How to get lower resolution image in current clipboard after using macOS screen-capture shortcut?

I have set Command + Shift + 4 to a keyboard shortcut to take a screenshot and save to clipboard, usually, I will paste this image for next usage. But I want to lower the resolution of the image in ...
0
votes
0answers
49 views

file not found error in shell script called from Automator

I want a shortcut to a script that merge video and audio. If I go in terminal to the directory documents/convert and run the script with ./script.sh everything works. If I copy the script in ...
0
votes
0answers
19 views

Why doesn't my screen turn off with this automator service?

I have created an automator task to run a screen to turn my screens off, using the keyboard shortcuts section in the System Preferences I able to map this to a keyboard shortcut. My automator script ...
0
votes
0answers
33 views

Apple Automator, create folder from variable

I have a simple Automator task running as follows. Input asks for a website address, it then sets and gets this as a variable. Last step is to run a command to launch an application which crawls the ...
1
vote
0answers
13 views

Automating opening a PDF from Preview.app in preferred PDF editor

When having a PDF file open in Preview.app, I'd like to click a menu item or keyboard hotkey to open the same file in my preferred PDF editor (f.x. PDF Expert). I suppose it could be done by creating ...
0
votes
1answer
25 views

Automator service works everywhere except when using keyboard shortcut

My automator service is as follows: Workflow receives no input in Google Chrome.app Input is entire selection (checkbox not checked) Run Applescript on run {input, parameters} tell ...
0
votes
0answers
46 views

Automator or Apple Script to compress 3 folders?

I have 3 folders I want to compress to an archive and put that archive in a specific location. I'm running in to a few different issues depending on how I tackle the problem. All 3 files live in ~/...
0
votes
0answers
17 views

Automator Application: Retrieve --args passed by “open”

I am trying to create a simple application using the Automator that is supposed to open a given file in vim in a new iTerm window or tab (if a window already exists). So far the application consists ...
1
vote
4answers
128 views

Automator keeps using numbers in exponential form

I created this code that should launch whatsapp with a specific number in clipboard: on run {input, parameters} set text1 to the clipboard set text2 to 1 - text1 as real do shell ...
2
votes
0answers
68 views

Automator workflow to screen capture a series of video links

My job requires me to screen capture recordings in Adobe Connect, using Camtasia. I would love to set up a list of urls for many of these recordings and have Automator cruise through them while I'm ...
0
votes
0answers
18 views

How come Quick Action for Books does not trigger “Get Contents of Clipboard”?

I would like to not have Books insert "Excerpt from ..." for every text that I copy, so I was reading this thread and followed this specific post's advice. I have my Quick Action that looks like this (...
0
votes
0answers
132 views

Use automator to make pdf look like scanned

I like the idea of the site - http://lookslikescanned.com But sometimes it doesn't work as expected. I'd like to automator script on my Mac, so I can right click on a pdf in finder click convert to ...
1
vote
4answers
185 views

Applescript, how to mount remote server without error if unavailable?

I attempted this question earlier today but finally realized I had completely mangled what I was trying to ask and also posted the wrong script code. This is attempt #2. I have two Macs that reboot ...
0
votes
1answer
41 views

Ask for password input when mounting a volume via Automator

I have Automator mounting a volume with hdiutil, but it requires a password to mount. Natively macOS would prompt with a hidden-password input field; but I don't know how to trigger the same when ...
0
votes
0answers
13 views

Use osascript to send a “global shortcut”

I am using this wonderful application named NoiseBuddy which allows to turn on/off Airpod Pros noise cancelling with a global shortcut. In my case I assigned the shortcut to ctrl+1 and it works fine. ...
0
votes
1answer
40 views

AppleScript to Rename file list to Specific Names

I've spent hours researching this and I can't seem to find an answer, so your help would be greatly appreciated! I have an audio recorder that outputs 16 files that are always named the same. ...
3
votes
2answers
80 views

Combine multiple PDFs into multiple PDFs

I'm trying to take a set of PDFs (that I'll have already separated into one page files) that I want to combine into multiple PDFs. As a teacher, I want to be able to scan a stack of tests into one big ...
3
votes
0answers
26 views

How to grant disk access permission automator quick action

I have an Automator quick action which, among other things, calls the shell command xxd in order to perform a hexdump. I am outputting the hex to a file in my home directory. When I execute the quick ...

1
2 3 4 5
25