Questions tagged [automation]

Any thing that helps perform repetitive tasks via an application or script

50 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
245 views

How to change icon of an app through Terminal

I want to customize my app icons, but there's a lot of them, and I don't want to be tedious and go through the whole Get Info process over and over again. Is there any way to write a program, ...
3
votes
0answers
25 views

Is there a way to automate logging in to multiple user accounts?

I have a mac mini that I'm using as a home server. I have two accounts on the computer which are both set to download full resolution photos and to download all iCloud (Desktop and Documents) ...
3
votes
1answer
2k views

How to find and remove duplicate calendar entries (Mac OS, Yosemite)

I'm using the Calendar application on Mac OS X 10.10.1 "Yosemite". The calendar is laden with many years of history, and I've just imported some data from a phone as well. It turns out that some of ...
2
votes
0answers
38 views

How can I make this script faster?

Below is a script intended to press the up arrow key every time a pixel of #535353 is encountered at 555,888. This is intended to create a bot for the Chrome dino game. However, for some reason the ...
2
votes
0answers
102 views

How can I simulate repeated keystroke on Mac?

I am looking for a method that allows me to press and hold down a key, for example "X", and instead of pressing just once, I want it to be read as multiple presses in a very short period of time. So ...
2
votes
0answers
110 views

How do I employ AppleScript in Python?

I made a program to generate contracts in bulk based on data from an .xlsx file. I originally made it for PCs, and now I'm trying to create a mac version. Everything seems to be running smoothly, but ...
2
votes
0answers
80 views

Download entire iTunes 12.7.4.76 purchase history as CSV file (iMac 21.5-inch 2017, MacOS High Sierra 10.13.4)

Looking to download my iTunes purchase history and found this AppleScript by @Boris42, Download entire iTunes purchase history as CSV file (MacOS High Sierra), however it's not working on my iMac. ...
2
votes
0answers
394 views

Easiest way to override a font in Safari 11?

In Chrome or Firefox we can use Stylish. There seems to be an unofficial extension for Safari but I’m put off by its use of Google Analytics. In my case I am only interested in changing the font on ...
2
votes
0answers
162 views

AutoRaise (bring window to front) - XQuartz

I'd like focus-follows-mouse (autoraise) with XQuartz windows (for X-Forwarding purposes). I'm using a small app posted on SO on this thread and it works OK for regular apps (which run under Quartz, ...
2
votes
0answers
136 views

My service fails with error “WorkflowServiceRunner received error running Workflow Service”. How to diagnose?

I'm following the instructions in the answer to How can I add a due date to OS X Reminders? , to set up a Service which creates a Reminder entry with a due date. I used Automator to create a workflow, ...
2
votes
0answers
319 views

Restore iOS default settings without user interaction

I have some iOS devices in a device farm that I'm trying to automate as much as possible. I'd like to be able to clean them after use (i.e. restore them to a set state) without having to physically ...
2
votes
0answers
409 views

Grant rights on a certificate to an app through the shell

I'm currently looking for a way to grant an application rights to a certificate in my /Library/Keychains/System.keychain through the shell. I can currently do this through the Keychain Access App by ...
2
votes
0answers
469 views

Episode description not showing in iTunes or on the Apple TV

I have added descriptions to my episodes using Subler and for some reason neither iTunes or the Apple TV shows it correctly. iTunes shows it in the episode list but not on the info page. The Apple ...
2
votes
0answers
836 views

How can I create (nested) Keynote.app slides from a XML file?

I have some nested lists (XML/OPML file) and I am looking for a (automated) process to create Keynote presentations from them. Use case: I write concepts for presentations in an Outliner, then would ...
2
votes
1answer
4k views

How to force iMovie to create iPhoto video thumbnails in the background?

I import my videos from my camera into iPhoto along with the stills. Then I use iMovie to create videos from them. Unfortunately every time I open iMovie to get some work done it wants to go through ...
1
vote
0answers
27 views

How to skipt the prompt for time-triggered automation Shortcuts in iOS13?

I have created a simple shortcut that collects certain data and displays it via a push notification. I just told the app to run my shortcut every day at 10AM. The feature certainly works, however ...
1
vote
0answers
20 views

Default Volume Slider in Quicktime Movie Recording

Is there any way to change the default volume for a Quicktime movie recording? If always defaults to 0 (muted) when starting a new movie recording. I understand that this is done in order to prevent ...
1
vote
1answer
32 views

Automatically zip attachments on Mail getting sent

How can I have a single file or several files that I dropped into an email on Mac, automatically become a zip file before getting sent?
1
vote
0answers
46 views

What causes an automator app from a network share so that normal users can't run it?

I have an application that I made in Automator which is literally just running a shell command. It's stored on a network share and when I copy it to another mac the root account and admin account can ...
1
vote
0answers
18 views

Send an email message via script upon startup, before user login

Is there any way to automatically send an email message (as a notification that my server box has rebooted, usually due to power failure) to myself upon system startup, before user login? I am not ...
1
vote
0answers
210 views

Auto logout inactive users

My iMac is set up using Parental Controls to limit how long my kids can use it. When their time is up, they are no longer able to use the iMac. However, their accounts are not logged out, and ...
1
vote
0answers
19 views

Automating wifi login

I have a wifi network that loads a webview on connecting that has fields for username and password and a login button. is there a way to automate the login process when that network is connected?
1
vote
0answers
51 views

Garageband 10.3 cannot see automation curves

I cannot see automation curves in Garageband 10.3. I select Automation in the track, select parameter from menu, but no curves appear in the track.
1
vote
0answers
18 views

How to copy one Photo to two folders in one copy operation?

I would like to achieve the following: When I copy one photo into Folder A, I want to the same photo to be copied to folder B. So what I want to do basically is to copy a photo to two folders with ...
1
vote
0answers
150 views

Monitor /private/var/log/system.log for connected users

How do I monitor system log for lines like: <host> sshd: <user> [priv][<process>]: USER_PROCESS: <process> ttys000 I'd like to automate an AppleScript / bash script to ...
1
vote
0answers
46 views

Rearranging spaces in macOS in a more “automatic” fashion

I'm looking for a way to swap Mission Control space n to space m, by means of a keyboard shortcut or a terminal command as to make this process more automated/automate-able. With this, I am not trying ...
1
vote
0answers
192 views

Can an AppleScript create new variables on its own?

I have an AppleScript .app file that creates a list variable based on a website's HTML data. The number of items in this list varies based on the unique HTML data that is downloaded on every iteration,...
1
vote
0answers
143 views

Automatic switch to login window after automatic user login on MacOS Sierra

I do need a user to automatically login on startup. I've achieved it as per https://support.apple.com/en-us/HT201476 This user performs actions like VPN auto connect in Shimo, but then the machine ...
1
vote
0answers
81 views

PDF page manipulation, from 2 page per sheet to one page per sheet automatically

I have a PDF with following pattern: I need to transform automatically each page of this PDF into two distinct pages, as follows: and So, if I had a PDF with 12 pages (2 slides for each page) I ...
1
vote
0answers
263 views

Encode video file using service, change creation time of new video to match original, delete original

When storing photos or videos from different cameras in the same folder the only option to keep some time-sequence is to sort by date. I am using the service ‘encode selected video files’ to convert ...
1
vote
0answers
47 views

Automatic move all mails to folder

I have a School email (Microsoft Exchange) which is limited to 350MB of storage. Therefore every month or two I need to move all my emails to the Mac drive instead of the Exchange server. One thing I ...
1
vote
0answers
525 views

I need to batch move files from one location to another, and put them in pre-existing folders with the same first 7 characters

I am looking to automate moving large amounts of files. Basically I have one location on our network full of .zip files. They are all named like "12-3456.zip" etc. I need to move each of these .zip ...
1
vote
0answers
270 views

Automatic punch hole removal for scanned PDFs

Does anyone know of a tool that can automatically bulk remove punch holes from scanned PDFs? It should really do its job mostly autonomously since it will be used on a few hundred pages. It should be ...
1
vote
0answers
984 views

Add local file URL handling to Applescript Application

I am using a simple applescript application to open different URL schemes in different Fluid Apps. By setting this app as the default browser, I can effectively parse out the URL scheme and open the ...
1
vote
0answers
120 views

How could I show floating text?

What would be a simple way to show some text "floating in space" on osx. The text should have a transparent background and I want to pick a color, a font, and some message (with newlines maybe) with ...
1
vote
0answers
59 views

Automatically reduce MacBook brightness on connecting to external display?

I would like my macbook to reduce its screen brightness to zero when I connect it to an external display. I know there's no such setting, but how would I go about writing a script that would do that? ...
1
vote
0answers
127 views

How to batch edit jpeg images

Is there some elegant way to edit the brightness / contrast of a batch of images? I need to be able to see a real time preview of the effect of the brightness / contrast change on at least one of the ...
1
vote
0answers
621 views

Is there a console interface for the Client Monitor on OSX?

I'm writing a bash-script at work for controlling our Mac-computers (OS X Mountain Lion) remotely. Since we use FileWave in our Company we just have to remove an Application and restart the computer. ...
0
votes
0answers
17 views

Connect different wifi/4G on different iPhone

I have 2 iPhone signed in using the same Apple ID. What I want to achieve is this. At my office, I want one of the phone to connect to wifi and the other to connect to 4G. I know I can turn off wifi ...
0
votes
0answers
22 views

Use automator to download csv-reports form a password protected website

Square Dashboard is a website for Square POS, on that website you can download sales report of the day. You need to sign in, go the a specific category, select one of the locations for the sales ...
0
votes
0answers
20 views

Complete automation with AirPlay 2 updates for TVs?

Now that AirPlay 2 update is coming for TVs, how much does it automate the control of TVs? I was wondering if turning on and off the tv can be controlled by HomePod and Siri, changing source, etc.
0
votes
0answers
17 views

Automatically change power settings

This question got me thinking: What are all of the settings you could manipulate with the same command-line application, and what are their codes? Although I don't frequently run low on battery, it ...
0
votes
0answers
61 views

How to keystroke inside parallels virtual machine?

I have windows 10 installed on my mac using parallels desktop. I want to send a key combination to windows machine for navigating between browser tabs (opened inside virtual window 10) from mac using ...
0
votes
0answers
20 views

How can I set a file password for a Numbers file with AppleScript?

Is it possible to activate the password protection (that is available in the file menu, like described here) of a Numbers file via AppleScript? And if yes, how? As an alternative: could this be done ...
0
votes
0answers
45 views

Keynote: can I tie a textbox to contents of text file?

I have a keynote presentation where I wish to display the contents of a text file in a series of text boxes one per page of the keynote presentation. The stupid way to do it is to use split to divvy ...
0
votes
0answers
82 views

Keynote Automation using Applescript/Java

I'm looking to create an AppleScript to automate my Keynote workflow. Basically, I want to replace a marker in the Presenter Notes with text from a table (Numbers, Excel, or other). I found this ...
0
votes
0answers
96 views

Detecting a Floating Menu in Touch Bar with AppleScript

I'm trying to write a simple script using AppleScript that can identify and close a floating menu on the touch bar. An example, for clarity: Suppose that I've opened the Spotify floating menu on the ...
0
votes
0answers
52 views

How to use workflow to email Health export files?

Is it possible to set up a scheduled email that sends Apple Health data as an attachment? I want to send data to my personal trainer and I forget to send it sometimes. Can I do it via Workflow? Are ...
0
votes
0answers
132 views

Automate Safari form filling

I have a Numbers spreadsheet with lots of data (currently at 275 rows, 14 columns each). I need to submit this data to a web form, one row per form submission, each column going into a text box on ...
0
votes
0answers
81 views

Any chflag for files in Notification Center?

I would like to have a list of TODOs in a particular folder (tex files) in the notification centre (the one in the right upper corner which opens from the corner). Notification Center is the one at ...