Tuesday, January 23, 2018
  • Index
  •  » Automator
  •  » 'Show in Finder' bug in 10.8.2, fix w/ Automator + Shell Script ?

#1 2013-04-06 06:19:53 pm

kevincbrock
Member
Registered: 2005-08-30
Posts: 67

'Show in Finder' bug in 10.8.2, fix w/ Automator + Shell Script ?

Hi,

Not sure if anyone else out there has experienced this 'Show in Finder' bug in ML 10.8.2, (Google it, if need be) but it screws me up a lot. Not just in the Finder, but with other apps too: Lightroom, Name Mangler, etc.

The fix is to run this command in Terminal:
sudo killall -KILL appleeventsd

Too speed things up, I'm trying to run this as an Automator workflow or action, eventually to be an 'Application' — but I can't get past this error message:
sudo: no tty present and no askpass program specified

What am I missing here?
Thanks for you help!
~Kevin

Offline

 

#2 2013-04-07 12:08:00 am

McUsrII
Member
Registered: 2012-11-21
Posts: 3046
Website

Re: 'Show in Finder' bug in 10.8.2, fix w/ Automator + Shell Script ?

Hello, what you may miss, is this end of your shell script line:

[code] >/dev/null 2>&1[/code]
This should make the shell script know that it isn't waiting from anything for the tty. If you have taken actions to get access to the tty in your do shell script, then you must remove that, in order for your workflow to work.

By tty I mean direct access to the console window.


Filed under: do shell script

Offline

 
  • Index
  •  » Automator
  •  » 'Show in Finder' bug in 10.8.2, fix w/ Automator + Shell Script ?

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)