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

1
vote
1answer
29 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
19 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
43 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?
3
votes
1answer
46 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
24 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
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 ...
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
43 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
32 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
23 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
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 ...
3
votes
2answers
133 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
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 ...
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 ...
5
votes
1answer
73 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
27 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
27 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 ...
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 ...
4
votes
1answer
43 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
162 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
56 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
87 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
151 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
209 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
128 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
49 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
66 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
532 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
77 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
2answers
425 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
145 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
83 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
672 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
384 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
31 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
30 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
208 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
87 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 ...
2
votes
0answers
57 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
87 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
71 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
87 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
669 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
131 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
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 ...