Questions tagged [automator]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

In automator, apple claims you can create a dialog with a progress bar. Is this feasible or outdated?

At this link: https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/DisplayProgress.html#//apple_ref/doc/uid/TP40016239-CH37-SW1 We see ...
0
votes
1answer
15 views

In Applescript, how can I correctly obtain values for a process window that is the not the front window?

I currently have an Applescript that takes values from Google Chrome, but it only works if Chrome is the front window. In the case Chrome is behind another window, it no longer works: tell application ...
1
vote
0answers
23 views

I have an automator script that runs a curl request, how can I retrieve and display the progress in the menu bar?

On Automator, I created a service item that uploads a file by executing a BASH script that uses a cURL request. The Applescript code looks like: on run {input, parameters} set pathtofile to (the ...
0
votes
1answer
28 views

How to make Automator service that enters highlighted text into Chrome address bar?

I'm trying to make an Automator Quick Action that will show up in the right click menu under Services that will take the highlighted text and put it in a new tab in Chrome. Looking at various other ...
0
votes
0answers
14 views

I want to hold a key (1), and for it to repeat every 0.5 seconds until I release it using 'Automator' or 'AppleScript'?

When I was on Windows, I used AutoHotKey to allow me to hold down the "1" key, and for it to simulate pressing it every 0.5 seconds until I let go. I managed to do something in Automator (or ...
0
votes
0answers
28 views

Mac OS X screenshot with tagging of front most application

I would like to automate the filing of screenshots according to which application window was front most when taking a screenshot. I would like to do a hazel rule but I do not have the information of ...
1
vote
1answer
45 views

How to use Applescript to open a printer app and select items within?

I have absolutely no knowledge or experience in using Applescript or Automator. I'm hoping by using either to create an app (or script) that will print a test page off my printer automatically. I know ...
0
votes
0answers
34 views

com.automator.runner.xpc is not allowed to send keystrokes

I have two MacBooks. Both run the same MacOS version. I installed the same Automator script in both. But on the older MacBook I get: The action “Run AppleScript” encountered an error: “System Events ...
0
votes
0answers
11 views

Batch command to lock multiple files using Box Drive

My company uses Box.com and Box Drive to host collaborative files. Box gives the ability to lock files so multiple people can't work on them at the same time. With Box Drive I can right click ...
0
votes
1answer
16 views

How to remove additional vertical line from dock created by Automator app

Can you help me by telling how to remove vertical line from dock created by Automator App. As you told that we can create it by following this process but i want to know how to remove it. Using ...
1
vote
1answer
38 views

Automator Help: take Fixed-Position Screenshot, click “Next Page” and Repeat (that's it!)

I don't know code which is really embarrassing for simple tasks like this one. All I'm trying to do is to make a Quick Action in Automator for this: take a screenshot based on two fixed points click ...
0
votes
0answers
18 views

Automating sorting process for files in a folder based on same prefixes in their filenames

Okay, I have a directory that is the output directory for generated screenshots for a media player I use on a macbook (OS X High Sierra). I take a multitude of screenshots to review video files and I ...
0
votes
1answer
23 views

How do I loop the last action in the Automator app?

How do I loop the last action in the Automator app, instead of looping the entire workflow?
0
votes
2answers
41 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
34 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
24 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
6 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
1answer
112 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
16 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
10 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
1answer
24 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
86 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 ...
1
vote
1answer
50 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
9 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
43 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, ...
1
vote
2answers
55 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
42 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
21 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
25 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
15 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
71 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
13 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
19 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
83 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
45 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
25 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
34 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
33 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
134 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
23 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
51 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
54 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
21 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
36 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
14 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
30 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 ...

1
2 3 4 5
25