An application developed by Apple for Mac OS X that implements the creation of workflows.

learn more… | top users | synonyms (1)

10
votes
5answers
10k views

Create global shortcut to run command line applications

What steps do I need to run a command line program via a global shortcut? I setup Automator to create a new Run Shell Script and tried to assign a shortcut in System Preferences -> Keyboard -> ...
20
votes
5answers
12k views

Possible to run scripts on sleep and wake?

MacBook Pro 2010 running OS X Lion. Is it possible to run scripts on sleep and wake events? My specific application is that I've got Dropbox-synced Truecrypt volumes that I regularly use on both my ...
9
votes
2answers
13k views

How can I get Automator to mount a network volume?

I am writing an Automator "script" that rsyncs media on my 10.6.3 MacBook Pro to my Ubuntu 10.10 HTPC. I can make Automator run my shell script for rsync commands, but I can't make Automator mount the ...
7
votes
4answers
6k views

Checking for folder/file changes using Automator?

Is there there a way to check a folder/file for changes (includes adding files, deleting files, changes in files,...). The 'Folder action' in Automator is only checking if any files are newly added.
2
votes
3answers
3k views

Automatically launch a program or action when an external drive or disk is connected

I have an external drive. Is it possible to launch a program or perform an action when I connect it or plug it in?
10
votes
4answers
2k views

Updating modifier key mappings through defaults command tool

I am trying to automate the inital setup of my macbook, that includes installing software and changing OS X configuration to my needs. I have tried to update the modifier keys with defaults, the ...
7
votes
3answers
843 views

Lock screen with LaunchBar

I extensively use Launchbar and have almost all my daily productivity items working through it. Since I use my personal MacBook at work, I do not have use a screen saver password, however, when at ...
5
votes
3answers
5k views

Converting WAV to MP3 using LAME and Automator

I'd like to convert many WAV files to MP3 files using LAME and Automator. I need a script that I could right click a folder and convert all the WAV files inside the folder to MP3 files. I've been able ...
9
votes
4answers
4k views

Creating an automated HFS+ compressed folder

I would like to set up an automated way for archiving files in OS X Lion. By archiving I mean using HFS+ compression feature on a specific folder, and make every file that I move into this folder ...
15
votes
7answers
6k views

How can I sync my iTunes music library between two Macs for free?

I have a desktop system that I use as a server. I also have a MacBook Pro that is my main computer. I've done a lot of organization and cleanup of my music library and have it all on my MacBook Pro. ...
13
votes
3answers
14k views

Can I change the application icon of an Automator script?

I have created a couple of automator scripts. I was curios if there is a way to change the application icon, on those scripts, to something other than the robot.
9
votes
6answers
21k views

How do I run a cron job on a Mac?

How can I make my Mac (running the most recent OS) do a task automatically once a day? For example, I'd like to have it automatically download a copy of this open source algebraic geometry textbook ...
5
votes
1answer
2k views

Run Command Line Script from Finder's contextual menu

I have a shell script that deletes exif data from images. I would like to right-click the folder with the images and execute the command from the context menu. How can I do this? The Shell script ...
3
votes
2answers
14k views

How can I use automator to run “purge” command in Mavericks?

In Mountain Lion, I frequently used a simple automator app called "Purge Memory" which just ran "purge" in the command line. I really enjoyed cleaning the RAM, especially when buggy apps ran memory ...
3
votes
1answer
3k views

What are the storage locations of the various types of Automator workflows

The purpose of this question is to create a reference for the various default storage locations where Automator stores the files it creates and saves. I've found a few from searching, but have yet ...
2
votes
1answer
312 views

Can I run a program whenever I open the lid of my MacBook Air? [duplicate]

Possible Duplicate: Run AppleScript after waking from Sleep? I have a program, InstantShot!, set to launch at logon and start taking a screen shot every 10 seconds. Unfortunately, when I ...
1
vote
0answers
34 views

Automator-script with an OCR-software to automatically add OCR to material? [duplicate]

The OCR software could be anything like PDFPen, ABBYY FineReader Express or Adobe Acrobat Pro. Automator does not list any features such as 'Add OCR layer to' or show any OCR programs under Automator. ...
3
votes
2answers
626 views

Emulating associative arrays in AppleScript

A problem that would be trivial to solve with key=>value pairs. For each item in list_a, find the matching item in list_b and compare a single attribute (calculate scale ratio for two sets of images). ...
3
votes
2answers
2k views

Any way to trigger Folder Action when adding file to any subfolder?

I've created a Folder Action in Automator and applied it to a folder. But it only gets triggered when a file is added to the root of that folder, not to one of its subfolders. Is there any way to get ...
3
votes
2answers
840 views

Can I use Automator or some other method to extract EXIF GPS data from batches of photos on my Mac?

I need a way of extracting EXIF GPS data, using my Mac, from a bunch of photos taken on an iPhone. So for example, if I put 1000 photos into a folder, I want an easy way of extracting all the GPS ...
2
votes
1answer
1k views

Running a gpg shell script to decrypt a file via Automator

I regularly need to decrypt a gpg-encrypted file (always the same) to simply view it in TextEdit. I have a very simple shell script for that. It looks like this: #!/bin/sh outfile=`mktemp -t $$` # ...
1
vote
3answers
1k views

Using automator and handbrake cli to convert videos automatically

I am trying to automate video conversion process using Automator and Handbrake CLI version. I am trying to implement the functionality that whenever a video is downloaded in my dropbox folder on my PC ...
4
votes
1answer
635 views

How can I automatically download multiple sites through Coda?

I have several sites in Coda that I would like to automatically re-download when I tell it to. The sites are collaboratively managed, and I'd like to download a fresh copy of the sites automatically. ...
2
votes
1answer
958 views

Trouble in Automator's Shell Script after OS X 10.9 Mavericks upgrade

I've got a problem. I use from lot of time an Automator's shell script: cat >> ~/Dropbox/ClipBoard/Appunti\ Mac\ del\ $(date +\%Y-\%m-\%d).txt It ever worked but, after Mavericks upgrade, ...
2
votes
1answer
994 views

Why won't my AppleScript run as a Service?

I have a simple AppleScript that works exactly as expected when run on its own, ether as an app, directly from within ScriptDebugger or Script Editor, or as an element of an Automation from within ...
1
vote
1answer
47 views

Can I give Automator apps a window?

Can I create a window / UI for applications created using Automator? Or is this just not possible with Automator apps? Background: I created an "application" through Automator, and dragged the app ...
1
vote
1answer
1k views

AppleScript Setting Select Drop Down

I am trying to enable dictation with applescript and so far have the following that works. But, how do I set the drop down for the shortcut key using AppleScript? Below is the AppleScript code: ...
1
vote
1answer
565 views

using automator/applescript to upload files to a web form?

I have a bunch of files I want to upload to web page. Unfortunately the web form for uploading only allows me to specify one at a time (it spawns and 'open file' dialog). Is there an easy way to do ...
1
vote
1answer
1k views

Automator workflow or AppleScript to close Safari after a period of time

I would like to create an Automator workflow (or some similar function) that will close down Safari after a specified period of time. For instance, I simply want to run Pandora in Safari during the ...
1
vote
1answer
206 views

Automator and Batch Adding Keywords to Images?

Is there a way to use automator (or something else) to batch add keywords to photos selected in finder?
0
votes
1answer
1k views

How to reduce photos in iPhoto while keeping metadata?

I got carried away taking high-res and RAW photos, and now my iPhoto Library is just too big. Most of these photos aren't good enough to take up that much space, but they're still good enough to ...
3
votes
1answer
406 views

Applescript - Connection is invalid

I have an application for mac and I use the following applescript code (exported as an AS app) to start that app periodically: on idle tell application "System Events" tell application ...
3
votes
1answer
553 views

Automator PDF text to Spoken Audio file: What's wrong with this script?

I have pages of PDF notes which I want converted to spoken audio to aid revision. There are several suggested workflows online, but I'm still not getting the results I want. I used this model from ...
2
votes
1answer
109 views

How do I automate this repetitive task?

Automator would seem to the appropriative tool, but ehmac.ca is stumped and so has this board been so far — my "Automator Newbie" question asked yesterday (my first ever on this site). Two sticking ...
2
votes
2answers
1k views

Run script before restart/shutdown

Is it possible to execute a script/command right before OS X is shutting down or restarting? I'd like to run sudo apachectl stop to stop apache from auto-starting.
2
votes
2answers
1k views

My Automator Workflow fails because it fails to find the git command within the 'Run Shell Script' command? Need help

I have an Automator workflow and one of the actions is to clone a repository. Here's the code for the 'Run Shell Script' action. The command is run within the Bash shell /bin/bash if that matters: ...
2
votes
1answer
2k views

How to pass inputs to a shell script in automator?

I want to pass the filename of the file I rightclicked to a shell script through automator: # encrypt file.txt to file.enc using 256-bit AES in CBC mode openssl enc -aes-256-cbc -salt -in file.txt ...
2
votes
1answer
1k views

How to use the built–in VPN Server on Mac OS 10.6.6

I know that Mac OS 10.6.6 has a built in VPN server that one can access through command line. Is there an easier way? Can I make an Automator or AppleScript program that starts and stops the built–in ...
1
vote
2answers
204 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
vote
1answer
83 views

How do I add a script to the Service menu?

See "How do I automate this repetitive task?" I'm posting here so I can show some screenshots of the work in progress. I'm very new to both StackExchange and also Automator. Don't yet know my way ...
1
vote
2answers
1k views

Automate PDF actions

To improve my paperless workflow, I'm looking to achieve the following, potentially using automator / applescript. I need to be able to run it using Hazel, or as a folder action (not run manually): ...
0
votes
3answers
97 views

How do I determine which application launched automator service?

Is there a way to determine which application launched a Automator Service? The idea is to check the app that launched the service, with a shell/apple script and react differently depending which ...
0
votes
0answers
12 views

Where is a good place to share automator files

I've had a request to share an Automator workflow I made. Where is a good place to do that? Something like pastebin but for workflow files.
0
votes
2answers
75 views

Open Finder Tabs with Automator?

I'd like to say that the problem I want to solve is pretty simple, but I can't seem to find any good resources to tackle it. I'd like to have an Automator application that will open all of my ...
0
votes
0answers
267 views

how to pack python package that includes python scripts and bash scripts for OSx as pythonTool.app?

I have made a python tool which I want to share with users. I tried Automator, and it works but in that I used Application > Run Shell Script in which I hard coded the path to my python script, but ...
0
votes
1answer
323 views

Why is Automator not working with Spotlight Search?

I'm running an Automator Workflow that searches a provided directory, and then does a standard Filter Finder Items in order to make sure it's only going to be working with aliases. Spotlight failed ...
0
votes
1answer
54 views

How to get Mail.app raw message in the Automator?

This is an cross-post, because i'm not sure where it really belonging. It is programming question, but apple specific question too. Here is the stackoverflow link: ...
-1
votes
1answer
428 views

Applescript opens new window for everything when run

I have the following code I did for a tweetbot keyboard shortcut to open tweetbot and create a new tweet. on run {input, parameters} activate application "Tweetbot 2" tell application ...