Re: $10 for a few minutes work
Re: $10 for a few minutes work
- Subject: Re: $10 for a few minutes work
- From: Wade Tregaskis <email@hidden>
- Date: Mon, 8 Nov 2004 22:47:10 +1100
Well, I'm stumped. I've tried:
a) Defining a type for the application, since it was ???? to begin with
(and a lot of things in AppKit and related can't handle that)
b) Defining the keys in InfoPlist.strings and Info.plist (one or the
other, and both, and neither)
c) Replaced the html extension with htm
d) Replaced the html file with a generic one based on iMovie's help,
without CSS (Help Viewer can open the page fine anyway, but I thought
it worth a shot)
e) Renamed files to try and see if there's some implicit extensions
being appended or similar, or issues with spaces, or whatever (note:
iMovie's help uses spaces in everything, including folder names)
f) Moved & copied the help files into both Resources/ and
Resources/English.lproj (aside from
Resources/English.lprog/PersonalAideHelp/), both with directory
hierarchy and flatly
g) Tried recording AppleEvents to see what's being passed to Help
Viewer (no luck... does Script Editor's record button ever work for
anything?!?)
h) Checked out Help Viewer's launch command for any CLI parameters; no
luck (other than PSN)
....
The list goes on. I'd say this is an Apple bug, one way or another -
there's no rational explanation for this. Whether you're doing some
wrong or not, you (and I) have both followed Apple's documentation to
the letter, and I've compared every single relevant file to iMovie's
and they are perfectly equivalent. If nothing else, it's a
documentation issue. I suspect some sort of tricky XCode or
XCode-related bug; it has numerous times suddenly stopped building the
project, or generated binaries which crash on startup with SIGTRAP
(with complaints about not being able to find your embedded framework,
despite the fact it is quite clearly there as normal). Randomly
removing files and adding them back again usually fixes it (typical
XCode solution). :/
As a next step, you could try registering your help manually (it's
supposed to be grabbed from your Info.plist, but perhaps that's not
happening). You could also try using the AppKit help stuff directly,
rather than relying on NSApplication's showHelp.
For now, this has blown out to $5 an hour, and I've got an exam
tomorrow, so I'll leave it to others. :)
Wade Tregaskis (AIM, Yahoo & Skype: wadetregaskis, ICQ: 40056898, MSN &
email: email@hidden, Jabber:
email@hidden)
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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