Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
1answer
10 views

Running a script with assets inside automator application

So, I'm trying to write an automator application that runs a simple script. python Contents/main.py where Contents is the contents of the .app. When the script is run it is run in ~ not in the ...
0
votes
0answers
15 views

Apple Script not running as expected

The following is an applescript which is meant to take the body of the latest email and extract text out of it. As you can see the result is shown below. This result is show as the script was running ...
1
vote
1answer
28 views

How to parse output from a command in OS X Automator?

I have the following code in Automator but it fails to load the variable with the output from the command. for f in "$@" do output = hdiutil verify "$f" echo "$output" done I want to parse ...
1
vote
0answers
14 views

“New mail message” action in automator not working

In the description of the action "New mail message" in automator, it says that it will send a mail message with the text that I have set as input as the body of the email. That is not happening. In my ...
1
vote
1answer
40 views

Have Automator folder action pass a list of files to AppleScript

I need to pass to a .jsx script (a Photoshop script written in JavaScript) a list of image files as arguments when they are added to a folder. According to the Adobe documentation, you can call a .jsx ...
0
votes
1answer
44 views

Automatically Trigger Automator through mail

I want to trigger a workflow in automator every time I receive a new email in "mail.app". How can this be done?
0
votes
0answers
11 views

I want to automate the task of sending email

I want to automate the process of sending an email in my automator workflow. In my workflow I want to create a new email every time I receive text as an input and the email has to be sent without my ...
1
vote
0answers
46 views

Apple Script - FIND files containing… in prefix, in ALL SUBFOLDERS, COPY

I'm looking for an Apple Script that will: REFERENCE a list of names in a column on an Excel sheet (not complete file names). SEARCH a specified folder, including subfolders FIND file names that ...
-1
votes
0answers
12 views

I want to run this old applescript in automator [duplicate]

I want to use automator to extract text from mail. The applescript used to do that is an old version of the scripting language. My mac will accept only the latest. Is it possible that I can run the ...
2
votes
1answer
23 views

How does automator know that the text that it receives, is an address?

In automator there is an action called "Extract Data from text". It can extract stuff like email addresses, phone numbers but also addresses. How does that work? How does automator know that the text ...
1
vote
1answer
45 views

How to get the amount of selected files in automator

I created a workflow to move items from one folder to another and I want to get a notification when it's done. I could create the workflow without problems but now I would like to show the number of ...
1
vote
1answer
45 views

OS-X: How to copy files according to their file types from an external hard drive onto an OS-X computer?

I have a lot of files (music, pictures, documents) on an external hard drive that I want to copy into the respective folders on OS-X. I would like to automate the copying process and put all .bmp, ...
1
vote
1answer
34 views

Automatically close Chrome tabs (for certain websites)

On our family mac, each child has a separate account, which is very nice. The kids use Chrome for their browser, because the parental controls work so well (much better than the OS X built-in ones!), ...
0
votes
0answers
24 views

Autofill print dialog

When I try to print, a dialog box pops up prompting me for my username and a name for the print job. Is there any way to automatically fill in this information? I've been looking at Automator but ...
0
votes
1answer
21 views

How to merge lecture notes from the web into a single PDF file

I have some lecture notes which are located at: www.mywebsite.com/Lecture1.pdf www.mywebsite.com/Lecture2.pdf etc In Automator I currently have done the following: Get specified URLs Download ...
2
votes
2answers
35 views

Is it possible to schedule my laptop to mute and unmute based on calendar events?

I would like my mac (OSX 10.9) to automatically mute during meetings. I have a fully abstracted calendar, with several sub calendars. Any apps? Any Automator tricks?
1
vote
0answers
84 views

Applescript / Automator - Pass variables between them

I have a question about how to pass the applescript input from one computer to another computer's automator input (I created it as a program). I've created the script below to ask for the filename and ...
0
votes
1answer
29 views

Automator shell Script works, except inside dropbox

I used Automator to create a service that runs pdf2svg from the context menu in Finder. for f in "$@" do /opt/local/bin/pdf2svg $f ${f%.*}".svg" done It works fine, except it does not work on ...
1
vote
1answer
32 views

Automator: action/service on right click on an url

I keep doing the same thing over and over: Copy a url Run a script with the url as a parameter php myscript.php --url "URL" I'm pretty sure Automator can help here, but I'm completely stuck ...
0
votes
0answers
9 views

How to automate hardware scenarios based on connection type on my MacBook? [duplicate]

I would find it to be possible to automate (e.g. with Automator) a given set of scenarios according to my MacBook's connection, but I'm not very knowledgeable on how to approach this. Specifically, I ...
0
votes
1answer
30 views

How can I add shells to the list in Run Shell Script in the Automator?

If I select the Run Shell Script action in Automator, it has a drop down menu filled with possible shells: /bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh /usr/bin/perl ...
0
votes
0answers
67 views

Sequentially renaming images in subfolders, but reseting the counter for every folder

I want Automator to receive a folder, then search all subfolders. If it finds a number of images in any folder, it will resize and rename them 1.png, 2.png, 3.png,... This works: (I don't filter ...
0
votes
0answers
24 views

Why can't Finder pass a single folder to an Automator Action?

I'm trying to create an Automator service which "receives selected files or folders". If I select a single file in Finder, then go to the Finder:Services menu, my service shows up. If I select two ...
0
votes
2answers
38 views

Getting Automator file selection from multiple windows

I've created an automator action (service) which looks at two different files or folders and then performs an action based on their paths and filename. The problem is, each pair of files/folders is ...
0
votes
0answers
26 views

Schedule Twitch Stream Recording

So I have installed the livestreamer program that lets me launch a Twitch.tv live stream through VLC player. I start it by the Terminal line: livestreamer twitch.tv/nameofchannel source Which ...
0
votes
0answers
51 views

Applescript automate to click button on Safari webpage

Trying to do some automation in safari here using applescript, keep getting error, please help! Here's the DOM Tree codes <div id="sc1789" class="tvb4 sc-view" style="left: 0px; right: 0px; top: ...
0
votes
0answers
26 views

apple script to copy Items to usb

i REALLY need a apple script that would copy items(files,folders everything so whatever is in this folder must be copied) of a folder in my documents to a usb folder but only when the usb is mounted ...
0
votes
0answers
19 views

automator script for typesetting TeX can not run the TeX engine

In the script below instead of echo $filename I want to have xelatex $filename. However, if we do that the automator gives a running error without any description. Before I set the path I was ...
0
votes
3answers
87 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 ...
2
votes
1answer
34 views

Folder action acts on files not specified in the workflow

I just started using Automator for the first time. My folder action gets two Finder items: say 'foobar1.pdf' and 'foobar2.pdf' files, and copies them to another folder. It works but there is a ...
2
votes
0answers
15 views

Can I assign an Automator workflow to more than one application?

I have created an automator service, and assigned it to an application. I would like to assign it to more than application but not to all applications. Is that possible at all? Would it work if I ...
0
votes
1answer
50 views

How to change filepath structure using automator (windows to mac)?

I use a mac at work and people send me windows file paths all day. Does anyone know how to convert the filepath using applescript in an automator so I can right click in an email and then open it? ...
0
votes
1answer
88 views

Get the process id of the app, which called the service

I have an service in automator, which is binded to the Safari ,no input option. Now is there any way for the service in automator to get the process id of the Safari, which called it ? New to ...
1
vote
0answers
33 views

Sync applescript calls.

I'm very new to applescripting and I have the following code: tell application "Safari" tell document 1 do JavaScript "document.getElementById(\"binaryFilePath\").click()" end tell ...
2
votes
1answer
117 views

Can only run AppleScript from Automator

I have the following AppleScript which toggles the scroll direction on the trackpad: tell application "System Preferences" activate set current pane to pane "com.apple.preference.trackpad" ...
2
votes
1answer
49 views

Applescript question for copying files

I wrote a script to copy files from an SD Card to a Thunderbolt Hard Drive. I wanted the action to automatically do all of this in a single shelled applescript under an automator action. When I ...
3
votes
1answer
42 views

Variable not defined not sure why

For some reason "the name of thePath" comes up as not defined by my automator workflow. on run {input, parameters} tell application "Finder" set thePath to the (first item of the input) ...
0
votes
0answers
16 views

Finder Services maximum selection limit

I have created an automator action to operate on files selected in the Finder. But I am noticing that if I have a lot of files selected, instead of seeing any services at all, I only see: No ...
0
votes
1answer
46 views

Automator: How to send an email to multiple recipients with Font colour and attachment image?

I have done a program of 'Send-Email-To-Multiple-Recipients' in Automator as see an attachment image below. But, it does not work to retain font colour of texts in a message body within this ...
1
vote
1answer
53 views

Automator app in notification centre

I've made an Automator application that runs displays a notification and then runs a shell script. Works fine. However, the notification centre doesn't display the name of the application, but instead ...
0
votes
1answer
44 views

Display message box only if “filter finder items” finds an item (Automator)

Currently, I have a workflow going like this: When files and folders added to downloads Filter finder items where kind = music Open finder items with ID3 tag editor Ask for confirmation "Click OK ...
0
votes
2answers
28 views

Services menu shows the incorrect name

I made a Service in Automator, but when I was saving mistyped the name. I used Automator to rename the Service, but the incorrect name shows up in my Services menu. I checked the ~/Library/Services ...
4
votes
1answer
77 views

System hotkey to execute cmus-remote?

I am a huge fan of the terminal-based music player cmus. It does everything I want from a music player and nothing I don't. I want to use it instead of iTunes on my Macbook. I installed it via ...
1
vote
1answer
95 views

Is there a way to use automator/write an apple script to change the font in several powerpoint documents?

A recurring issue at work: A powerpoint file needs to be moved in to illustrator and saved as an .eps file. The files are almost always submitted with the font set to Calibri which Illustrator ...
1
vote
2answers
148 views

How can I make an Automator service run a shell script and display the output?

I'm using Automator to run a shell script (ffmpeg transcode to h264) as a 'Service', so that I can just right click the high res .mov file and select the service. It works fine, but as it's ffmpeg it ...
1
vote
0answers
29 views

Creating an Automator/Applescript to compare two versions of an MS Word document

I'm storing MS Word documents in GIT and would like to have an rudimentary document compare system on the rare occasion that I need to diff them. I've seen: ...
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
54 views

Create an automator/applescript service that opens a file in an external program

Just wondering about some automator/applescript help. Basically: I download a MP3 file from an artist (for example) It is saved to my Downloads folder. From there, I want to open it automatically ...
1
vote
1answer
48 views

How to get the domain name on the command line

I know this is a simple question, but I can't recall a method of doing it. I wrote a service using automator to copy the public URL of a file in my Sites folder. I wrote this script: sed -e ...
0
votes
1answer
16 views

Launch iTunes and iPhoto when external USB drive is connected

Is there a code that I can just copy an paste into Terminal or Automator? If not what is the best Application to download?