7 Replies Latest reply: Feb 9, 2010 9:38 AM by PeterBreis0807
coxorange Level 1 Level 1 (40 points)
Is it possible to set the default for new Pages documents to "View Invisibles"
using a terminal command line like "defaults write com.apple.iWork.Pages..."?

Thanks!

Mac OS X (10.6.2)
  • fruhulda Level 6 Level 6 (15,120 points)
    That would be nice! I usually use Show invisibles. They are of great help.
  • Jerrold Green1 Level 7 Level 7 (29,855 points)
    c,

    Try creating a Template from a blank document with the View Invisibles turned on. Not sure this will work, but you can try it as easily as I can. I know that if I save a document with the View Invisibles option on, it opens that way the next time.

    Jerry
  • Level 8 Level 8 (41,780 points)
    We may get this behavior if we create a custom template with this feature set.
    I looked in such a document ad found that the setting is stored in the property
    SFWPShowInvisiblesProperty
    Alas, when I installed such property in the preferences file, the newly created documents didn't reflect it.
    I searched in the inthebox templates, there is no such property so, I assume that this one is introduced by the application code itself.

    I guessed a way to force it by default thru the inthebox templates.

    Navigate to reach :
    Macintosh HD:Applications:iWork '09:Pages.app:Contents:Resources:Templates:Blank.template:index-iso.xml.gz
    or Macintosh HD:Applications:iWork '09:Pages.app:Contents:Resources:Templates:Blank.template:index-trad.xml.gz
    if you use American paper size.

    Double click to expand it
    rename the original ,file as
    backup_index-iso.xml.gz
    or
    backup_index-trad.xml.gz
    In the expanded file, search for the string
    "</sl:SFWPCTShowDeletedTextProperty>"
    Just after it, insert the string:
    "<sl:SFWPShowInvisiblesProperty><sl:number sfa:number="1" sfa:type="c"/></sl:SFWPShowInvisiblesProperty>



    Save the file.
    After that, every document created from this template will default to "Show Hidden Characters".

    If you are interested, I may write a script able to apply the trick to every inthebox templates.

    Yvan KOENIG (VALLAURIS, France) mardi 15 décembre 2009 16:50:23
  • coxorange Level 1 Level 1 (40 points)
    If you are interested, I may write a script able to apply the trick to every inthebox templates.


    Thanks, that's not necessary - the solution you gave is perfect, no need for other templates - I rarely use them.

    But what I'm doing quite often is opening doc, docx or rtf files (which must be edited and then be saved as pages files). In these cases invisibles are also hidden by default. I'm afraid there is no solution for these cases...?

    (BTW, Yvan, since you are a scripting expert, would you please have a look my other question at http://discussions.apple.com/thread.jspa?threadID=2265857&stqc=true ? Thanks.)
  • Peggy Level 8 Level 8 (38,490 points)
    Unfortunately for those of us who would like templates to open with invisibles showing, the Pages engineers have decided we can't. There is a workaround, though, for templates you create yourself. Save the file as a Pages document with the invisibles showing & then change the extension in Finder to .template. Now the template will have invisibles showing.

    Of course, this doesn't work with the built-in templates, so I am just in the habit of typing ⌘ ⇧ i (& ⌘ ⇧ L for layout) when I open a template.

    I suggest you leave feedback for the Pages team regarding this. You can find it under the Pages menu > Provide Pages Feedback. That takes you to the same page as this link.

  • elainfi01 Level 1 Level 1 (0 points)
    I have a OS X 10.2.6 and have accidentally turned on an invisible feature that shows little arrows and dots in the text. I must have accidentally used a shortcut by hitting keys and do not know how to turn this feature off in the menu bar. I am in a database. Any suggestions out there? Elaine
  • PeterBreis0807 Level 7 Level 7 (32,435 points)
    Are you talking about some other (unnamed) database program, or Pages?

    Since this is the Pages forum, we will assume it is Pages:

    +Menu > View > Hide Invisibles+

    Peter