1
vote
1answer
19 views

Running shell commands with Automator: how to create a droplet launching an “exec” command?

I need to create a automator application that launches the following exec command, whenever a image file is dropped onto it (the exec print the image files with some printing params). exec('lpr -o ...
0
votes
1answer
30 views

Automator Workflow - Convert FLAC to MP3

I would like to have an Automator Workflow that converts FLAC to Mp3. Right now I am using this shell script which works fine and preserves ID3 Tags: #!/bin/bash for f in "$@"; do [[ "$f" != ...
1
vote
3answers
34 views

Run app as a different user (automator) [duplicate]

i'd like to be able to open an app as a different user. For example PC1 is my main account and PC7 is my secondary one. I can achieve the effect in terminal using su - pc7 insert password ...
0
votes
1answer
109 views

Automator: Change to selected directory and run shell script

I'm trying to create a context menu command via Automator service. The context menu command will run a shell script to create some default documents in the given directory. I wrote out the shell ...
2
votes
1answer
350 views

Show Results of Automator-Terminal command

TL;DR If I create a .app via Automator, how can I show results of a shell script in a dialog or terminal window? I am using Automator to run a shell script adb install /Directory/$1.apk and if I ...
1
vote
1answer
28 views

How do I make my list filter in Java usable in Automator as a service?

A friend of mine has written me a small Java application that is used to filter two lists of words (used for work sadly). Currently I would run the application in the terminal like so: java ...
2
votes
2answers
620 views

How to put a custom launcher in the Dock (Mavericks)

I am new to Mac OS (I am currently using Mavericks) and I have performed google searches as well as search on StackExchange regarding my question but the discussions I came across don't quite answer ...
2
votes
1answer
79 views

How can I rename an ordered list of files with an ordered list of file names?

I have a series of files. I need to apply a series of file names. So, 001.jpg -> apple.jpg 002.jpg -> banana.jpg 003.jpg -> orange.jpg etc. I will have to repeat this for each of 16 folders with ...
1
vote
1answer
864 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, ...
0
votes
1answer
58 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 ...
1
vote
1answer
176 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
155 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
0answers
44 views

Script to create a new “To Do” in Mail.app

I've been dorking out with GeekTool and like my simple geeklet that displays my uncompleted tasks right on my desktop. I made a service with automator to let me create new To Do's in iCal whenever ...
2
votes
1answer
176 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
36 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
231 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 ...
1
vote
4answers
3k views

How can I create a stand alone APP to run a terminal command

I have the requirement to manually run the OSX maintenance scripts in OSX (Lion / Mountain Lion). I would like to create a completely stand alone application that would achieve the following goals: ...
1
vote
2answers
320 views

Automatically move files into correct folder on server

I often need to move files from one location on a server into a set of hierarchical folders. The filenames are usually 7 digits long - sometimes with some extra characters at the end. The folders ...
2
votes
2answers
446 views

What tools exist to rename (truncate) batches of files in OS X?

I get bunches of files I need to rename. The original filenames normally have 7 digits - plus an optional character (or two), followed by a space then a whole string of other characters. I need to ...
1
vote
1answer
306 views

Search all hidden .htaccess files inside a folder and run a terminal command?

Searching for the issue, I found this Q&A: How can I show only an .htaccess file in the Finder? [...] you could create a symlink to the file in its directory, omitting the dot in the name: ...
1
vote
2answers
2k views

How can I use Automator to generate a kerberos ticket using KINIT?

I need to be able to generate a kerberos ticket for my MacBook Pro each time the machine restarts. I can manually run KINIT with my credentials to generate a ticket. What is the best way to automate ...
4
votes
2answers
3k views

Firing up Terminal from an Automator Workflow?

I quite often use the python -m SimpleHTTPServer command in the Terminal to fire up a webserver for testing apps. Having just learned the basics of the Automator, I figured this would be a great use ...
1
vote
2answers
353 views

Automatically typing a password into terminal

I want to be able to change the password of a disk image, but fully automated. Is there a way to enter a string as a password instead of plain text? Or can I have a .txt file with nothing but the ...
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 ...