Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Two week view in Calendar in Yosemite
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="geezerhiker" data-source="post: 1616913" data-attributes="member: 336756"><p><strong>Aha! Success!</strong></p><p></p><p>Didn't figure out the problem with the shell command but I worked around it by modifying the plist file for iCal in Library/Preferences, which is where the "defaults" command stores the goodies. Here is the outline:</p><p></p><ol> <li data-xf-list-type="ol">Quit Calendar</li> <li data-xf-list-type="ol">Find the Property LIst file</li> <li data-xf-list-type="ol">Make a backup copy of the Property LIst file on the Desktop, just in case you screw the next step up</li> <li data-xf-list-type="ol">Edit the Property LIst file</li> <li data-xf-list-type="ol">Restart the computer</li> <li data-xf-list-type="ol">Open Calendar</li> </ol><p></p><p>For #2: in the Finder, Option-click the Go menu and click on Library; then navigate to Preferences and select "com.apple.iCal.plist". On my machine the full path of this file is </p><p style="margin-left: 20px">/Users/al/Library/Preferences/com.apple.iCal.plist</p><p></p><p>#3: Option-drag the plist file to your Desktop.</p><p></p><p>#4a: Open the plist file in Property List Editor. On my machine I just double-click and get PLE by default but I'm not sure that this is a standard app - it may be part of Xcode. If PLE doesn't open, you can try the same thing with a standard text editor like TextEdit or BBEdit - see #4b</p><p></p><p>In PLE you want to enter a new key. They seem to be in alphabetical order so I put mine right before a whole boatload of keys starting with "NS". So select the item before those and click on "Add item"</p><ul> <li data-xf-list-type="ul">Type "n days of week" in the "Key" column</li> <li data-xf-list-type="ul">Select "Number" in the "Type" column</li> <li data-xf-list-type="ul">Enter "14" in the "Value" column</li> </ul><p>(Actually, I put "10" in the Value column, but that's just me)</p><p>Save and close, and proceed to the restart.</p><p></p><p>#4b If you don't have Property List Editor, you should be able to accomplish the same thing in a simple test editor.</p><p>Oops! I'm going to have to take that back - I just opened it in TextEdit and got gibberish. Apparently the file uses a text encoding that TextEdit can't handle, and TextWrangler didn't work, either. It does look fine in BBEdit, though, and they have a free trial offer, I believe (<a href="http://www.barebones.com" target="_blank">Bare Bones Software | Welcome</a>)</p><p></p><p>Anyhow, here is what the relevant section of the plist file looks like in BBEdit:</p><p style="margin-left: 20px"> <key>lastViewsTimeZone</key></p> <p style="margin-left: 20px"> <string>America/Los_Angeles</string></p> <p style="margin-left: 20px"><strong> <key>n days of week</key></strong></p> <p style="margin-left: 20px"><strong> <integer>10</integer></strong></p> <p style="margin-left: 20px"><strong></strong> <key>number of hours displayed</key></p> <p style="margin-left: 20px"> <integer>16</integer></p> <p style="margin-left: 20px"></p><p>Your job would be to add lines 3 & 4.</p></blockquote><p></p>
[QUOTE="geezerhiker, post: 1616913, member: 336756"] [b]Aha! Success![/b] Didn't figure out the problem with the shell command but I worked around it by modifying the plist file for iCal in Library/Preferences, which is where the "defaults" command stores the goodies. Here is the outline: [LIST=1] [*]Quit Calendar [*]Find the Property LIst file [*]Make a backup copy of the Property LIst file on the Desktop, just in case you screw the next step up [*]Edit the Property LIst file [*]Restart the computer [*]Open Calendar [/LIST] For #2: in the Finder, Option-click the Go menu and click on Library; then navigate to Preferences and select "com.apple.iCal.plist". On my machine the full path of this file is [INDENT]/Users/al/Library/Preferences/com.apple.iCal.plist[/INDENT] #3: Option-drag the plist file to your Desktop. #4a: Open the plist file in Property List Editor. On my machine I just double-click and get PLE by default but I'm not sure that this is a standard app - it may be part of Xcode. If PLE doesn't open, you can try the same thing with a standard text editor like TextEdit or BBEdit - see #4b In PLE you want to enter a new key. They seem to be in alphabetical order so I put mine right before a whole boatload of keys starting with "NS". So select the item before those and click on "Add item" [LIST] [*]Type "n days of week" in the "Key" column [*]Select "Number" in the "Type" column [*]Enter "14" in the "Value" column [/LIST] (Actually, I put "10" in the Value column, but that's just me) Save and close, and proceed to the restart. #4b If you don't have Property List Editor, you should be able to accomplish the same thing in a simple test editor. Oops! I'm going to have to take that back - I just opened it in TextEdit and got gibberish. Apparently the file uses a text encoding that TextEdit can't handle, and TextWrangler didn't work, either. It does look fine in BBEdit, though, and they have a free trial offer, I believe ([url=http://www.barebones.com]Bare Bones Software | Welcome[/url]) Anyhow, here is what the relevant section of the plist file looks like in BBEdit: [INDENT] <key>lastViewsTimeZone</key> <string>America/Los_Angeles</string> [B] <key>n days of week</key> <integer>10</integer> [/B] <key>number of hours displayed</key> <integer>16</integer> [/INDENT]Your job would be to add lines 3 & 4. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Two week view in Calendar in Yosemite
Top