Questions tagged [automation]

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

Filter by
Sorted by
Tagged with
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 ...
3
votes
1answer
51 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
775 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
32 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
16 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
45 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
1answer
50 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
31 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
46 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
17 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 ...
0
votes
1answer
51 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
43 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
94 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
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 ...
2
votes
3answers
44 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
678 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
30 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
44 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
60 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
68 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
36 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
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
15 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
61 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
60 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
29 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
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 ...
3
votes
2answers
408 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
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 ...
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
81 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
95 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
39 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
33 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
53 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
261 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
73 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 ...
1
vote
2answers
109 views

Can AppleScript search deeply for the largest file contained below a folder?

I need to make an AppleScript that would find the biggest file in selected directory (even if its inside another folder) and show full path on screen. This is what I have so far, but it doesn't work:...
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 ...
2
votes
1answer
325 views

How to programatically set Terminal theme/profile

Context for this question: I'm writing a bash script to automatically setup any Mac with my tools/preferences, ideally with one command if possible. The question: I have a .terminal theme file that ...
2
votes
2answers
305 views

How to deploy Automator workflow to clients?

For a specific use case, I've developed a Folder Action workflow with Automator. When a file gets created in a folder 'abc', the workflow kicks of and executes a shell script. This workflow needs to ...
1
vote
0answers
209 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 ...
0
votes
1answer
69 views

How can I find duplicate adjacent cells in Numbers?

I have a Numbers sheet that is thousands of rows long. As an example in the image, the sheet has two columns with URLs. What I need to do is find the rows that have the same URL in the two adjacent ...
2
votes
1answer
131 views

Getting process currently open in full screen mode

I have a simple AppleScript that works when initiated from an application that is not in full screen mode but does not work when in it's in full screen mode: #!/usr/bin/osascript tell application "...
3
votes
3answers
589 views

Can AppleScript or any other script measure a Macbook's wifi signal strength?

At my home I have two separate routers due to poor signals when being in one location opposed to another. When I work on my Macbook from different locations I find it annoying when I have to switch ...
0
votes
2answers
93 views

Paste files to multiple destinations

I get into this situation quite often but haven't found a solution. I have a group of CSS files in the clipboard that I need to paste + replace into several different destination folders. My folder ...
3
votes
2answers
649 views

Have Mojave's Dark Mode switch PyCharm theme to Darcula

Is there a way to trigger 3rd party apps to change to dark themes when Dark Mode is turned on in macOS Mojave? Specifically, can I have PyCharm switch theme automatically to Darcula when I turn on ...
2
votes
1answer
169 views

automator fifa 19 web app

I'm trying to click the reset button in Fifa 19 web app with automator. codes I've tried. tell application "Safari" activate tell current tab of window 1 do JavaScript "document....