Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [automation]

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

3
votes
0answers
23 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) ...
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
55 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
86 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
73 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
349 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
136 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
128 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
281 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
378 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
464 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
816 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 ...
1
vote
0answers
35 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
14 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
125 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
16 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
46 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
44 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 ...
1
vote
0answers
49 views

Automate opening Finder window to a specific tag using BTT

I am trying to use Better Touch Tool to open a Finder window to a specific tag that I call "now", which is what I use for my highly active projects. I have a gesture set to Open Finder, but would ...
1
vote
0answers
14 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
142 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
45 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
169 views

How to pause on playback after current track on VOX?

I'm using VOX music player on the Mac (downloaded from the App Store), and needed a feature to stop playback after current track. It's not available as an option in the app, so I thought maybe an ...
1
vote
0answers
178 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
136 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
52 views

Run script when a USB keyboard has been plugged in

I'd like to a script to be run when I plug in my USB keyboard. Is this possible?
1
vote
0answers
79 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
142 views

Can you automate a sequence of actions within Safari on iOS?

I'm wondering about the limitations of automation on the iOS platform. There are a number of automation apps, such as Workflow or IFTTT, but how far can you go? To increase the overal usability on my ...
1
vote
0answers
254 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
227 views

How do I loop Automation Curves (for volume) in GarageBand 10?

In the old GarageBand there was an option to "anchor" the curve to the region so that the region could be copied and pasted and keep the same sound. How do I do this in GarageBand 10?
1
vote
0answers
129 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 ...
1
vote
0answers
28 views

Can I disable the menu bar for the laptop screen but not for external monitors?

On my laptop screen I think the menu bar doesn't provide enough info to warrant the space it takes up. When I dock my laptop with a massive external monitor, I'd rather it showed. Is there any way I ...
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
471 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
268 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
975 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
1k views

How preconfigure os x install image for automatic install?

I want to build a custom system image of OS X (say ML). I want to install it on the virtual machine (not really important). I want a never-boot image (i.e. not a preinstalled image) fully configured. ...
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
614 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
13 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
10 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
29 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
17 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
21 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
36 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
25 views

Skim - Changing highlight colors with keyboard

I have been trying to build a script that allows me to easily change the highlighter color in Skim by keyboard shortcuts. If the keyboard cannot be used in the script, I do have Keyboard Maestro, so ...
0
votes
0answers
83 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
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 ...