Questions tagged [automation]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
18 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
49 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
774 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
30 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 ...
3
votes
2answers
641 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 ...
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 ...
1
vote
1answer
49 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/...
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 ...
0
votes
1answer
29 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?
4
votes
1answer
2k views

Can AppleScript be used to brute force a FileVault drive where the password is lost?

I make a terrible mistake. I totally lost my paper with the secret password for my encrypted external GUID hard drive. This external drive contains many pictures but also some works documents very ...
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
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
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, ...
0
votes
1answer
86 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 ...
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 ...
3
votes
2answers
42 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
0answers
21 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 ...
7
votes
2answers
4k views

How do I make a bash script so that I can drag its input on top of the icon?

I need to make a bash script to that I can drag a .rar file on top of it and then the script will receive the pathname of that file as argument 1 ($1). I have made the bash script, but how do I make ...
7
votes
4answers
4k views

Using Apple Script to Manage Sound Output Selection

I am brand new here and I have an additional clarification or need additional help for an issue from this thread - Applescript: "can't get tab group 1 of window" (El Capitan) In my ...
4
votes
2answers
1k views

Is it possible to change a Finder List View column width in AppleScript?

I want to create an AppleScript that opens five predefined folders in five different tabs in one new Finder window with predefined bounds and then shifts the active tab of this window to tab one. I ...
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
65 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 ...
19
votes
3answers
12k views

Run program if connected to specific wifi?

Is it possible to have a program starting automatically when I connect to a specific router, and having it stop when I disconnect from this router? Basically I want a program to run while I'm at work ...
-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.
1
vote
1answer
677 views

Get latest Time Machine backup when backup disk is unplugged

I know i can get the time stamp of the latest Time Machine backup with the command tmutil latestbackup | grep -E -o "[0-9\-]+$" but this only works when my backup disk is plugged in. If not, i get the ...
3
votes
3answers
6k views

Keyboard shortcut flip screen

How can I create a keyboard shortcut that flips my screen upside down? I know how to enable this setting in System Preferences but I want to be able to bind it to a shortcut. Is it possible to make ...
5
votes
4answers
14k views

How can I make iPhone silent for a specific amount of time?

On Android phones, there are apps (not native functionality) to make the phone silent for the next N minutes starting right now. This is different than setting specific times of day like Do Not ...
0
votes
0answers
14 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
4answers
2k views

AppleScript alternatives

I've recently discovered AppleScript. AppleScript affords a simple, natural way to programmatically simulate keyboard-and-mouse interaction with Mac applications. AppleScript is great, however 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
58 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 ...
3
votes
2answers
401 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
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 ...
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 ...
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 ...
1
vote
1answer
42 views

What does errAEWrongNumberArgs error mean running AppleScript?

I copied a script that I found online, but it will not run. The error I receive is Logical operator NOT used with other than 1 term (errAEWrongNumberArgs:-1721) Here is the script. on run {input, ...
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 ...
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 "...
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
94 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 ...
8
votes
2answers
9k views

Allow application to control computer (assistive devices) on Mavericks via Terminal?

I'm currently working on automated instalation of Mavericks 10.9. I have NetBoot set up. Everything works OK untill I want to execute Applescript. Since the release of new version I need to manually ...
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
77 views

Can you debug interactively in Workflow?

I’ve been creating some mobile workflows, and debugging has become a bit of a chore. My current method of doing so has simply been to add a Quick Look and Exit Workflow step. Since Workflow execution ...