Link to a specific topic in a chm file from Word
Hi,
How do I link to a specific topic in a chm file from Word? I can link to the chm but can't work out how to get it to open to a specific page. I have tried #filename and \filename at the end of the path but neither works.
Thanks for any assistance.
Emily
Hi Emily
Whether it works correctly on your C drive depends on how it arrived there.
Click here to see what you may need to do
Cheers... Rick
Begin learning RoboHelp HTML 7 within the day - $24.95!
Click here for Adobe Authorized Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks
Similar Messages
-
Opening specific topics in merged Help file
I have a modular Help file problem that I'm hoping someone
can help with.
We are developing a window for our software product that will
allow users looking for help on a specific task, to enter a string
into a text box. As the user string is typed into the box, the
software returns a list of possibilities, from which the user is
then expected to choose a task. When the task is chosen, a string
associated with that task is passed back to the software. In
theory, the software opens the Help file and the topic associated
with the task is simultaneously displayed.
The complicating factor is that the target topic is in a
merged CHM file under the master CHM. Ideally, when we pass a
string to locate a specific topic in this merged file, we would
want to open the master CHM and have (1) the topic located in the
TOC pane to the left and (2) the topic display in the Topic pane to
the right. Unfortunately, we haven't been able to make it work
quite right. The correct topic is located in the TOC pane, but the
right-hand pane displays a "this program cannot display the
webpage" message. What's funny is that if I simply click on the
topic in the TOC pane, the right pane will display the correct
topic. In other words, we are finding the topic in the TOC, but we
just aren't displaying it.
Obviously, we are not passing the correct string to the
software but I don’t seem to be able to hit upon the right
syntax. So, to summarize what I want to do is to have the Master
file open to a specific topic in the Merged file called, for
instance, "My_Topic.htm." Thus, I have tried…
Master.CHM::/My_Topic.htm
Master.CHM::/Merged.CHM/My_Topic.htm
…but neither has worked.
I should mention that we have not renamed any CHM files using
Win Explorer, and we have not specified a binary TOC. Also, both
CHM files are local.
Any advice would be greatly appreciated.Hi Mike,
Based on what I can work out (and I could be wrong) the
completed project, merged files and all, is in the !SSL!/HTML Help
output folder of the master project. When you compile the master
project takes the links, subsiduary merged files, etc, that it
knows about relative to the files in the Master Help files main
directory, (i.e. the baggage files that the project knows about
after you have imported the subsiduary files into the project) and
exports a compiled .chm master file into the !SSL!/HTML Help output
folder of the master project that contains details of the links and
subsiduary files.
What it doesn't do is export any subsiduary files from the
Master Help files subdirectory if there are any there in the first
place. This means you can get outdated subsiduary .chm files there.
This means RoboHelp puts in the correct links in your master
project (cos the right filres are in your baggage files) and writes
a master project .chm file to the output ditrectory. If however,
your subsiduary project .chm file is already in your output
directory then this will not be updated and your master .chm file
will contain links to topics that might not be in the version of
the subsiduary .chm file in the output directory - hence the
message saying 'can't display the web page'.
What I've (recently) learned to do is:
(1) Produce and generate master project and sub projects into
the default !SSL!/HTML Help sub directories for each project. When
I know each stand alone section of the project is working OK I:
(2) Import the subsiduary projects into the master so there
is a file of the correct name in the master. (In the bagge files
section).
[I re-import only if i've changed the structure of the
subsiduary projects such the master project references topics that
no longer exist or needs to reference newly created topics].
(3) Set up another single source layout in the subsiduary
projects that writes the latest version of the .chm file directly
into the required output directory of the the master project.
(Because Robohelp doesn't refresh the files in the output
drectory of the master project if they're already present this
means each time I recompile the subsiduary projects the lastest
version goes into the output directory of the master project - this
saves reimporting them into the master and deleting the contents of
the master's output directory).
(If I batch generate I can write an updated copy into the sub
project's default !SSL!/HTML Help at the same time - so if I want
to look at just the output of the sub project I can always do that
as well).
(4) Everytime I generate the master project it sends a
compiled master.chm file to the specified output directory, but
doesn't overwrite the subsiduary .chm files in that output
directory. However, as I've set up the subsiduary projects to write
their latest versions of their files to that directory every time I
compile it always has the latest versions of those files for when
you despatch the project.
This means everytime you recompile the master it knows the
right file names, links, etc, for the subsiduary projects and each
time you recompile the subsiduary projects the latest version goes
into the master projects output directory.
If you don't do this (or sometning like) your master and sub
projects will get out of sync and you'll end up with problems
referencing topics in the subsiduary projects.
(If you've already understood this, sorry for going over old
ground). -
Unable to open .chm file from a link in Weblogic 7.0
Unable to open .chm file from a link in weblogic server. But the same
jsp code works in Websphere
Sample Code :
<!-- < a href="JavaScript:window.navigate('help/manual.CHM')">
Linked Text</a> -->
The above link, works well in websphere. help is a folder that
resides in the server. But when i tried to execute the same in
Weblogic, some junk characters appeared . so i tried to direct the
link to Display.jsp and passed the path of the chm file as the
parameter. I cleared teh out buffer using out.clearBuffer() . i set
the content type to application/x-msdownload and also set the header
to content disposition.
Nothing worked .
I also tried another way.. That is the following
I even tried including the mime type
<mime-mapping>
<extension>chm</extension>
<mime-type>application/x-msdownload</mime-type>
</mime-mapping>
in the web.xml file. and still it doesnt work
Nothing Worked . What should i do ? I need immediate help to sort out
this issue. Can anybody help me
- AngelThis could be a Launch Services issue. The following article describes how to manually reset Launch Services — the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
Resetting Launch Services
If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, take a look at this other article for general troubleshooting and cache-cleaning procedures. Actually, you should also verify/repair the startup disk (not just permissions), as described there:
Resolving Disk, Permission, and Cache Corruption
The most appropriate utility for this particular problem probably is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
Side effects of System cache cleaning
As an example, this is how you should proceed with OnyX:
1. Quit all applications.
2. Launch OnyX and enter your administrator password.
3. Go to Maintenance > Reset and check LaunchServices database.
4. Un-check any other pre-checked options.
5. Click the Execute button.
6. Restart the computer.
BTW, if you’re running Mac OS X 10.4 (Tiger), as your profile indicates, it would have been more appropriate to discuss this in the Mail & Address Book - Tiger forum. If the discussion applies to both Mail 1.x and Mail 2.x, it doesn’t really matter, but it’s difficult to know that in advance. -
How do you link to a specific page in a pdf file?
Having trouble linking to a specific page in a pdf file, is
this possible?ccpbob wrote:
> Having trouble linking to a specific page in a pdf file,
is this possible?
Hi
We have a tutorial on this here:
http://www.communitymx.com/abstract.cfm?cid=A12EF619D9061CD2
it is a
commercial tutorial, but not expensive. You could sign up for
the trial
- link in my sig - and read it that way, you never may like
CMX and stay
a while longer,
Cheers jojo
Adobe Community Expert for Dreamweaver 8
http://www.webade.co.uk
http://www.ukcsstraining.co.uk/
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm -
Can I Open an HTMLHelp (*.CHM) File from Java GUI Application?
I ussually use Delphi to develop my applications and I can open an HTMLHelp (*.CHM) file from my application. Can you show me the ways to do it from my Java GUI applications?
Thanks for everyone.
Budi Raharjo
http://budiraharjo.blogspot.comhttp://www.google.com/search?q=java+chm
Seems like there is some 3rd party software available for that. -
How to search specific text/string in pdf files from command prompt?
Hi,
How to search specific text/string in pdf files from command prompt?
Will be great if you can refer to any adobe provided command base utility to achieve the above target.
Best Regards,You can't. The commandline parameters for Acrobat and Adobe Reader do not allow any type of commands to be run.
-
Shortcuts to a specific topic in a CHM
I was referred to the RoboWizard page and downloaded the Tips
n Tricks chm where I found how to open a CHM in its own window, and
in the tips, it provides a way to open a specific topic.
We are using the "hidden" shortcut option. We create a topic
just for the shortcut. In our app all of the CHMs are in one
subfolder, at the same level as the EXE's which are in their own
folder.
The Tips n Trix help says to use "hh.exe" as the program to
run. If I use that from the app to open the CHM I get an error that
says it "Cannot open the file"
For the "Program Parameters" I am using
"ms-its:circ.chm::/how_to_setup.htm"
If I use the chm file name instead of hh.exe, it works from
CHM to CHM, but only opens the main page from the application.
If I double click the CHM, and then click the link that goes
to a topic in another CHM, it works fine. The specific topic is
displayed.
If I open the application, click Help | Contents to open the
CHM and then click the link it opens to the "main" chm page, not
the topic.
How can I get it open to the topic from the application?
Any help would be greatly appreciated.
Thanks
JoeJoe,
What you are trying to do is known as "context sensitive
help." You can do this via shortcuts to hh.exe, but HTML Help was
designed to use map numbers from the application. When you write:
"If I open the application, click Help | Contents to open the
CHM and then click the link it opens to the "main" chm page, not
the topic."
I wonder what the application links are trying to do. Are
they also trying to call hh.exe? The protocol would be different
than from inside the CHM. The application should be using the
HTMLHelp API calls. One way to investigate the application's links
is to open RoboHelp's BugHunter. When you click on the links it
should intercept any calls to HTMLHelp and post them.
Hope this helps,
John -
Linking to a specific topic in the project - RH7
Hi, I've been playing with this problem for a few days, and can't find an answer.
I have a project that consists of a number of topics. I publish in WebPro. I want to be able to link, from the outside, to a specific topic, and display the TOC open to that particular topic.
I have all the pieces in place except the TOC. The topic always opens with the TOC hidden, and I have to click the 'Show' link to open it. Is there a setting I'm missing?
Thanks for any help...
MarionHi,
If you call the file from your application, your developers will have to change their call. See http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm
If you call the page from another webpage, you can use ID-numbers, Topic-id's or filenames. You can find some more information on the page referenced above. You can however also use the following links:
For a filename: http://wnd=NewWindow - Note that this kind of URL will only work for Internet Explorer!
Greet,
Willam -
Newbie - Linking to a specific topic
Hello,
I just got RoboHelp 7 today and a bit lost. Here is my
issue. I'm an App Dev Project manager. I came onto a project that
has an application that links to a RoboHelp project. All links
within the application send the user to the default.htm. Which is
nice because you have the search tool and the left side navigation
pane. However, inside of our application we have help links that
appear to be very specific to a topic, yet when you click on the
link you get the default page. We can create links right to a
specific htm page from our application, but when we do that we only
get the topic and none of the nice features that Robo help adds,
like the navigation pane. What I'd like to do, is create a link
that takes a user to the help files with the appearance that you
get when you go to the default page, but instead of sending them to
the default page, send them to a specific help file.
Can anyone get me pointed in the right direction? Should we
use bookmarks in Robohelp? If so, how do we link to them.
Thank you so much (in advance)!This isn't working for me. The URL of the base help page is:
file:///C:/makana/kahuna/help/Motivator/!SSL!/WebHelp/Motivator.htm
and in trying to follow the instructions in the web article,
I changed it to:
file:///C:/makana/kahuna/help/Motivator/!SSL!/WebHelp/Motivator.htm?#path/Alignment_Best_ Practices.htm
where Alignment_Best_Practices.htm is one of the other pages
in the !SSL!/WebHelp folder. This makes a File Not Found error. Am
I doing something wrong? Thanks. -
How Do I Use the Help Tag/Help Path in LabVIEW to Link to a Specific tag in an HTML File?
Is there any way to point user to a tag in an HTML file when he click "Click here for more help" ?
Message Edited by zou on 03-08-2007 02:38 PM
George Zou
http://webspace.webring.com/people/og/gtoolbox
Attachments:
a.png 18 KBGeorge,
I believe you are correct in saying that there is no way to link directly to a specific anchor tag within an html file from the context help.
I would encourage you to visit our Product Suggestion Center if this is a feature you would like to recommend that our R&D team consider for future versions of LabVIEW.
Is it possible for you to create a .chm file? Or perhaps you could have some kind of "table of contents" at the top of your .html help file. This would require an extra click by the user but may be an option for you.
Regards,
Simon H
Applications Engineer
National Instruments
http://www.ni.com/support/ -
Linking to a specific sheet within an Excel file
Hi-
I'm using RoboHelp for Word and generating a WebHelp help
system. I'm using the the "ExecFile" macro to link to an Excel
workbook. This works fine, but I'd like to automatically link to a
specific tab (sheet) and cell within the Excel file. Does anyone
know of a way to do this? Is there perhaps an argument that I can
pass along with the macro to Excel to do this? Thanks!
-ChrisWelcome to the forum.
In Snippet 84 on my site there is a method of doing that
using RH HTML. Maybe you can figure a way of tweaking the webhelp
output to do what you want. -
"No Topics Found" RoboHelp8 (CHM File)
Using the "Search" feature in my .CHM file has begun to return a "No Topics Found" error.
For a little history, we have been using this same project for several years, long before I took over. Until this latest build, searching worked fine. Beginning last week, searching returns a "No Topics Found" result. I can find and access topics using the index, so I know that they are there but no luck using general search. I've tried manually adding keywords to several topics (under the general tab) with no luck. I've also restored backups of the project (from compressed .RAR files) and generated a .CHM with the same results.
The cause of this seems like it would have to do with some kind of setting that's been changed but I have no idea what. The only changes that I have made have been to the .CSS files we use (font type, size, and color changes), the addition of a few new topics/pages, and the use of J-Query witin those new topics.
Does anyone have any ideas?I found this thread where Rick Stone has suggested a possible cause.
http://forums.adobe.com/message/3812837#3812837
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
How do I generate PDF and CHM files from the a command line in windows?
I am trying to set up a PC to build some documents during the night. I was looking for a way to get framemaker to generate PDF and CHM files via a command line in windows? How is this done with FrameMaker 12
Thanks for the help
AlexHi,
The part with generate a PDF via a jsx seems to work OK, except when FrameMaker decides that it will not work anymore. I must say I am not impressed with the stabillity of FrameMaker 12, there is room for a lot of improvement!.
I have given up on how to figure out how to get FrameMaker 12 to generate chm files via jsx scripts, any pointes are still very welcome.
The route I have taken is I make a RoboHelp project for each chm files I need to generate. The only thing this RoboHelp project contains is a link to the actual FrameMaker project I want to generate a chm file.
To make the chm I start RoboHelp with a script that
1) Opens the desired project
2) Sets the desired output chm files name
3) Generates the chm file
4) And finally quits RoboHelp
Below is a copy of the jsx in case anyone can reuse anything. And yes parameters are transfered via enviroments variable. I have later learned there is some way to read the parameters given at a command line but this seems to work so I stick to this for now.
// Get parameters
var RhProjName = $.getenv("RH_PROJ_NAME");
var RhChmName = $.getenv("RH_CHM_NAME");
var RhLogFileName = $.getenv("RH_LOGFILE_NAME");
var RhLogFile = new File(RhLogFileName);
RhLogFile.open("w", "TEXT");
RhLogFile.writeln("RH_PROJ_NAME : ", RhProjName);
RhLogFile.writeln("RH_CHM_NAME : ", RhChmName);
doc = RoboHelp.openProject (RhProjName, 1);
var sslmngr = RoboHelp.project.SSLManager;
for(var i = 1; i<=sslmngr.count; i++){
var ssl = sslmngr.item(i);
if(ssl.name == 'Microsoft HTML Help') {
// Set the output location and file name
ssl.setSpecificProperty("DestinationProjectName", RhChmName);
if (doc.saveAll(true) ) {
RhLogFile.writeln("saveAll returned TRUE");
} else {
RhLogFile.writeln("saveAll returned FALSE");
if ( ssl.generate() ) {
RhLogFile.writeln("ssl.generate returned TRUE");
} else {
RhLogFile.writeln("ssl.generate returned FALSE");
} else {
// alert ("Found " + ssl.name + " dont do anything");
doc.saveAll(true);
RhLogFile.close();
RoboHelp.closeProject();
RoboHelp.quit(); -
Using the desktop slideshow, I have added a file from dropbox for the slideshow. If I delete the dropbox file, does that delete the file from the list on the slideshow? Do I need to leave the file on the computer itself rather than in the dropbox and then delete it from the dropbox?
If you are going to delete the file from Dropbox, you will need the file on your computer.
You will probably need to put the file in Library/Screen Savers -
Hello, all
The problem: I need to link to a specific topic within a CHM
file, via URL, rather than directly to the CHM file itself and I am
having no luck finding a means to do so. I have tried the suggested
methods from the support/web but not come up with functional code.
Help?
Thanks,
VUnfortunately, that isn't working, either.
I have tried the following:
<a href="ms-its:filename.chm::/topic.htm></a>
For this, I receive "Page could not be displayed."
<a href="pathname\filename.chm"></a>
This tries to download the file to the machine.
Any use that I've tried with a ::/filename.htm on the end
tends to give me page could not be displayed.
Thanks for anythoughts!
V
Maybe you are looking for
-
Can two people use the same computer with two different ipods?
I was just wondering if me and my mother can use the same computer with our ipods?
-
I have the new generation macbook air. i want to backup my data on my laptop to a NAS drive. how do i do this? how do i setup time machine to do this?
-
How to convert script output to excel and send through mail in the report
I need a solution for Converting script into EXCEL and sending Excel as a attachment to the mail. In my current Program I am getting OTF data from script and converting into PDF using Function module ' CONVERT_OTF' And sending PDF as a mail attachme
-
Document under status posted (T-code FB03)
there are 10 line items on one g/l account , out of which 8 docs are under open item status, and other are under posted status...now my question is (1) how do we get posted status....under what condition a doucment which comes under posted status ..i
-
Can't import songs using home sharing
Just bought a new macbook pro laptop, and I can't import my music library from my iMac using home sharing. The library shows up as shared, but I can't drag any music into the library on my laptop. Help would be greatly appreciated because I'm extreme