Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make Command-Delete do more with Quicksilver' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make Command-Delete do more with Quicksilver
Authored by: Anonymous on Jan 28, '07 08:58:55AM
Here's a version for Path Finder, courtesy of flip on the Cocoatech forums:

tell application "Path Finder"
	set selected_items to selection
	repeat with one_item in selected_items
		tell me to set posix_path to POSIX path of one_item
		set k to kind of one_item
		if k = "Application" then
			set cmd to "open -b com.appzapper.appzapper " & quoted form of posix_path
			do shell script cmd
		else if k = "Volume" then
			eject one_item
		else
			set cmd to "mv " & quoted form of posix_path & " " & "~/.Trash/"
			do shell script cmd
		end if
	end repeat
end tell


[ Reply to This | # ]