Message Boards Message Boards

0
|
2746 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

How to write a single command to bring up a specific Documentation page?

Posted 1 year ago

I would like to write a single command that will directly bring up a specific Documentation guide or reference symbol page. I do not want to indirectly display a search page that has the specific page as one option. The problem is that these notebooks are now well hidden in the InstallationDirectory and no longer accessible to the writer or reader of a notebook.

So SystemOpen only brings up a search page. And so does:

FrontEndExecute[
FrontEnd`FrontEndToken["OpenHelpLink", {linkName, Automatic}]]

A new reader of a notebook may not know about guide pages or whether there is one that is specifically useful for that notebook, or what the name of it is. The writer of the notebook might well know these things and he should be able to bring such information directly to the reader.

2 Replies

Many thanks' Hans! That was the exact form I had for my routine, but I was making an error in entering the subject name.

Posted 1 year ago

David, this works for me:

getDocu[subject_String] :=FrontEndExecute[FrontEnd`FrontEndToken["OpenHelpLink", {subject, Automatic}]]

getDocu["Take"]

getDocu["guide/TrigonometricFunctions"]
POSTED BY: Hans Milton
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract