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

learn more… | top users | synonyms (1)

0
votes
0answers
16 views

Automatically moving a random number of files to folders [closed]

How can this be achieved on mac (by Automator or sth)? Bunch of files are in the folder (like 200 files). Now moving them to other folders. In each folder 14-18 files. Putting random number of files (...
0
votes
0answers
26 views

AppleScripts move files with ‘System Events’ instead of ‘Finder'

When using Finder, script can take much longer. I also want this script to work on the background. How can I use System Events instead of Finder in this script? property source_folder_one : alias "OS ...
0
votes
0answers
18 views

Rogue Applescript

I am experimenting with automation, particularly the auto typing on other applications. I have followed this site's script and changed the delay between each entry to 0.5 – which is enough to type ...
0
votes
0answers
16 views

How can I set iTerm2 key mappings from a shell script?

I try to keep many Mac computers and user accounts in sync. I automate the change propagation using shell scripts which are synced across machines via git using github which has worked pretty well. ...
1
vote
0answers
75 views

Encode video file using service, change creation time of new video to match original, delete original

When storing photos or videos from different cameras in the same folder the only option to keep some time-sequence is to sort by date. I am using the service ‘encode selected video files’ to convert ...
0
votes
0answers
14 views

Detect if iPhone trusts this computer

I'm working on a script that automates import photos from iPhone in Mac Photos.app How can I find out if iPhone trusts this mac? I've tried system_profiler SPUSBDataType and ioreg -lp IOUSB but ...
2
votes
1answer
55 views

How to access environment variables in Javascript for Automation on OS X?

I am using JavaScript for Automation in an Alfred workflow. I want to access the various environment variables that Alfred sets up. How do I access the environment variable like alfred_version?
0
votes
0answers
30 views

Live Photos Metadata

I've been trying to transition from Apple Photos to a plain folder tree (and then use dropbox). For this to be useful, one needs a good naming scheme. I did a bit of googling and using Hazel seems ...
0
votes
1answer
22 views

Is there a way to automatically reduce the rating of a song by X stars when you skip that song?

For example, to reduce a song's rating by half a star when you skip it (and/or increase it by half when you don't?). Not sure if this would involve creating a new application or if somehow there's an ...
-1
votes
1answer
20 views

Backing up data

I have a script that used to run daily that looked like the following to backup my mac. Backup script pastebin As you see here, this script is TERRIBLE because it deletes everything in the folder ...
1
vote
1answer
28 views

Difference between ~/Library/Application Scripts/ and ~/Library/Scripts

Does the two folders ~/Library/Application Scripts/ and ~/Library/Scripts have different meanings? I’m considering where to put scripts for OmniFocus.
1
vote
1answer
45 views

Speed up Automator workflow

I've recorded some actions and made an Automator workflow out of it. It's basically some clicks, selecting something in drop-down menues and quitting the app. I run the workflow at 10x speed, but it's ...
1
vote
1answer
60 views

How can I automate taking screenshots of 10,000+ pages?

I am using mac OS X El Capitan and need to find a way to automate taking screenshots of 10,000 or more pages. The problem with all current solutions is that the webpage requires me to login using my ...
1
vote
0answers
15 views

Can I create a Range in numbers

I am using Javascript for Automation (JXA) with Numbers.app and I am wondering if I can instantiate a Range object, i.e. define which rows are concerned by the Range so that I can apply a function ...
1
vote
1answer
93 views

Applescript/Automator task to change default downloads folder

I need to create an automation to make a new folder named by my selected text and then make that folder the new default Safari downloads folder. This would be the default folder when I click on a ...
1
vote
1answer
23 views

Can automator run when Macbook lid is closed?

If i set an automator scrip to run each evening at 23:00 but my Macbook / Macbook Pro is closed (not off, but the lid has been closed) will / can the automator script still run ?
0
votes
0answers
26 views

Automatically kill a safari tab when idle for some time (OS X)

I'm that kind of person who opens way to many tabs of safari (often a bunch of windows with lots of tabs), and after some time I've got like 30 opened tabs in which i use about 5-10. I don't have a ...
0
votes
0answers
21 views

How to sync an online PDF on the iPad

Is there a way to autosync a PDF file from a URL to my iPad? Specifically, there is a PDF file in the public domain at a known URL. But the author modifies it every few days, and I want somehow that ...
0
votes
0answers
26 views

Sending text to a Terminal or iTerm2 window?

How can I send text to a Terminal or iTerm window? I'm presenting a demo of some multi-user software and would like to create several windows, programatically sending (different) text to each one, ...
0
votes
1answer
37 views

Is it possible to automate tags / tagging of new files dropped into a specific folder?

Is it possible to automate tagging of new files dropped into a specific folder?
0
votes
0answers
15 views

Does any such software exists that allows me to choose different environments?

I do not know what type of software this would be considered as, but what I am basically looking for is software that will open a certain set of applications based off of the environment I choose? I ...
2
votes
2answers
93 views

Automate printing with options?

I am trying to print a file (a pdf), without intervention. Not Automator specific, I can deal with applescript or terminal or whatever. The specifics of what I want are: Print to specific Printer ...
1
vote
1answer
71 views

OSX - Button spam help?

I want to be able to spam the jump button without having to hit the space bar multiple times, and I have a line of code but I'm not too sure what it is doing. tell application "System Events" ...
2
votes
2answers
167 views

How do I automatically enable Personal Hotspot when my Bluetooth device is in range? (Similar to Tasker for Android)

I use a spare smartphone with no SIM card as a navigation tool in my car. This works fine with offline maps, but I can't use things like Waze. I also have an iPhone which I carry around with me, which ...
0
votes
0answers
17 views

Ecobee3 Internal Sensor Readings via HomeKit API

I'd like to trigger a specific scene based on the motion and temperature of the internal sensor via HomeKit and Matthias Hochgatterer's Home App. I see the temperature and motion of the external ...
0
votes
0answers
21 views

A good way to make homebrew clean itself every day?

Homebrew package manager for OS X suggests I run brew cleanup every 24 hours. What is the best way to automate this under OS X so that it happens every 24 hours?
0
votes
0answers
17 views

How do I loop Automation Curves (for volume) in GarageBand 10?

In the old GarageBand there was an option to "anchor" the curve to the region so that the region could be copied and pasted and keep the same sound. How do I do this in GarageBand 10?
0
votes
0answers
13 views

is it possible to disable ringtone/vibration when nearby bluetooth device

Is it possible to automatically disable ringtone/vibration when nearby a bluetooth device? For example when I'm in the office and my iPhone is nearby my Mac the iPhone should be quiet with no sound an ...
0
votes
0answers
25 views

How to make “Move to iOS” set off the opened hotspot in iOS after moving the data?

How to make Move to iOS set off the opened hotspot after moving the data? I have also seen that the iPhone hotspot includes the name of the user of the device. Is it a way of changing it by default ...
1
vote
0answers
38 views

Automate Safari form filling

I have a Numbers spreadsheet with lots of data (currently at 275 rows, 14 columns each). I need to submit this data to a web form, one row per form submission, each column going into a text box on ...
1
vote
1answer
43 views

How to change icon of an app through Terminal

I want to customize my app icons, but there's a lot of them, and I don't want to be tedious and go through the whole Get Info process over and over again. Is there any way to write a program, ...
1
vote
1answer
22 views

Packet sending script, iOS 9.1

I have an app which sends specific packets to a server every time I press a particular button on the app, the problem is that I need to press it every 30 seconds during a few hours and it's annoying. ...
0
votes
0answers
11 views

Controlling Scroll Bars

On our company page in LinkedIn, under the analytics tab, there is scrollbar. I want a script which will scroll down to the bottom, hit "see more", and recursively continue until the data is ...
0
votes
1answer
37 views

Notes script to access notes in specific folder?

I have tested this Notes export script (https://github.com/alexwlchan/notes-export/blob/master/notes-export.scpt). It seems to work, but the issue is that I want to specify a specific Notes folder to ...
2
votes
2answers
83 views

Using Apple Remote Desktop for managing iOS devices?

Im currently evaluating using Apple Remote Desktop for multi laptop and desktop management. Can it also be used for iOS device management ? We've got a range of devices - iPhone, iPads which are ...
4
votes
1answer
59 views

Any way to log off or close apps when time limits run out

My kids use Steam to play games on the Mac. Each kid gets half an hour through parental controls time limit feature. However, it just locks their account and leaves the apps running. Steam can only ...
1
vote
2answers
28 views

Make Mac boot upon plugging in power

I have a MacBook and I'd like it to boot automatically upon plugging it into a power source. Is there a way to do this?
3
votes
2answers
291 views

Upgrade OS X operating system from the command line

You can upgrade software with sudo softwareupdate --install --all. Is it possible to upgrade the OS itself from the command line?
0
votes
1answer
74 views

Applescript insert images into .Pages document

I've tried numerous examples online, but all don't seem to work. The image is received via Automator and each file is dispensed incrementally and ran through the following Applescript: on run {input,...
3
votes
2answers
253 views

Batch resize .svg files

I have a folder (original_svg_files) with more than ten thousand .svg files in different sizes and I need to resize each one of them. The name should be the same with the original .svg file and the ...
1
vote
1answer
92 views

Automatically eject disk image x minutes after mounting

So I have an encrypted disk image that I use to store sensitive files. However, I often forget to eject it when I'm done, which obviously negates the whole point of encryption. What I'd like is some ...
0
votes
0answers
87 views

Trigger an action when a specific video file plays? (VLC)

Objective: I have a VLC playlist. Whenever a new video begins, I'd want it to trigger my Philips Hue lamps to change lighting settings. The lighting settings are pre-made, with specific names, and ...
0
votes
1answer
57 views

How can I have dmg files automatically unmount when I trash them?

A while ago, I used to have some kind of App or service that would automatically unmount a dmg file whenever I put the dmg file into the trash. This was really convenient, but I've since reinstalled ...
0
votes
0answers
25 views

How can I setup a Cisco IPSec VPN connection from the command line?

We've got a few macs to manage and we are working out how to script the configuration of a few things. We've got most of the bits worked out but there is one that I can't seem to find the right google-...
1
vote
0answers
21 views

Can I disable the menu bar for the laptop screen but not for external monitors?

On my laptop screen I think the menu bar doesn't provide enough info to warrant the space it takes up. When I dock my laptop with a massive external monitor, I'd rather it showed. Is there any way I ...
1
vote
0answers
33 views

Automatic move all mails to folder

I have a School email (Microsoft Exchange) which is limited to 350MB of storage. Therefore every month or two I need to move all my emails to the Mac drive instead of the Exchange server. One thing I ...
2
votes
2answers
156 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 ...
0
votes
2answers
36 views

Shortcut to open just saved PDF in Preview

I find myself often having to search for a PDF I just created to open it in Preview. This waste of time is begging for automation, though can't figure out how to do this in Keyboard Maestro, for ...
1
vote
1answer
67 views

Adjusting screen brightness based on application

Is there a way to trigger some apple script based on applications/events? What I want to do is to increase brightness when I am running videos etc. fullscreen, and reduce it when I exit the ...
2
votes
0answers
38 views

Grant rights on a certificate to an app through the shell

I'm currently looking for a way to grant an application rights to a certificate in my /Library/Keychains/System.keychain through the shell. I can currently do this through the Keychain Access App by ...