Main Page - Log in -

Mac configuration

From Noah.org

Jump to: navigation, search

Show all files in the Finder

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

Fink

Install Fink and Fink Commander.

Install [XCode].

Show top level mounted drives (volumes) in the Finder

This is some same Applescript that I wrote. This gets me started with the basics.

(* Show top level mounted drives (volumes) in the Finder *)
tell application "Finder"
	activate
	make new Finder window with properties {target:computer container}
	(* I can't set the column view in properties when making new Finder window
		because the user may have set the Finder view option "Always open in list view". *)
	set current view of front window to column view
	set zoomed of front window to true
	
	(* if using list view then adjust some of the columns...
	set sort column of list view options of front window to name column
	set sort column of list view options of front window to kind column
	set width of column id name column of list view options of front window to 200
	set width of column id modification date column of list view options of front window to 170
	set width of column id size column of list view options of front window to 90
	set width of column id kind column of list view options of front window to 120
	*)
end tell

(*
tell application "System Events"
	if UI elements enabled then
		keystroke "t" using {command down, option down}
	else
		tell application "System Preferences"
			activate
			set current pane to pane "com.apple.preference.universalaccess"
			display dialog "UI element scripting is not enabled. Check \"Enable access for assistive devices\""
		end tell
	end if	
end tell
*)