Questions tagged [automation]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

Using Shortcuts app to change iOS contact names

I'm fairly new to this whole Shortcuts app and I'm not too strong with lots of programming terminology. I've had a hand-me-down phone and all contacts are in this format: Alex's Work - Jane R Alex's ...
1
vote
0answers
12 views

Toggle “Announce the Time” when presenting?

This answer shows how to programmatically toggle "Announce the time", but how can I automatically trigger this when I dis/connect from/to (certain) external displays?
2
votes
1answer
22 views

How to stop Automator / other task running in background

I have a process on my MacBook that triggers when a new file is added to certain folders, like my desktop, it copies the file and places it in another directory that is backed up online. The problem ...
3
votes
2answers
77 views

Can I create something like a macro in Numbers?

I have this long formula that is used in a lot of columns: =SE(N17<60; DEF.NÚM.DEC(SOMA(60; −N17); 1); "✔︎ Aprovado") So, when I need to change something in this formula, I need to edit each one ...
3
votes
6answers
193 views

Is it possible to script what applications should open certain file extensions?

I have a new Macbook Pro and I'm reminded that my development environment isn't tailored to what I setup on my previous Macbook. I was curious if it's possible to create a script in either AppleScript ...
3
votes
1answer
32 views

PDfs in Automator

I work in photography post production, need to make PDFs from images but with the file names shown on the PDF and 4 up instead of a single image on each page. Can anyone suggest additional plugins or ...
1
vote
1answer
30 views

How I can make sure my code is keep running?

hey I am running an optimization model in AMPL. It is huge model and I know it is gonna take a lot to be solved. How I can make sure my model keep running even when the screen become lucked? I did ...
5
votes
4answers
194 views

How to start an application when a specific disk is mounted

I store all my music on an external drive. I have iTunes set to start when I login. However, iTunes always starts before my encrypted drive has mounted, and so iTunes complains it can't find its ...
1
vote
0answers
62 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 ...
3
votes
1answer
123 views

Is it possible to send a text file from terminal to the Notes App on MacOS?

I like how my notes in the Notes App gets synced via iCloud. I spend most of my time in the terminal during the day, so it's convenient for me to keep notes in a text file. At the moment I simply copy-...
1
vote
0answers
33 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 ...
3
votes
1answer
66 views

iOS Shortcuts App: How can I convert my Workflow to a service app?

Back in AppleScript or Apple Automator it is possible to convert workflows to a compiled read-only application. Is it possible to hide, compile or convert my iOS Shortcuts workflow to a self-running ...
10
votes
2answers
797 views

How to md5 a list of filepaths contained in a file?

I have a folder containing many folders containing many files. Thousands. I can do find . -type f > ./FILE-LISTING.TXT to create a file containing many thousands of file paths that looks like this:...
1
vote
1answer
41 views

Automation Item

in Mojave > System Preferences > Security & Privacy > Privacy > Automation an Installer requires access to System Events. How to find out to which app this belongs and eventually (if wants to ...
0
votes
0answers
18 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 ...
3
votes
2answers
52 views

macOS 10.14: switch Bluetooth on/off based on location

I use the same laptop in 2 locations. In one location I use bluetooth to operate the mouse and keyboard, whereas in the other I don't use bluetooth at all. Apart from the seemingly defunct ...
1
vote
3answers
131 views

Node Program Runs in Terminal, but Not As a “do shell script” AppleScript

I have a call (“mercury-parser” via Yarn, using the full path to the call) that converts Web pages to lines of structured text (the page used in the call describes the service): /Users/me/.yarn/bin/...
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?
0
votes
1answer
59 views

Applescript to get MS Word current word count?

Is there an AppleScript command which will grab the word count of the currently open Microsoft Word® document?
0
votes
1answer
20 views

Adding column to multiple identically formatted tables in Numbers

I have a document in Number that contains many tables with the same format/columns but different content. I'd like to modify the format for all, adding a new, empty column in the same place with the ...
3
votes
1answer
47 views

Firefox on MacOS: Default filename when downloading

When downloading from Firefox on MacOS, I would like the filename to be prefixed by the ISO-date (YYYY-MM-DD-original-filename.extension). This can be achieved with a folder action in the downloads ...
0
votes
1answer
59 views

Batch edit ID3 music tags using custom algorithm

I like to keep my iTunes library organised and all files well-tagged, so I often spend enjoyable yet unreasonably long amounts of time editing all the ID3 tags manually. Call it OCD or perfectionism, ...
3
votes
2answers
47 views

How can I make two applications activate from an AppleScript app?

So I am playing around with AppleScript and am quite new to it. How do I make the script quit both apps if: app1 and app2 are running or if app1 or app2 is running and run them if they are not ...
0
votes
1answer
224 views

AppleScript to create a new Outlook email using selected text as subject?

I have a workflow that involves creating emails by copying and pasting text into the subject. I think an AppleScript could do much of the heavy lifting. I'd also use Automator to set up the input as ...
0
votes
0answers
24 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 ...
2
votes
3answers
50 views

Move file with specific extension from a directory hierarchy to a destination

I have a directory hierarchy containing many images with .jpg file-extension, and there are multiple folders containing these images. There are many .json files as well in these folders. Is there a ...
7
votes
2answers
684 views

Removing all characters except digits from clipboard

I'm trying to refine a script I use within an Automator program and I would appreciate your help on this. The program is designed to mark a telephone number into clipboard make a tel:link and send it ...
2
votes
1answer
37 views

Turning on/off Airplane mode on iPhone X from a desktop computer

Is there a tool similar to the Android debug bridge (adb) for iOS? Specifically, if connected to a computer via USB, is it possible to turn on and off Airplane mode with some command, interface or ...
1
vote
1answer
70 views

automating “Reset Advertising Identifier” is it possible?

I want to use osascript or some other way to automate "Reset Advertising Identifier" is it possible?
-1
votes
1answer
22 views

Start a window on top of a full screened space [duplicate]

How can I open a window on top of a full screened space? I full screen a video in Safari. I want to run some app that opens a little window on top of that full-screened video. I don't mind what ...
0
votes
2answers
71 views

Is there any program to delete cache files automatically?

Every time I need to clear cache, I have to go inside each folder and delete the contents. Doing it via terminal deletes the whole folder which is not recommended. What shall I do?
2
votes
1answer
110 views

make my laptop tell me when battery is low even while “show battery status in menu bar” is not checked

I unchecked "Show battery status in menu bar" in System Preferences > Energy Saver, because I use coconutBattery instead (and obviously I don't want to just re-check that). But this means that now my ...
-1
votes
1answer
50 views

10.14.x App & Applet, Accessibility & Automation Madness

Just FYI . . .  The following was submitted to Apple at https://www.apple.com/feedback/macos.html (788 character limit): Greetings, folks! With every boot into macOS 10.14.x (the best since ...
0
votes
0answers
27 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
21 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 ...
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 ...
1
vote
1answer
82 views

How to prevent apps from from not letting you restart Mac OS

When I press restart button I mean it. Though Netbeans, iTerm, XAMPP think that they know better than me, and I get an error that the process has been stopped because of one of these apps. Is there ...
0
votes
0answers
79 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 ...
1
vote
1answer
31 views

Create Context Menu Items in Photos app

I have seen several blog posts and articles about how to create context menu items in Finder and have been motivated to try creating a Context Menu (right-click) Items inside the Photos app. Using ...
0
votes
0answers
23 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 ...
3
votes
2answers
549 views

Getting a text file with the url of open tabs

I got used to this routine my idle times: Open hacker news, SE, other sources on my iphone. Open interesting links as new tabs. Read for a while. Leave tab to remind myself to save it somewhere. The ...
1
vote
0answers
59 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 ...
0
votes
0answers
52 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
107 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 ...
5
votes
1answer
113 views

How can I create a Finder alias in a bash script that reads arguments from the command-line?

I'd like to write a bash script that takes 2 inputs: path to actual file path of a Finder alias file (not a unix link) to be created that refers to 1. The bash script should pass these inputs to an ...
1
vote
1answer
46 views

Create a custom Quick Action to create a zip file with password

How to create a custom Quick Action to create a zip file with password. I understand, to create a zip file with password the following command-line can be used: zip -er archive.zip /path/to/...
1
vote
1answer
36 views

App to track hours in each work site [closed]

I'm a contractor and I visit my customer places, I would like to install an app that does automatically detect how much time I spend for a customer at which location with an ability to mark the ...
4
votes
1answer
58 views

Send clicks to multiple windows / spaces

Is there a way to duplicate or send clicks to multiple (specific) windows or spaces? For instance, an AutoHotkey script would look like the following to make three different clicks in three different ...
3
votes
3answers
360 views

Is there any way to convert a bunch of .ogg files in a folder to .mp3 using ffmpeg?

Is there any way to convert a whole heap of .ogg files in about 30 folders in a folder containing those folders to .mp3 files and put them in another folder using the command ffmpeg? The previous ...
3
votes
1answer
88 views

Automator :: Remove 6 digit date from filename; append current date

I apologize in advance if this has been answered but have performed a lengthy search in hope of a solution. I have a working Automator app that appends the current six-digit date (YYMMDD) to the end ...