Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > can I set a 'default' to always open and create new folders in list view Not icon?

can I set a 'default' to always open and create new folders in list view Not icon?
Thread Tools
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Apr 23, 2007, 01:33 PM
 
Ive never been able to figure out how to do this. maybe someone here knows:

Id like all folders , new and old to open in list view with the second column being size.

any way to do this? the defualt seems to be icon view with the stuff on the left what ever you call that

cheers and thaks
MacPro 2.66 dual 3GB RAM 1.5 TB HD's
24" + 21" Samsung flat panels
Miglia mini HD (Great!)
     
Grizzled Veteran
Join Date: May 2001
Location: Ca
Status: Offline
Reply With Quote
Apr 23, 2007, 05:26 PM
 
Open a new Finder window and get it to look the way you want, Size, your favorite way to look at the files. Then close that window, the right after closing the first window, open a new one. The new window should look like the one you just setup. Sometimes this doesn't work but lets cross that bridge when we get there.

There also might be a better way of doing this. But this has worked for me.


real
With some loud music + a friend to chat nearby you can get alot done. - but jezz, I'd avoid it if I had the choice---- If only real people came with Alpha Channels.......:)
AIM:xflaer
deinterlaced.com
     
Grizzled Veteran
Join Date: Mar 2004
Status: Offline
Reply With Quote
Apr 24, 2007, 08:57 PM
 
> " Id like all folders, new and old to open in list view with the second column being size. "

IMPOSSIBLE
[unfortunately]
-HI-
     
rotuts  (op)
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Apr 25, 2007, 08:24 AM
 
Thanks for the insight. Im guessing impossible is correct. how odd. not even a ulitliy out there to fix this.

what an oversight!

maybe 10.5 will add options to presentations
MacPro 2.66 dual 3GB RAM 1.5 TB HD's
24" + 21" Samsung flat panels
Miglia mini HD (Great!)
     
Baninated
Join Date: Oct 2002
Location: In yer threads
Status: Offline
Reply With Quote
Apr 25, 2007, 10:30 AM
 
Yeah it sux. I HATE the default view.
     
Senior User
Join Date: Oct 2004
Location: Portugal
Status: Offline
Reply With Quote
Apr 28, 2007, 04:36 AM
 
you could do it via an applescript, and you could place it in the toolbar...
     
Grizzled Veteran
Join Date: Mar 2004
Status: Offline
Reply With Quote
Apr 28, 2007, 11:15 AM
 
Originally Posted by Madrag View Post
you could do it via an applescript, and you could place it in the toolbar...
yes . . . continue . . .
-HI-
     
Senior User
Join Date: Oct 2004
Location: Portugal
Status: Offline
Reply With Quote
Apr 28, 2007, 01:41 PM
 
Originally Posted by Hal Itosis View Post
yes . . . continue . . .
you need help? I'll create the script and post it.
     
rotuts  (op)
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Apr 28, 2007, 02:32 PM
 
Id actually like to see the script and instructions on how to use it.

please note Ive never used a script before but would love to do this here.

in the menu bar?

many thanks
MacPro 2.66 dual 3GB RAM 1.5 TB HD's
24" + 21" Samsung flat panels
Miglia mini HD (Great!)
     
Senior User
Join Date: Oct 2004
Location: Portugal
Status: Offline
Reply With Quote
Apr 28, 2007, 04:15 PM
 
I'll post the instructions as well, I've got the script working, the only part missing is the size column order, as soon as I have that figured out, I'll post it here.

Originally Posted by rotuts View Post
in the menu bar?
Not the menu bar, the toolbar (but you could also install it in the applescript menu)
     
rotuts  (op)
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Apr 28, 2007, 05:58 PM
 
this would be terrific as I might then ***start*** to learn about apl script!

I thought of this a few years ago then thought I might also take a ***nap***

many cheers!
MacPro 2.66 dual 3GB RAM 1.5 TB HD's
24" + 21" Samsung flat panels
Miglia mini HD (Great!)
     
Senior User
Join Date: Oct 2004
Location: Portugal
Status: Offline
Reply With Quote
Apr 29, 2007, 08:15 AM
 
ok, here goes:

1. open script editor
2. paste the code that you can find in this post and save it as an application without the startup screen.
3. place the newly created app into a resindent place (like /Applications/Utilities )
4. where you plan to use it:
A. if you intend to put the script in the toolbar (at the finder window), just pick that app and while pressing the command key, drag it into the toolbar and drop it into the desired place.
B. if you prefer to use it via the applescript menu (next to the sound menu, time and date, etc), just put it into the scripts folder.

The codes:

NOTICE:
If the scripts posted here by me, ruin your/anyones' folders/files, I may not be held responsible, the scripts are distributed "as is" and you use it at your own risk.

If you plan to use it via the applescript menu, there is a bug, because you cannot create a folder into the desktop (I would need to do a better version of the script so it works that way, ATM it relies on the front window).

It's also possible to do a recursive list view change for all your other folders, but not included in the script for the list view change...

code for the create list view folder:
(*
create a list view folder
*)

property containerFolder : ""
property newfolderName : ""

on run
tell application "Finder"
try
set containerFolder to (folder of the front window as string)
on error
display dialog "Error!" buttons {"OK"} default button 1
return 0
end try

my setMyName()
end tell
end run

on setMyName()
activate
display dialog "folder name:" & return ¬
default answer ¬
"untitled folder" buttons {"Cancel", "OK"} with icon note

copy the result as list to {SettingsReunidos, button_pressed}

--***** se cancelar *********
if the button_pressed is "Cancel" then return 0

--******** definir variáveis ************
set AppleScript's text item delimiters to tab

--reunir os settings:
set newfolderName to text item 1 of SettingsReunidos as string

my createMyFolder()

end setMyName

on createMyFolder()

--criar a pasta se esta não existir:
tell application "Finder"

if not (exists folder newfolderName of folder containerFolder) then
set newFolderPath to make new folder at containerFolder with properties {name:newfolderName as string}

open newFolderPath

--list view
set current view of Finder window newfolderName to list view

--size column
--torná-la visivel:
set visible of column size column of list view options of Finder window newfolderName to true

--passar o size para segunda posição:
set index of column size column of list view options of Finder window newfolderName to 2

--tirar a toolbar:
--COMMENT THIS IF YOU WANT TO KEEP THE TOOLBAR:
--set toolbar visible of Finder window newfolderName to false


else
--já existe:
display dialog ("A folder named " & newfolderName & " already exists." & return & ¬
"Please chose another folder name.")


if button returned of result is "cancel" then return 0

my setMyName()

end if

end tell
end createMyFolder
code for the change list view:
(*
change list view
*)

on run
tell application "Finder"
try
set frontWindow to 1
on error
display dialog "Error!" buttons {"OK"} default button 1
return 0
end try


--list view
set current view of Finder window frontWindow to list view

--size column
--torná-la visivel:
set visible of column size column of list view options of Finder window frontWindow to true

--passar o size para segunda posição:
set index of column size column of list view options of Finder window frontWindow to 2

--tirar a toolbar:
--COMMENT THIS IF YOU WANT TO KEEP THE TOOLBAR:
--set toolbar visible of Finder window frontWindow to false
end tell
end run
     
Senior User
Join Date: Oct 2004
Location: Portugal
Status: Offline
Reply With Quote
Apr 30, 2007, 12:58 PM
 
I found this article explaining how to change the default column orders (although this doens't help when creating new folders, becasue these will be as icon view, that's where my script enters).

http://www.macosxhints.com/article.p...w+column+order
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 09:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2