From: Bernard D. <bde...@or...> - 2007-03-05 20:52:42
|
Hi Kevin, Thanks for sharing this. I just tried it with some Help books already registered on my machine. It works fine from tclsh. For instance, with Rezilla (http://sourceforge.net/projects/rezilla/): % package require tclAppleHelp 1.0 % tclAppleHelp::GotoPage "Aide Rezilla" Aide Rezilla and the help displays as expected. OTOH a "package require tclAppleHelp" executed in Alpha from its Tcl shell reports: Error: no suitable image found. Did find: /Library/Tcl/tclAppleHelp/universal-macosx/tclAppleHelp.dylib: not a dylib Any idea what can cause this ? Is it because Alpha is currently not Universal. This is on a G5 with PPC. Bernard >tclAppleHelp 1.1, a critcl wrapper for Apple Carbon Help API functions, >is now available. > >WHAT IS TCLAPPLEHELP? > >tclAppleHelp allows you to use Apple's built-in help system for display >and searching of your HTML user documentation See >http://developer.apple.com/documentation/Carbon/Reference/Apple_Help/index.html >for the discussion of the Carbon Help API, and >http://developer.apple.com/documentation/Carbon/Conceptual/ProvidingUserAssitAppleHelp/index.html >for discussion of how to prepare and deploy user documentation in the >Apple Help format. > >TCLAPPLEHELP COMMANDS > >tclAppleHelp defines two commands: > >tclAppleHelp::RegisterHelpBook: registers an Apple Help book with OS X >on application launch. > >tclAppleHelp::GotoPage myBookName: launches your help book, using the >name of the help book as an argument. > >GETTING TCLAPPLEHELP > >More information about tclAppleHelp, including documentation, source, >and a universal binary build for OS X PPC/Intel, can be found at >http://tk-components.sourceforge.net/tclapplehelp/index.html. >tclAppleHelp is available under a BSD-style license. > >(Note: because the critcl2 system used to build tclAppleHelp is still in >beta, detailed build instructions are available at the website if you >want to build it yourself.) > > > |