Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Have an Automator Application as a 'Login Items' to 'Connect to Servers' (AFP).

On login it runs, connects the servers, but does not add them to the Finder Side Bar under 'Devices'.

Once logged in, I disconnect the servers manually, and then run the Application manually. The servers connect & are added to the Finder side bar! Same, unmodified Application.

Have tried to add a 'Pause' of a few seconds to the Automator Application at the start, but it still won't work.

This exact same Automator Application used to work in Snow Leopard without fail. Stopped working with the upgrade to Mountain Lion. Have opened & re-saved the Application using Automator on Mountain Lion as well.

Any suggestions?

Added (30-SEP-12) ...

Finder directly after login & Automator script has run.

Finder directly after login & Automator script has run.

Run Automator script manually.

Run Automator script manually.

Finder after running Automator script manually.

Finder after running Automator script manually.

Also, just discovered something new. During login, if I quickly open Finder, while the script is starting/running, the mappings are created (!), but if I don't open Finder, let the script run, then the mappings are not created.

Added (01-OCT-12) ...

Workaround ... add a 'Get Specified Finder Items', and then an 'Open Finder Items' to open Finder before attempting to connect to the servers.

Workaround

share|improve this question
    
Can you provide a screenshot of it working after running the application manually? –  Robin Sep 18 '12 at 14:01
    
Sure @Robin, added above. –  quibon Sep 30 '12 at 8:58
1  
After reading your last update, did you try adding Open Finder to your script? Under Utilities > Launch Application. Maybe that would do the trick? –  Melwan Sep 30 '12 at 9:29
    
@Melwan - Yes that works. Have added info to above post. Just not elegant. Could it be a security feature they added in OS X 10.8? or something they broke? –  quibon Oct 1 '12 at 0:17
    
Is there a reason that you use an automator script over just dragging mounted drives to your login items? Neatness of having it all in one file? –  Robin Oct 1 '12 at 13:27
show 1 more comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.