How to integrate Help topic in to ASOC application?

Hi all,

How i can integrate help topic in my application? And call him by press F1-key or special help-button?

Regards, Alexey

Do you mean normal application Help? If so, the answer is with lots of work.

But you can also have something like a PDF, and have the command in the Help menu just open the file.

Hi^ Shane

Yes, i want to open PDF or HTML file…

Hm, in your greater book, i think have a chapter about open files for read. I’m just on chapter 5.

Here’s what I use, attach action to Help menu item or your own menu item.


on helpMenu_(sender)
		set HelpDoc to ((path to resource "SomeHelpFile.pdf") as string)
		tell application "Finder" to open (HelpDoc as alias)
	end helpMenu_

To be picky, you are needlessly coercing the alias returned by path to resource to a string, only to coerce it back in the next line.