Stack Exchange Network

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

1
vote
1answer
21 views

App to track hours in each work site

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 ...
0
votes
0answers
5 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 ...
4
votes
1answer
34 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 ...
1
vote
3answers
110 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 ...
4
votes
1answer
36 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
71 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
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 ...
2
votes
1answer
64 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
85 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 ...
2
votes
0answers
48 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
1answer
34 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 ...
3
votes
3answers
453 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
64 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 ...
2
votes
1answer
149 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
110 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....
3
votes
1answer
64 views

How can I install this script as a folder action?

I'm trying to setup a script as a folder action that will identify and change unwanted characters in the name of a file added to a target folder. The intent is to have this automation run as a ...
2
votes
2answers
284 views

Automator: Service to move files into new subfolders based on file extension *within any selected folder*

I've been searching for quite a while now but can't seem to find relevant instruction for this particular task. I'm brand new at this so apologies if I'm missing something basic. Like many ...
4
votes
1answer
361 views

How do I get the Shortcuts app in iOS 12?

I recently upgraded my iPhone 5s and iPad mini 4 to iOS 12. I came across Shortcuts app for iOS 12 in this review article. I think Shortcuts app is pretty interesting and would like to give it a try. ...
1
vote
1answer
29 views

How to create Siri shortcut for Animojis

I want a Siri shortcut to open the Messages app showing the thread with myself. So I have to use the Open App action, and open Messages. But is it possible to pass variables to the action so that ...
2
votes
1answer
27 views

List recent non-recurring calendar events

I'm trying to build a shortcut that will show me a list of my ad-hoc non-recurring calendar events to help remind me what I've achieved when preparing quarterly reviews. I can use Find Calendar ...
2
votes
1answer
135 views

Any way to open a URL in a script without having it open in a browser

The situation: My mobile carrier offers for free to send SMS notifications by following a URL. What I'd want: Include these URLs in various scripts to get notifications when I'm away from keyboard. ...
2
votes
1answer
50 views

Create macro for Sketch App

I want to create a macro for Sketch. I want to execute some commands, for example, save the file, run some plugins, etc. Is there a way I can do this? I'm using a Macbook Pro with OSX 13, I use this ...
3
votes
0answers
44 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
51 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 ...
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
1answer
59 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 ...
0
votes
1answer
41 views

How to automate deleting what's inside the search box in the Dictionary app after 3/5 seconds?

I use the Dictionary app many times when I'm reading a very old novel, and sometimes I write two words side by side without realising it (until I get no result), with that said, I need to tweak the ...
1
vote
3answers
75 views

How to script brightness turning down and up?

I am trying to create a applescript that puts my brightness to the max or minimum, but I don't know how to. I am trying to use this script repeat 10 times tell application "System Events" ...
3
votes
2answers
245 views

What is the keystroke code for space bar in applescript?

I am trying to create a applescript which utilises the keystroke spacebar I have this code tell application "System Events" keystroke {Space} end tell But When I play the script "space" just ...
1
vote
2answers
91 views

How to open a .app which is inside the Contents/Resources/ of the script?

I am trying to create a applescript that when I double click on it, the code activates an (or multiple) application/s from inside it. e.g. I just click on this script and it opens Photo booth and COD.
0
votes
0answers
56 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
1answer
31 views

Finding minimized apps through terminal

I would like to know how to find what apps are minimized in the dock but through the terminal? The idea is to make a script that pauses minimized apps in order to reduce memory usage but the first ...
1
vote
0answers
36 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.
2
votes
2answers
72 views

How to activate DND automatically?

I use a MacBook Pro at work which is most of the time connected to a docking station via a lightning cable at my desk. There I usually turn off do not disturb (DND) mode and activate screensaver/...
1
vote
1answer
23 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
41 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 ...
5
votes
2answers
1k views

Create script to disallow using Mac at night?

I want to stop watching too much pornography at night. It'd be useful if I were to create a script to automatically turn off my Mac at 11:00 PM and keep it turned off until 7:00 AM. If I power the ...
3
votes
2answers
573 views

AppleScript - How to identify buttons and press them?

I'm trying to automate the running of techtools via AppleScript. I have got it working but only with full keyboard access (using tab and space to navigate the UI) but not all machines have this ...
6
votes
2answers
144 views

Save open applications and tabs state to file and be able to restore

I have 2 computers with the same applications installed and I use both for work. I would like to seamlessly move from one to the other and recreate the state of open applications I had in the previous ...
1
vote
0answers
33 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 ...
3
votes
1answer
214 views

Hold down and release right-click with a single click

Essentially, what I want to do is: Upon clicking the right mouse button, simulate holding down the right mouse button. Upon clicking the right mouse button once again, simulate releasing the right ...
1
vote
0answers
32 views

How can I automate “I am Groot” reply to annoying friend's texts? [duplicate]

I kinda want to convey the point that all this individual's texts are just as meaningful as the phrase "I am Groot." Can this be done on my iPhone? That is, anytime I get a text from said individual, ...
1
vote
1answer
127 views

Keyboard shortcut to move tabs left or right?

Is there a Safari keyboard shortcut to move a tab? If not, how can I make one? I wouldn't even know how to write an AppleScript for this, the only method I see of moving tabs is to drag them.
2
votes
2answers
236 views

Is there a shell script to send notifications on mail events?

I've never written an apple script before so I am wondering if there's a way to write a script that continuously (maybe at intervals of 10 minutes) checks my inbox and sends a notification on my mac ...
2
votes
1answer
84 views

Randomize group of modification dates

I have several files that have the same modification date in a folder, and I would like to change the date for all files within that folder, and the same with other folders in the directory so that ...
1
vote
3answers
568 views

Applescript run code at specific time

I tried different way to run a script on a specific schedule / time, I found Lingon quite handy, I also try using calendar but the result was very bad. I wrote this : repeat set myDate to date ...
2
votes
0answers
56 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. ...
1
vote
2answers
150 views

Automator service does not work from Finder

I have an Automator service that accepts multiple pdf files, converts them to pngs while converting a white background to transparent, and then uses a Quartz filter to invert the color of the png file....
0
votes
1answer
219 views

Download entire iTunes purchase history as CSV file (MacOS High Sierra)

Has anyone found a way to download iTunes Purchase history into some type of csv or text format? The closest thing I could find was this StackExchange answer of a great applescript that could ...
0
votes
1answer
93 views

Applescript fill up chrome textfield class

<div class="content" contenteditable="true" data-placeholder="Search Cases" data-maxlength="" data-div-placeholder-content="true">mytexthere</div> I don't manage to fill up the text from ...