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

learn more… | top users | synonyms (1)

0
votes
1answer
842 views

AppleScript - “Close tabs to right of current tab” in Safari 7

I have been using the AppleScript below as an Automator service in order to get Safari to close all tabs to the right of the current tab. However I have updated to Mavericks (10.9) and find that this ...
0
votes
3answers
301 views

Batch-processing Image Files in a Folder using a folder action with Automator

I'm trying to resize new image files in a folder using a folder action so the files that were already resized to 300x250 don't get resized again. The thing is I'm having issues getting the resizing ...
4
votes
1answer
113 views

Why does Automator need the discrete GPU?

My 15" MacBook Pro with Retina was getting quite hot while I was just browsing the web, so I opened Maverick's Activity Monitor to see what was using so much energy. I discovered that the discrete ...
2
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 ...
2
votes
1answer
3k views

Automatically move files to a parent folder + delete subfolder

I'm trying to figure out how to automatically move files from a folder to its parent folder and delete the original folder. To illustrate, here's my structure: Parent Folder – Subfolder ...
1
vote
1answer
594 views

A turning gear appears when I run this workflow, why?

I am running the following script (called Restart AppleTV) using automator : on run {input, parameters} do shell script "sudo killall coreaudiod" with administrator privileges return input end ...
1
vote
1answer
281 views

Launch App with Automator when system is idle

My idea is to dim the display when the system is idle for 10 seconds, and with a keystroke or trackpad activity revert to original (I want to preserve battery automatically and not using a screen ...
1
vote
1answer
369 views

Can I create a service in Automator that will run without having a file selected?

When creating services in automator, the topmost options is "Service receives selected..." Is there a way to create a service that just works on the currently open finder window, without having a file ...
0
votes
1answer
319 views

How to set a specific email address in Automator, from a variable?

I can collect a variable (email address) from the clipboard. How do I set it to the recipient in Mail with Automator?
2
votes
3answers
399 views

Automator: Correct syntax for calling an AppleScript file

I'm attempting to write an Automator application that will mount an external disk. I have an AppleScript that does the job and I'm attempting to insert it into an Automator application. However, ...
0
votes
1answer
63 views

How can I make a .command file that I can share without giving permissions on each computer?

I have a terminal command that I would like to run. telnet 169.254.216.127 54326 Ideally I would like to convert this into a .command file and be able to share it with many other mac users ...
0
votes
1answer
300 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 ...
1
vote
1answer
942 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: ...
2
votes
1answer
360 views

Launch Dictation With Applescript

I would have thought this would be easy to find, but thus far it has not been for me. Is there a way to launch dictation (fn, fn) with applescript or from the terminal?
2
votes
1answer
284 views

How can I run a command that requires user input through oh-my-zsh alias?

I'm trying to add Reminder.app items through the command line by invoking an alias. I use the Automator workflow solution from this question: How can I add reminders via the command line?, which ...
0
votes
1answer
109 views

Automate Duplicating and Renaming Images

I've got an image and I need to duplicate it 800 times but add a new prefix every time I duplicate it. I've got the prefixes in a CSV file (or spreadsheet) and I'm wondering if there's a way that I ...
2
votes
2answers
1k views

Relative path in Automator

I want to make an Automator action that copies a set of files from a folder to another folder that is one folder up and then two folders down from the original files. In other words: ...
2
votes
2answers
314 views

How do I get Automator to process images using ImageMagick in a command script?

I'm making an Automator workflow that uses the shell script action to process a selection of images with the imagemagick composite command. Only I'm having issues getting it going. According to the ...
2
votes
1answer
151 views

A script to automatically split an Aperture library

My Aperture library contains a ridiculous amount of pictures (well over 30 000) which means it is extremely slow whatever the hard-drive and computer I use. I want to split my library into separate ...
2
votes
1answer
237 views

Launch XQuartz app via Automator

I'm trying to launch meld (installed via Homebrew) via an app shortcut, ideally ending up in my Applications folder. A recommended way to launch console apps in Mountain Lion seems to be using ...
4
votes
3answers
1k views

Find a specific file with automator

The basic question is: How can I pass a filename to the Spotlight search module in Automator? The essential problem: I have hundreds of broken aliases scattered throughout a particular ...
4
votes
6answers
1k views

How to make an existing AppleScript file to work as a service?

I made an AppleScript, saved it as a file in a specific folder on my hard drive. Now I want to assign a shortcut to it and looks like I have to make a Service via Automator, but the Run AppleScript ...
0
votes
1answer
136 views

Folder actions has stopped importing photos into iPhoto

I have had a problem for the past week where a folder action created in Automator has stopped importing photos from a folder into iPhoto. I have tried: Repairing disk permissions. Deleting the script ...
2
votes
2answers
1k views

Use PhotoBooth.app with Automator

Using Mountain Lion - 10.8.4 I would like to setup a daily snapshot system using Automator: use the PhotoBooth.app set it to auto start with the countdown "1,2,3" autosave the picture to a ...
0
votes
1answer
245 views

Requirements to use 'open -b “bundle.id” ' for OS X

I have a post install script which opens and runs my application silently. The app was made using Automator and basically runs an Applescript which in turn runs a Bash script embedded from the app ...
2
votes
1answer
254 views

Run Automator App conditionally at system startup

i have build an Automator app working every time at system startup. But sometime i wish to do not run it. There is a way to avoid (like holding a key at boot for example) Automator App runs when it ...
0
votes
1answer
445 views

Adding the Print Document Option To The Right-Click Contextual Menu?

In Windows it is possible to print a document on the desktop by right-clicking on it and choosing Print Document in the contextual menu that appears. By default this option is unfortunately not given ...
3
votes
2answers
564 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). ...
0
votes
1answer
21 views

Why is the photo quality terrible in Automator?

I am trying to use Automator as a Photo Booth but when I use the video snapshot command the photo quality is terrible. The built in camera is fine in other apps such as Skype or Photo Booth? I can't ...
0
votes
1answer
2k views

Automator won't execute my bash shell script

I have a bash script that works like a thread. Now I'd like to turn it into a service with Automator. Input is set to Image Files in Automator and the shell script action is set to Pass input as ...
0
votes
1answer
351 views

Automator: Issue with nested folders

Can anybody explain how can I do this: Add to context menu in finder element nested folders which contains of : nested folders - template one - template two - template three and each ...
1
vote
1answer
390 views

Is it possible to hook automator to the “before download” event in Safari?

I find that I desperately NEED Safari to ask me where I would like something saved (and allow me to rename it) (you know.. a Save As dialog) before it is downloaded - on an individual, download by ...
0
votes
1answer
164 views

How to ask for a mail folder in applescript?

I apologise in advance since this will be a long question. I hope that somebody with applescript knowledge can help me. I am transferring whole of my Windows machines to Apple and I am stuck with one ...
2
votes
1answer
241 views

Unlock Mac from Terminal or Automator

In my attempt to start iPlayer and BBC News every morning, I have scheduled Automator to open a page. It does work, however my Mac stays locked, therefore I need to get out of my bed and enter the ...
1
vote
1answer
38 views

Can two apps be tied so that when one opens or closes, the other does so?

Can triggers be set up so that when "App A" starts, another "App B" gets started automatically? Ideally, the solution would send a quit message to "App B" when "App A" quits, but the important part is ...
1
vote
1answer
349 views

Automator to execute shell script with an input text file, copy it to specific directory

I'm simplifying making a .deb file with Automator. I currently have a shell script that does some simple actions - Ask the user for text input Do some directory parsing Execute a command with the ...
0
votes
1answer
52 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: ...
2
votes
2answers
880 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: ...
0
votes
2answers
583 views

Script or workflow to modify find and replace text in clipboard

I need give unique names to many, many files as part of my job. I download dozens of PDFs from a research database which all come with the same name (date of download). I have to open the file, select ...
1
vote
1answer
112 views

creating a resident workflow with automator

I currently have a simple workflow that gets the contents of the clipboard and creates a new text file from those contents on the desktop. problem is, i have to run the workflow everytime i need my ...
0
votes
1answer
83 views

Automator > modifying an URL before downloading it?

I'm trying to automate a download process for images on multiple webpages. So far, my actions are : "Ask for text" > i paste multiple URLs "Extract URLs from Text" "Get Image URLs from Webpage" (I ...
0
votes
1answer
178 views

Change name and Application icon when starting via Automator

I have a script called gnus: #!/bin/bash open -n -a Emacs --args --name Mail --title Mail --no-desktop --no-splash --funcall gnus which I call via Automator Run Shell Script - ~/bin/gnus Now I ...
0
votes
2answers
85 views

Toggle Mail Classic View in Mountain Lion with

I found a script on this site which I edited to make work with Mountain Lion, I thought. It works fine from Automator, but when I save as a service and assign a keystroke to it, it does not. Any help ...
0
votes
1answer
77 views

How do I add a custom field to the login dialog?

When the screensaver has been disturbed, or the computer wakes from sleep, my system asks for a password. I would like to add to this dialog. Along with username and password, there would be a third ...
4
votes
2answers
5k views

How to set a folder view as default for all folders in Finder?

I'd like to get the same folder view for every folder, that means, to have my stuff being sorted always by type and then by name. is that possible with automator? Till yet, I set my view via cmd+j ...
1
vote
1answer
239 views

Automator Service with Google Translate

I set up an Automator Service that receives selected text and then runs a simple shell script to pass the text to open google translate: open https://translate.google.com/#auto/en/"$@" It opens ...
0
votes
2answers
885 views

How to get Automator to treat text as RTF?

I am writing a book and trying to add a service to provide syntax highlighting to text selected in Pages with Automator. I have a service accepts selected text and runs it through a shell command ...
1
vote
1answer
252 views

Using AppleScript to modify contacts not working

I'm trying to use applescript to clean up various problems a large address book, to large to fix by hand. I've been able to find and observe contacts and groups in AppleScript successfully. However, ...
1
vote
1answer
526 views

How to create an Automator service to convert images from one file type into another file type using the right-click contextual menu?

Is it possible to create an Automator service to convert one file type into another file type using the right click contextual menu (eg JPEG, PDF, PNG, TIFF) without the need to install a dedicated ...
1
vote
2answers
1k views

Why does my Automator service work in Automator but not when called from the OS?

I have made an Automator service that runs an Applescript with the Run Applescript module. This is the script: # Press ^F8 tell application "System Events" key code 100 using control down end ...