Tag Info

New answers tagged

1

You could do it with an Alfred Worflow (you need the Powerpack). First create a Blank Workflow and fill the data: Use the plus symbol in the right cornet to add Trigger → Hotkey action. Define your prefered hotkey and save it. Add Actions → Run script. Use /usr/bin/osascript as language. Paste the following script and save it. Change ls -l to whatever ...


0

The values you set before are not given via the inputparameter. As long as you run your Automator Workflow as an Automator Workflow and not as an Application or Service, you can access your formerly set variables using the following: tell application "Automator" set cat to value of variable "NameOfFirstVariable" of front workflow set x to value of ...


0

I use TokenLock to unlock my screen when my iPhone is within bluetooth range.


1

I found a following solution that works for me: for f in "$@"; do sips -z 750 1334 "$f" done


1

You're looking for $@: sips -z 750 1334 "$@"


-2

I use Convertio.co to convert RTF to DOC files. It's a free online service you might want to try it and see what you get.


1

I was inspired by your question to tinker a bit. I don't have xemacs or use emacs, so I tried a text editor in terminal windows using iterm. You can also use a second level of indirection in Automator I did this for joe (Joe's Own Editor). This calls a second app (Untitled.app) opening one file at a time allowing single quotes around the argument to ...


1

I figured it out. I just need to direct the output to /dev/null: /sw/bin/xemacs "$@" &> /dev/null & Easy peasy. The output was getting grabbed by the shell script. As soo as you redirect both standard out and standard error to /dev/null (i.e. oblivion), the rest of the workflow stops waiting and ends.


0

This will be difficult with Automator but it is possible. You will need to augment your Automator workflow with Run Script steps involving some other scripting language. That language can be shell script, AppleScript, or another command line capable tool such as perl. Alternatively, you may find a third party tool like Hazel is able to help: Hazel ...


0

Use a Run Shell Script action like this: find "$@" -name .\*


0

You can automate a mouse click using Applescript. tell application "System Events" tell application process "Application_Name" key code 53 delay 1 click (click at {1800, 1200}) end tell end tell If you want to click within a browser window you can use Applescript with the help of Javascript tell application "safari" ...


0

You can get the path to Your executable from ps command. You need to know Your app name. Here's my code with EchoPath.app made in Automator: DIR=`ps x | grep EchoPath | grep -v grep | cut -c 28- ` Sample output: /Users/slozo/Desktop/EchoPath.app/Contents/MacOS/Application Stub Application Stub is the default name of the executable created in Automator. ...



Top 50 recent answers are included