List View in Dock! I'm SO CLOSE! Please help.

TheSpaz

macrumors 604
Original poster
Jun 20, 2005
7,033
1
Okay... So I was hacking the Dock to see what I could do to it when I happened upon this file English.lproj>DockMenus.strings and I noticed way down on the bottom there is a "list" function. So I thought I'd try to put that in my Dock. Check out the screenshot here:
Picture 1.png

So I went ahead and opened DockMenus.plist in PropertyListEditor and found the Directory list and added "List" to that as seen below:
Picture 6.png

The problem is, I don't know the code number for the "List" command to trigger the List view so, I'm kinda stuck. Check out what I got so far.
Picture 2.png

I'm no hacker, so I don't know what code number to put in there to enable list but, it looks like there once was a list view that I just can't seem to get back. Anyone else who is better at this stuff wanna help me out or give this hack a shot? It seems like I'm on the right track but, I'm stuck. Thanks.
 

haiggy

macrumors 65816
Aug 20, 2003
1,319
68
Ontario, Canada
lol Wow, great work so far. That looks like it will be promising......
Why would Apple put in that functionality (or make it possible) and then get rid of it when a LOT of people used folders in their dock in Tiger?
 
Comment

Chupa Chupa

macrumors G5
Jul 16, 2002
14,834
7,394
lol Wow, great work so far. That looks like it will be promising......
Why would Apple put in that functionality (or make it possible) and then get rid of it when a LOT of people used folders in their dock in Tiger?
Good question. Hopefully it was one of those last minute conflict issues so they had to pull it for the GM but will include it in a future update. I would love to have the Tiger functionality back.
 
Comment

Khryz

macrumors 6502a
Jan 7, 2007
939
0
Awesome! And it's only been a few days.

E-mail Apple and ask them the rest. Lol.
 
Comment

MBX

macrumors 68000
Sep 14, 2006
1,799
383
i hope someone can help him
or apple release update with this option asap.
 
Comment

xUKHCx

Administrator emeritus
Jan 15, 2006
12,587
6
The Kop
I did this yesterday but all i could establish is

0=Grid
1=Fan
2=Grid
...
any number that isn't 1 means grid, obviously i didn't check every number only did -2 through 7.
 
Comment

TheSpaz

macrumors 604
Original poster
Jun 20, 2005
7,033
1
I did this yesterday but all i could establish is

0=Grid
1=Fan
2=Grid
...
any number that isn't 1 means grid, obviously i didn't check every number only did -2 through 7.
Yeah... without knowing the exact number... how are we supposed to figure it out?
 
Comment

TheSpaz

macrumors 604
Original poster
Jun 20, 2005
7,033
1
I have a question: How did the person who originally came up with the 2D Dock plist hack, find out about that edit without any previous trace of that setting in the original com.apple.dock.plist file. I looked at the file thoroughly and couldn't find that setting and I had to manually add it to the plist file. How do we figure out the secret codes to add to these plist files to get features that were pulled?
 
Comment

jbg232

macrumors 65816
Oct 15, 2007
1,141
2
You just made my day! Hopefully stacks is just a buggy application right now in Leopard and will be re-enabled shortly.

You are awesome, keep on chugging.... I agree that you should email apple for the answer - can't hurt right?
 
Comment

iTim314

macrumors 6502
Jun 5, 2005
326
3
U.S.
Yeah... without knowing the exact number... how are we supposed to figure it out?
It's quite possible no set number has been set, so any other number other than 1 would yield grid view.

That may have to wait for an update, not a simple string. =\
 
Comment

TheSpaz

macrumors 604
Original poster
Jun 20, 2005
7,033
1
It's quite possible no set number has been set, so any other number other than 1 would yield grid view.

That may have to wait for an update, not a simple string. =\
Bummer. I was under the impression that they were working on this feature and decided that it was useless and just deleted it from the DockMenus.plist. Damn.
 
Comment

xUKHCx

Administrator emeritus
Jan 15, 2006
12,587
6
The Kop
Chances are they looked at the plist file when the dock was on the side (it would've added that value) and when it was on the bottom.

I had a quick search through Dock.appusing a hex editor and didn't find anything of much use, the word List is too prevalent.

It's quite possible no set number has been set, so any other number other than 1 would yield grid view.

That may have to wait for an update, not a simple string. =\
Thats thought is pretty much what i had come to.
 
Comment

iTim314

macrumors 6502
Jun 5, 2005
326
3
U.S.
I had a quick search through Dock.app using a hex editor and didn't find anything of much use, the word List is too prevalent.
What Hex Editor were you using?

And is there another term (something generic used by developers to minimize confusion) for "list"?
 
Comment

motulist

macrumors 601
Dec 2, 2003
4,082
346
I had a quick search through Dock.appusing a hex editor and didn't find anything of much use, the word List is too prevalent.
Is it possible to do a search for 'list NEAR view' in the hex editor?

NEAR is the only boolean search command I miss. The search engine I used to use way back in the 90's was Alta Vista (iirc), and I used the NEAR search term all the time and it was super helpful in finding relevant results. Then Google came out and they didn't have the NEAR modifier, but were so much better otherwise that I switched to google.

Ah NEAR, how I miss thee.
 
Comment

xUKHCx

Administrator emeritus
Jan 15, 2006
12,587
6
The Kop
What Hex Editor were you using?

And is there another term (something generic used by developers to minimize confusion) for "list"?
0xED, to be honest I didn't put too much effort into this as i don't really care about enabling list view from a personal stand point.
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.