Welcome to MacForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Finder: configure the view the way I like it

 
   Macintosh computer (Home) -> System RSS
Next:  Looking to create simple games...  
Author Message
Martin Trautmann

External


Since: Feb 05, 2004
Posts: 155



(Msg. 1) Posted: Thu Feb 17, 2005 5:40 am
Post subject: Finder: configure the view the way I like it
Archived from groups: comp>sys>mac>system (more info?)

this post is not archived.

 >> Stay informed about: Finder: configure the view the way I like it 
Back to top
Login to vote
matt neuburg1

External


Since: Sep 18, 2003
Posts: 1258



(Msg. 2) Posted: Thu Feb 17, 2005 7:40 am
Post subject: Re: Finder: configure the view the way I like it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Martin Trautmann wrote:

 > Hi all,
 >
 > ist there any Chance to configure the Finder the way *I* feel it's
 > reasonable?
 >
 > I suppose I tried every option how to create a reasonable default view,
 > applying it for all. This should be
 >
 > List view with
 >
 > Name kind size mod.date creat.
 > up to30 chars type 12 MB 2005-02-17 10:40 2004-12-31
 >
 >
 > However, the default ist
 >
 > 1) lots of space for the name
 > 2) long mod. date format, using relative dates
 > 3) long creation date format, ""
 > 4) kind
 > 5) size
 >
 > (I'm not very sure about 4-5 or 5-4 at the moment)
 >
 >
 > How do I set the desired display as default for every folder, own ones
 > or external, old and new?
 >
 > The Finder just does not behave as expected: I do have the option to set
 > a checkbox in order to use the current setup as default for every folder,
 > but it just does not work. Is this a Finder bug? OSX: 10.3.8
 > Is there any obvious or hidden way (resource hack, /etc/configuration,
 > AppleScript manipulation, ...) how to get this done?

Try Path Finder.

<http://www.versiontracker.com/dyn/moreinfo/macosx/16678>

m.

--
matt neuburg, phd = matt.TakeThisOut@tidbits.com, <a rel="nofollow" style='text-decoration: none;' href="http://www.tidbits.com/matt/" target="_blank">http://www.tidbits.com/matt/</a>
AppleScript: The Definitive Guide
<a rel="nofollow" style='text-decoration: none;' href="http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt" target="_blank">http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt</a>
Read TidBITS! It's free and smart. <a rel="nofollow" style='text-decoration: none;' href="http://www.tidbits.com" target="_blank">http://www.tidbits.com</a>

 >> Stay informed about: Finder: configure the view the way I like it 
Back to top
Login to vote
Martin Trautmann

External


Since: Feb 05, 2004
Posts: 155



(Msg. 3) Posted: Thu Feb 17, 2005 7:40 am
Post subject: Re: Finder: configure the view the way I like it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
matt neuburg1

External


Since: Sep 18, 2003
Posts: 1258



(Msg. 4) Posted: Thu Feb 17, 2005 1:40 pm
Post subject: Re: Finder: configure the view the way I like it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Martin Trautmann wrote:

 > On Thu, 17 Feb 2005 11:11:35 GMT, matt neuburg wrote:
  > > Try Path Finder.
 >
 > Thanks, I'll give it a try.
 >
 > But I'd prefer a solution without extra cost, with upgrades
 > following Apples security updates, without loss of speed, memory, cpu
 > usage.

Of course you would. You'd prefer that Apple's Finder didn't suck. We
all would. Now back to the real world, please. m.

--
matt neuburg, phd = matt.RemoveThis@tidbits.com, <a rel="nofollow" style='text-decoration: none;' href="http://www.tidbits.com/matt/" target="_blank">http://www.tidbits.com/matt/</a>
AppleScript: The Definitive Guide
<a rel="nofollow" style='text-decoration: none;' href="http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt" target="_blank">http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt</a>
Read TidBITS! It's free and smart. <a rel="nofollow" style='text-decoration: none;' href="http://www.tidbits.com" target="_blank">http://www.tidbits.com</a>
 >> Stay informed about: Finder: configure the view the way I like it 
Back to top
Login to vote
alwyn

External


Since: Jan 13, 2005
Posts: 40



(Msg. 5) Posted: Thu Feb 17, 2005 6:40 pm
Post subject: Re: Finder: configure the view the way I like it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 17 Feb 2005 17:47:50 +0000, matt neuburg wrote:
 >
 > Of course you would. You'd prefer that Apple's Finder didn't suck. We
 > all would.

I think writing an efficient and responsive Finder-type program must be
very hard. I suspect that some of the slowness in Path Finder that people
are complaining about on VersionTracker is due to overheads inherent in
the Cocoa development framework; all those 'retain's and 'release's exact
a heavy toll in the presence of very large data sets, as noted here:
<http://www.mulle-kybernetik.com/artikel/Optimization/opti-4.html>
Yet Apple's Finder is written to the Carbon API, and that isn't
particularly fast either.


Alwyn
 >> Stay informed about: Finder: configure the view the way I like it 
Back to top
Login to vote
Fetch, Rover, Fetch

External


Since: Feb 09, 2005
Posts: 110



(Msg. 6) Posted: Thu Feb 17, 2005 8:33 pm
Post subject: Re: Finder: configure-apple script code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

follows previous posting -
applescript code
this will set the finder windows for all windows, recursively
drag the drive (or folder) you want to set onto the applescript
wait a bit - seconds for a simple folder, minutes for an entire drive

to make the applescript:
open script editor
copy the code below
paste into a new empty script window
save as an application


Martin Trautmann wrote:
 > Hi all,
 >
 > ist there any Chance to configure the Finder the way *I* feel it's
 > reasonable?
 >
 > I suppose I tried every option how to create a reasonable default view,
 > applying it for all. This should be
 >
 > List view with
 >
 > Name kind size mod.date creat.
 > up to30 chars type 12 MB 2005-02-17 10:40 2004-12-31
 >
 >
 > However, the default ist
 >
 > 1) lots of space for the name
 > 2) long mod. date format, using relative dates
 > 3) long creation date format, ""
 > 4) kind
 > 5) size
 >
 > (I'm not very sure about 4-5 or 5-4 at the moment)
 >
 >
 > How do I set the desired display as default for every folder, own ones
 > or external, old and new?
 >
 > The Finder just does not behave as expected: I do have the option to set
 > a checkbox in order to use the current setup as default for every folder,
 > but it just does not work. Is this a Finder bug? OSX: 10.3.8
 > Is there any obvious or hidden way (resource hack, /etc/configuration,
 > AppleScript manipulation, ...) how to get this done?
 >
 >
 > Thanks,
 > Martin

-- written by Ben Waldie
-- a few changes by Camelhump

-- this script will set the folder (or disk) dropped on it
-- and all of its sub folders:
-- to list view
-- sets the name column to 200 (pixels) in width - see nameclumnwidth
-- sets the date column to 90 pixels in width - this work best with
absolute dates, not relative dates - see datecolumnwidth
-- sets the window size to 300 (wide) by 400 (tall) pixels (see
commonwindowbounds for these values)
-- will cascade (with the offset being 15 pixels - see amounttocascade -
subfolder windows

property commonWindowBounds : {10, 50, 300, 400} -- The initial bounds
for the windows
property amountToCascade : 15 -- The amount you'd like to cascade the
sub-windows
property nameColumnWidth : 200 -- The width of the name column
property dateColumnWidth : 90 -- The width of the date column

-- Main Routines
on open theList
  set theOpenedWindows to getOpenedWindows()
  repeat with a from 1 to (count theList) -- for all items in the directory
   set cItem to (item a of theList)
   if isFolder(cItem) then -- is this a folder? if so process
    setSubFoldersView({cItem}, commonWindowBounds) -- Sets the view of
the current folder
    SetViews(cItem, commonWindowBounds) -- set the window and column sizes
   end if
  end repeat
  openFolders(theOpenedWindows) -- get more folders
end open

on SetViews(theFolder, theBounds)
  if amountToCascade ≠ 0 then -- is there an offset desired
   set theBounds to {(item 1 of theBounds) + amountToCascade, (item 2 of
theBounds) + amountToCascade, (item 3 of theBounds) + amountToCascade,
(item 4 of theBounds) + amountToCascade}
  end if
  setSubFoldersView(theFolder, theBounds) -- Sets the view of the current
folder's subfolders
  set theSubFolderList to getFolderList(theFolder)
  repeat with a from 1 to (count theSubFolderList) -- get this folders
dub folders
   SetViews(item a of theSubFolderList, theBounds)
  end repeat
end SetViews

on setSubFoldersView(theVal, theBounds)
  openFolders(theVal)
  if countWindows() = 0 then return -- if there are no windows exit
  setWindowsProperties(theBounds) -- set window size
  setWindowsColumnWidth(nameColumnWidth, dateColumnWidth) --set columna
widths
  closeWindows()
end setSubFoldersView

-- Finder Routines
on getOpenedWindows()
  tell application "Finder" to return folder of every window
end getOpenedWindows

on countWindows()
  tell application "Finder" to count windows
end countWindows

on closeWindows()
  tell application "Finder" to close every window
end closeWindows

on isFolder(thePath)
  tell application "Finder" to return (kind of thePath = "folder") or
(kind of thePath = "volume")
end isFolder

on getFolderList(theFolder)
  tell application "Finder" to return every folder of theFolder
end getFolderList

on openFolders(theVal)
  tell application "Finder"
   if (class of theVal) = list then
    open theVal
   else
    open every folder of theVal
   end if
  end tell
end openFolders

on setWindowsProperties(theBounds)
  tell application "Finder" to set properties of every window to {current
view:list view, bounds:theBounds}
  tell application "Finder" to set properties of every window to {toolbar
visible:false}
end setWindowsProperties

on setWindowsColumnWidth(thenameWidth, thedatewidth)
  tell application "Finder" to set width of column name column of list
view options of every window to thenameWidth
  tell application "Finder" to set width of column modification date
column of list view options of every window to thedatewidth
end setWindowsColumnWidth
 >> Stay informed about: Finder: configure the view the way I like it 
Back to top
Login to vote
Martin Trautmann

External


Since: Feb 05, 2004
Posts: 155



(Msg. 7) Posted: Fri Feb 18, 2005 6:40 am
Post subject: Re: Finder: configure the view the way I like it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Martin Trautmann

External


Since: Feb 05, 2004
Posts: 155



(Msg. 8) Posted: Fri Feb 18, 2005 6:40 am
Post subject: Re: Finder: configure-apple script code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Fetch, Rover, Fetch

External


Since: Feb 09, 2005
Posts: 110



(Msg. 9) Posted: Fri Feb 18, 2005 8:40 am
Post subject: Re: Finder: configure-apple script code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Martin Trautmann wrote:
 > On Thu, 17 Feb 2005 19:33:12 -0500, Fetch, Rover, Fetch wrote:
 >
  >> this will set the finder windows for all windows, recursively
  >> drag the drive (or folder) you want to set onto the applescript
  >> wait a bit - seconds for a simple folder, minutes for an entire drive
 >
 >
 > Thanks! This will define the properties manually. I'll give it a try.
 > I prefered that what the user interface claims, setting a default
 > behavior would be possible. However, Apple's wisdom must be greater than
 > mine :-/
BTW -
if you do the entire drive -
at some point the script will crap out with an error -
this is to be expected, as the finder/user & script donot have
permissions to access the settings of some folders (primaily system
related).

simply note which folder the script stopped on - and start the script
again (drag and drop) folders (after alphabetically) the one that it
stopped on.

Follow?
 >> Stay informed about: Finder: configure the view the way I like it 
Back to top
Login to vote
matt neuburg1

External


Since: Sep 18, 2003
Posts: 1258



(Msg. 10) Posted: Fri Feb 18, 2005 9:40 am
Post subject: Re: Finder: configure-apple script code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fetch, Rover, Fetch wrote:

 > Martin Trautmann wrote:
  > > On Thu, 17 Feb 2005 19:33:12 -0500, Fetch, Rover, Fetch wrote:
  > >
   > >> this will set the finder windows for all windows, recursively
   > >> drag the drive (or folder) you want to set onto the applescript
   > >> wait a bit - seconds for a simple folder, minutes for an entire drive
  > >
  > >
  > > Thanks! This will define the properties manually. I'll give it a try.
  > > I prefered that what the user interface claims, setting a default
  > > behavior would be possible. However, Apple's wisdom must be greater than
  > > mine :-/
 > BTW -
 > if you do the entire drive -
 > at some point the script will crap out with an error -
 > this is to be expected, as the finder/user & script donot have
 > permissions to access the settings of some folders (primaily system
 > related).
 >
 > simply note which folder the script stopped on - and start the script
 > again (drag and drop) folders (after alphabetically) the one that it
 > stopped on.

Why not just add error handling to the script? One thing that's actually
good about AppleScript is its error handling, so it seems a pity not to
take advantage of this. m.

--
matt neuburg, phd = matt DeleteThis @tidbits.com, <a rel="nofollow" style='text-decoration: none;' href="http://www.tidbits.com/matt/" target="_blank">http://www.tidbits.com/matt/</a>
AppleScript: The Definitive Guide
<a rel="nofollow" style='text-decoration: none;' href="http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt" target="_blank">http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt</a>
Read TidBITS! It's free and smart. <a rel="nofollow" style='text-decoration: none;' href="http://www.tidbits.com" target="_blank">http://www.tidbits.com</a>
 >> Stay informed about: Finder: configure the view the way I like it 
Back to top
Login to vote
Victor Eijkhout2

External


Since: Nov 17, 2003
Posts: 34



(Msg. 11) Posted: Fri Feb 18, 2005 10:40 am
Post subject: Re: Finder: configure the view the way I like it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Martin Trautmann wrote:

  > > Try Path Finder.
 >
 > Thanks, I'll give it a try.
 >
 > But I'd prefer a solution without extra cost, with upgrades
 > following Apples security updates, without loss of speed, memory, cpu
 > usage.

I've been using PathFinder for quite a while, and haven't noticed
conflicts with any Apple updates.

There are occasional annoyances (I wish they'd fix the "blank name" bug)
and maybe it's slower than the regular Finder, but the functionality is
great.

V.
--
email: lastname at cs utk edu
homepage: www cs utk edu tilde lastname
 >> Stay informed about: Finder: configure the view the way I like it 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
how to set default view in finder? - hi there i want to set the default view for new folders to "list view". so when i create a new folder and open it in fider it should automatically open in "list view" and not in "icon-rows view". how can i achieve that? ...

Finder view options - Hey folks, I want to make my finder show a "List" by default instead of the icons. But, I want it to do this for every directory no matter what. I can't for the life of me figure out how to set it to do this and to always stay that way. Any ...

Finder Classic view in OSX 10.4 - How do you get the classic view in the finder to be the default for all folders?

Forcing Finder to use one view type for all windows. - Would anyone know how to force the finder to use the one view type (List view is my preference) for every window that it opens? At the moment I can set all new windows to open as List view by opening a new window from the dock, setting it to List and....

Finder, List view, file length? - So I set the Finder view to List. I take out all the columns. You would think I would have the full screen width to use for the file names. But no. Is there any way of using more than about 40% of the available screen width? I work with very long...
   Macintosh computer (Home) -> System All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]