Questions tagged [automator]

An application, first appearing in Apple's OS X, providing a point and click interface for creating macros to automate tasks

Filter by
Sorted by
Tagged with
-1 votes
0 answers
22 views

How to read screen time data using apple script?

I am trying to automate an workflow using apple automator app. I want to do something when my screen time reached 8 hr. I am getting current time by this line of applescript code set currentTime to do ...
Abu Hayat's user avatar
-1 votes
0 answers
14 views

Creating a shortcut to access menu item in System Settings Mac

I'm learning performance testing and I frequently toggle proxy settings on/off. To do this, I have to open System Settings -> Wifi -> Details -> Proxy Settings -> toggle on/off. Can ...
Red's user avatar
  • 1
0 votes
1 answer
58 views

Capture Drag and Drop Event with AppleScript

since Apple Mail doesn´t use Plugins in Sonoma anymore and "never" was able to DND eml-files to webapps, I want to develope an AppleScript that captures a Drag Event in Apple Mail. This scpt ...
meDom's user avatar
  • 213
0 votes
0 answers
27 views

Running multiple terminal commands in automator

On my mac, I want to run an automator process to open terminal and execute several commands "cd /Users/xxxx/Downloads/xxx-1.0.0" then chmod +x install.sh && chmod +x Launch\ xxx....
sukpmp's user avatar
  • 1
0 votes
0 answers
22 views

Script/Automator to import large amount on images to apple photos in smaller patches

so I got the task to import about 4 TB of images and videos to the icloud. When i just try to import all of them at once Photos app crashes after a few thousand images and i have to restart. Rn the ...
Niklas's user avatar
  • 1
0 votes
1 answer
42 views

MediaInfo Output command not working with Automator (command not found: mediainfo)

I’ve made myself a nice mediainfo --Output command. The command executed in the terminal works well and I get a list of all my the parameters I wanted to have … But I would like to implement this ...
Green Eagle's user avatar
-1 votes
1 answer
84 views

Automator Workflow doesn't show on Services menu in all apps

I created an automator workflow that opens a specific page in google chrome. When I assigned a keyboard shortcut to it, it only works when Chrome is the active application. How do I get this keyboard ...
Owen's user avatar
  • 79
0 votes
0 answers
27 views

Automator Action Plugin in Xcode

I want to create an 'Action' in automator app. I am following this apple documentation for it. The documentation mentions using an 'automator action' system-plugin project to create the action. But I ...
Vipul Gupta's user avatar
5 votes
0 answers
63 views

Add another application to the Quick Action Library in Automator mac

I m using Mac Automator app to add new actions to the right click quick menu for files and folder. As can we seen in the image we have a number of actions available for mail app and other apps. I ...
Vipul Gupta's user avatar
0 votes
0 answers
32 views

Is there an option to make automator ask for specific password to proceed

I have an automator workflow, that I want to make unworkable without specific password: is there an option to do it? I've tried to use "Ask for text" action, but there is no option to ...
John Smith's user avatar
-1 votes
1 answer
64 views

How to correctly parse string to JSON using javascript in Apple Automator?

I am trying to make a simple home automation workflow using Automator on OSX. It starts by getting a JSON from an HTTP request using shell script. The JSON is then modified using JavaScript and posted ...
Guilherme Ruiz's user avatar
0 votes
2 answers
103 views

Split any file in multiple files after a specific text string [closed]

I have a single .dat file that consists of a lot of webp images. I would like to split that file everytime before the string WEBM and safe that portion as a .webm file. I would love to do this with ...
Maximilian Becker's user avatar
0 votes
0 answers
52 views

How do I use Automator to create an app or write a script which restores the custom icon of Google Chrome?

I use a custom icon for Google Chrome, as I do with many of the other apps on my MacBook. My issue is specific to Chrome, where randomly but certainly the custom icon disappears and is replaced with a ...
isohexane's user avatar
0 votes
1 answer
66 views

How to make specific command line programs usable by Ruby code running in Automator

There are many ways in ruby to make a system call. I'm currently using open3 in a method like this: def run_system_command { |system_command| stdout_str = "" stderr_str = ""...
kraftydevil's user avatar
  • 5,164
0 votes
2 answers
93 views

How can I Find / replace a nondescript number with a formatted date in a file, in Applescript?

I've looked everywhere and I can't seem to find the exact answer I need. I am creating a applescript in automator to FIND a nondescript number / date then I need it to replace that number with a ...
Star S.'s user avatar
-2 votes
2 answers
388 views

Trying to write Automator app to open Automatic 1111

I recently started playing with Stable Diffusion, and specifically Automatic 1111. Since it's not exactly a standard macOS app because it needs to be open with a CLI command and then loaded in a ...
sebalv's user avatar
  • 1
0 votes
0 answers
23 views

Cliclick bash file doesn't work the same as when I convert bash file into app using playtpus or automator

I created this bash file, first it clicks the java icon in the dock and then it uses cliclick to move the mouse to where the textbox usually is, and then types those commands (for a minecraft server) #...
antonydossantos's user avatar
0 votes
1 answer
157 views

automator workflow to launch or quit application

I am trying to make an automator workflow that opens an app if it's not already open, or closes the app if it is open. I need a script that will run the QuickShade.app when I tap the button to run the ...
Alexander-Marckus Edwards's user avatar
0 votes
0 answers
65 views

Create Apple script / Automator's app for find/replace in PDF files

I have a small problem with PDF files that I export from Figma. I make a text link in Figma file I export PDF with this text I open PDF in Acrobat (or whatever viewer) and I see my link in black box (...
toomze's user avatar
  • 1
0 votes
1 answer
150 views

How to make Folder Action to watch a folder and if it sees 2+ files with same filename and diff ext, create new folder and move those files in folder

I've been searching for weeks and have been unsucessful on finding a way on my Mac running Ventura to help solve this wish. I have a lot of files that have the same file name and are saved with ...
Blaine Nadeau Johansen's user avatar
0 votes
0 answers
90 views

in MacOS Ventura, how to create a desktop shortcut for toggling the system setting for text-to-speech?

A little background: I'm helping a friend who had a stroke a few years ago and who has global aphasia; as a result it's very difficult for his brain to consistently derive meaning from written words ...
Ckenn 's user avatar
-1 votes
1 answer
53 views

Blur image 50% when drop into a folder

I have a bash script, connect to folder action in Automator. When I drop an image into ~/Desktop/Blur folder, it should generate the blur version into that directory. I've tried #!/bin/bash # Change ...
code-8's user avatar
  • 55.5k
0 votes
1 answer
49 views

Get path from both local and iCloud directories [duplicate]

I have an Automator Quick Action script that converts PNG to ICNS, keeping both the original file name and its original position. However, if used inside an iCloud folder or a folder with a space in ...
Skifess's user avatar
0 votes
0 answers
32 views

Applescript/Automator to print on A5 automatically from new files

I currently use a paperless program to book jobs in. It will automatically upload to our dropbox folder. I've been trying to get automator to automatically print new files in the folder then move to ...
Joekm's user avatar
  • 1
1 vote
1 answer
56 views

Reduce Selected Image File to 700 pixel via Apple Quick Action

I'm new Apple Automator scripting, I create a new Document type (Quick Action) named, reduceTo700 I have it Run Shell Script for f in "$@" do /usr/bin/sips -Z 700 "$f" --out &...
code-8's user avatar
  • 55.5k
0 votes
3 answers
92 views

Applescript works in Script Editor but not in Automator

I'm pretty new to Applescript but have played a programmer on tv for years. The below run handler works fine but when I try to use either the replaceText() or findAndReplaceInText() handlers to ...
PatPawlowski's user avatar
0 votes
0 answers
108 views

Using automator to create a blank folder structure on Mac using variables

I would like to use automator to create a blank folder structure to help store files related to TV shows. My ideal workflow would be this.... User clicks on the automator 'application' on the desktop ...
3EK's user avatar
  • 13
2 votes
2 answers
1k views

Why imagemagick mogrify command not found and how to solve this?

I'm trying to write automation service that gets all images exclude .jpg from the current directory (or selected files), convert them to .jpg by imagemagick mogrify and delete old images. script: ...
Lirrr's user avatar
  • 407
0 votes
1 answer
162 views

How to use my FFMPEG code in Automator (Mac)

I have an ffmpeg code that converts .mov files to .mp4 files. I would like to set up a 'watch folder' system on my mac, so that when I drop files into a specific folder, it will automatically convert ...
3EK's user avatar
  • 13
0 votes
0 answers
26 views

Apple Script: Check timestamp of last received email. If older than 60 minutes, perform an action. Is it possible?

Is something like this possible on Mac with Apple Script, Automator, or JS? Check timestamp of last received email (in the Mail app). If it was received more than 60 minutes ago, then perform an ...
Alan's user avatar
  • 93
0 votes
0 answers
74 views

How to input filepath into Console App on Mac when using Automator Quick Service

I've been using Windows in my audio/video production company. I've created a few Console Apps in C# that make a POST request to our Transcoding server. Through the Registry Editor in Windows I was ...
Erik's user avatar
  • 11
0 votes
1 answer
65 views

Applescript Occasionally Freezes Automator

I'm trying to use this applescript to modify a file path written to a text file, copy the modified path to the clipboard, set it as variable thePath, use it to pull a Google Drive link from a list, ...
ardpub's user avatar
  • 1
0 votes
0 answers
84 views

Applescript to extract dates from email to create ical Calendar event

I have only limited understanding of Applescript but wanted to automate every time I recieve an email regarding an event to automatically create an event in calendar. I have set up a rule in Apple ...
alsleben's user avatar
0 votes
0 answers
36 views

Command shell script in Automator MacOS no longer works

I need simply open file with Visual Studio Code that from terminal I can call with command code. If I use code command from Automator script shell I get error: command not found: code. I temporary ...
Lorenzo's user avatar
  • 41
0 votes
0 answers
68 views

Use Automator to send files via Messages App

I've seen some older posts about this issue but no real fixes. I"m using macOS 13.1 and I would like to use Automator to send my clients iMessage or SMS texts that include images. I am able to ...
JSACCC75's user avatar
0 votes
0 answers
92 views

AppleScript does not run from Automator

I try to implement a folder action with Automator. So i use the module "folder action" and there defining the folder. The only action module in there is "Execute AppleScript" with ...
pawi's user avatar
  • 2,483
0 votes
1 answer
33 views

Prevent macos automator Terminal ssh script from opening two windows

I use a small macOS Automator script to ssh into a remote host so I can add it to the Dock: tell application "Terminal" activate do script ("ssh [email protected];") end ...
Robot's user avatar
  • 1,045
0 votes
2 answers
279 views

MacOS Terminal: Is it possible to create a "drag-and-drop" action via script?

There are many posts that explain how to drag-and-drop things into an open Terminal window. But what I would like to do is to tell Terminal to drag-and-drop a previously selected directory onto ...
Robert Wildling's user avatar
0 votes
1 answer
138 views

Python and MacOSX Automator

I wrote a python program I want to run from a right-click Mac Automator script on my MacBook. However, I get a permission error I don't know how to work with. The script runs a bash command, which ...
jdc2106's user avatar
  • 161
4 votes
1 answer
227 views

How can I turn off the autocompletion when writing applescript in automator?

It's very annoying for me that when I write the script, 3 dots appear and I can't continue to write my code because it jumps here and there.... does anyone know a solution for this? I would like to ...
Gergő Höller's user avatar
0 votes
0 answers
61 views

ZSH shell script loops MANY times?

So I want to convert these blogposts to PDF using wkhtmltopdf On MacOS in automator I set up a WorkFlow: GET SPECIFIED TEXT > EXTRACT URLS FROM TEXT > RUN SHELL SCRIPT (shell: /bin/zsh, pass ...
FFish's user avatar
  • 11.1k
0 votes
0 answers
139 views

How can I excute automator's shell script in same setting with my local terminal?

I'd like to use automator's shell in same environment setting as local terminal does. I have iMac and Macbook pro. On both, I installed jq command in /opt/homebrew/bin On iMac I can use jq without ...
yukiyuki's user avatar
-1 votes
1 answer
517 views

Mac run python script with double click

I'm trying to make an automator application to run a python script so I can double click the icon and start the script. it doesn't give me an error but it does nothing. #!/bin/bash echo Running ...
Quico Va's user avatar
1 vote
0 answers
73 views

Script when "words" found Reload site - twitch - Interval - Notify and more

(I hope you understand what I want, because my english is not perfect. the more I thank you for your help.) I need some help. I am currently looking for a script for the website Twitch. There is ...
DnYI's user avatar
  • 11
0 votes
0 answers
57 views

Mac Automator. Automatic processing of 4000 files

I would like to ask you if you know and can give a clue whether it is possible to perform such tasks with the help of the Automator app on Mac: Run application (blender) Import the 3D model and then ...
Eisenheim's user avatar
0 votes
0 answers
234 views

How to get selected file in Apple Quick Action Automator Script

I want to adjust an Apple Script Automator code that crops PDFs. The script shows a file selector but I want to rewrite it to a quick action, so it takes the selected file as input. The original code ...
Armin Hierstetter's user avatar
1 vote
0 answers
321 views

Cannot pass a sudo command in AppleScript via Automator

I have an issue with Logi Options+ that causes me to have to kill it via terminal and reopen it. I'm able to run the command via terminal, put in my sudo password then open the app and everything is ...
Phil Courtney's user avatar
-1 votes
1 answer
44 views

How can I automate a custom script (e.g. bash) each times when a file is downloaded?

I'm using Safari. However, some non-ascii filenames break when downloaded. I want to automatically execute a bash / apple script each time when a file is downloaded. The trigger I want is: When a ...
Indefatigablex's user avatar
-1 votes
1 answer
710 views

How to set the current audio device to airplay speaker in Apple Script?

How do I programmatically switch the current output device between built-in speakers on my MacBook Pro and a HomePod Mini (via Airplay) in AppleScript?
Marceli Wac's user avatar
-1 votes
1 answer
53 views

copy whatever is in Safari search bar

I am trying to click on the Safari search bar. I have already used the accessibility inspector to get the hierarchy. tell application "System Events" to tell application process "Safari&...
Sik Jeryl's user avatar

1
2 3 4 5
24