Mac Help Forums


Reply
Thread Tools Display Modes

Using Automator to quit Finder

 
New Member
Join Date: Mar 2010
Posts: 1
 
      8th March 2010
Hello,

I recently became a user of Pathfinder and it quite effectively replaces the functionality (and then some) of Finder. So I've been trying to build an Automator script to automatically quit Finder at login.

I have successfully done this, sort of.

I have created a workflow (listed at the bottom of this thread) that I saved as an app and set up as a login item on my profile. I also have it saved as a workflow. It's built to quit finder, then remove it from the dock.

Here's the strange part:

1) when I run the app manually (or automatically as a login item), it kills Finder but won't remove it from the dock
2) when I run the workflow manually, it kills Finder and removes it from the dock
3) when I set up the workflow as a login item, Automator just opens and the process doesn't run

Admittedly, I pieced together the workflow by finding various components in different forums, so it is far from original work

Also, is it possible to have Automator run in the background when this script runs?

Here's the workflow (2 elements); any suggestions are appreciated:


*****

Run Shell Script (this kills Finder)

cat
osascript -e 'tell application "Finder" to quit'


Run AppleScript (this removes Finder from dock)

on run {input, parameters}
tell application "System Events" to tell process "Dock"
tell UI element "Finder" of list 1
perform action "AXShowMenu"
click menu item "Remove from Dock" of menu 1
end tell
end tell
return input
end run

*****
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
finder failed to quit. Helen P Mac OS X 0 25th September 2011 05:21 AM
Adding Quit To Finder Dock Icon (Tiger) aaron.davies@gmail.com Mac 7 2nd October 2006 07:50 PM
Tell Automator to Quit an App? James Dore UK Macs 1 16th May 2006 03:46 PM
Upgraded to 10.3, Finder does start, quit cycling ?? Bill Christens-Barry Mac 8 16th January 2005 07:15 PM
Quit from finder killed USB port voipguy Hardware 0 8th February 2004 05:07 AM


All times are GMT +1. The time now is 07:52 AM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Powermac G4 "Quicksilver 2002" CPU upgrade
Boat (51 Minutes Ago, 07:00 AM)

Yikes! Teacher needs help!
Mollyc4627 (10 Hours Ago, 08:57 PM)

Unable to log in to websites
AMonty20 (13 Hours Ago, 05:52 PM)

Add Different Speech Commands
bae_22 (15 Hours Ago, 04:40 PM)

Login (2 macs) passwords spontaniously changed?
Roger Vaught (16 Hours Ago, 03:31 PM)

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51