• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help Book Name with spaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help Book Name with spaces


  • Subject: Re: Help Book Name with spaces
  • From: Darkshadow <email@hidden>
  • Date: Thu, 9 Mar 2006 08:05:09 -0500


On Mar 09, 2006, at 12:14 AM, Bill Patterson wrote:

I've got an application with two words in the executable. When I added the second word, the help stopped working. It opens the help viewer, but displays an empty page. Making changes one at a time, I discovered that by adding a space to the help book name CFBundleHelpBookName, such as "VelaStar Monitor Help" causes it to fail, at least in 10.4.3. Making this " VelaStarMonitor Help" works.

The problem is, it lists it in the Help View library menu as "VelaStarMonitor Help", and the title of the window is the same.

Yes, I'm changing both info.plist and help file AppleTitle parameters.

This works:

HTML:
<meta name="AppleTitle" content="VelaStarMonitor Help">

info.plist
   <key>CFBundleHelpBookName</key>
   <string>VelaStarMonitor Help</string>


This doesn't:

HTML:
<meta name="AppleTitle" content="VelaStar Monitor Help">

info.plist
   <key>CFBundleHelpBookName</key>
   <string>VelaStar Monitor Help</string>


Any ideas? I assume there is a work-around, as I noticed Address Book does this without the info.plist parameter.


Thanks,

Bill Patterson

Hmm, one of my apps has a two word name and works correctly with Help.

One difference I have (though you may have just omitted it) is a key for CFBundleHelpBookFolder. Here's how mine looks:

HTML:
<meta name="AppleTitle" content="Pref Setter Help" />

info.plist:
	<key>CFBundleHelpBookFolder</key>
	<string>Pref Setter Help</key>
	<key>CFBundleHelpBookName</key>
	<string>Pref Setter Help</string>

It all works fine on my end, though I'll be honest and say that I don't remember having tried opening my Help in 10.4.3 (I'm running 10.4.5 currently). I haven't had anybody write in saying that it wasn't working, either.

Hmm, possibly another difference I have is that my help folder is localized. I also indexed it with Help Indexer.


Darkshadow (aka Michael Nickerson)



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Help Book Name with spaces
      • From: email@hidden
References: 
 >Help Book Name with spaces (From: Bill Patterson <email@hidden>)

  • Prev by Date: New Cocoa Drawing Guide
  • Next by Date: Re: playing swf file
  • Previous by thread: Help Book Name with spaces
  • Next by thread: Re: Help Book Name with spaces
  • Index(es):
    • Date
    • Thread