Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #79137

Re: View Options -> Grid Spacing

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: View Options -> Grid Spacing
Date 2015-08-29 19:45 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <d4egfcF1vb5U2@mid.individual.net> (permalink)
References <agisaak-B653CE.11004829082015@shawnews> <d4e7mhFu2slU1@mid.individual.net> <d4e9ajFu2slU2@mid.individual.net> <agisaak-E9EFF1.11521929082015@shawnews>

Show all headers | View raw


On 2015-08-29, Andre G. Isaak <agisaak@gmail.com> wrote:
> In article <d4e9ajFu2slU2@mid.individual.net>,
>  Jolly Roger <jollyroger@pobox.com> wrote:
>
>> On 2015-08-29, Jolly Roger <jollyroger@pobox.com> wrote:
>> > On 2015-08-29, Andre G. Isaak <agisaak@gmail.com> wrote:
>> >> Does anyone know if there is a way to get/set the Grid Spacing option 
>> >> for a specific folder from the Terminal rather than the Finder?
>> >
>> > It looks like you can do it through AppleScript, which can be run
>> > through the command line with the osascript command:
>> >
>> ><http://macscripter.net/viewtopic.php?id=40430>
>> 
>> Ewww. I just realized that's using GUI scripting, which is almost
>> certainly not what you want.
>> 
>> Anyway in OS X 10.10, it looks like the preference setting is stored in
>> the com.apple.finder defaults in the gridSpacing element of the
>> IconViewSettings dictionary, which is in the DesktopViewSettings
>> dictionary.
>
> Thanks for the pointers.
>
> Just to clarify, I'm looking to change the settings for specific 
> folders. I think your suggestions pertain to the default view settings.

I think you're right. In that case, you're looking at modifying the
.DS_Store file located within the desired folder's directory. I don't
know of any command-line tools that allow you to modify DS_Store file
contents. The best description I've found of DS_Store file contents is
here:

<https://wiki.mozilla.org/DS_Store_File_Format>

I suppose you could set a folder the way you want, then examine its
.DS_Store file to see if you can figure out which bit to set.

Probably more work than it's worth though.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

View Options -> Grid Spacing "Andre G. Isaak" <agisaak@gmail.com> - 2015-08-29 11:00 -0600
  Re: View Options -> Grid Spacing Jolly Roger <jollyroger@pobox.com> - 2015-08-29 17:16 +0000
    Re: View Options -> Grid Spacing Jolly Roger <jollyroger@pobox.com> - 2015-08-29 17:43 +0000
      Re: View Options -> Grid Spacing "Andre G. Isaak" <agisaak@gmail.com> - 2015-08-29 11:52 -0600
        Re: View Options -> Grid Spacing Jolly Roger <jollyroger@pobox.com> - 2015-08-29 19:45 +0000
          Re: View Options -> Grid Spacing "Andre G. Isaak" <agisaak@gmail.com> - 2015-08-30 08:41 -0600

csiph-web