Closing one help file closes another

Hi y'all, I've searched and searched for an answer to this so
I hope someone can help.
I want to create a small floating window that acts as an
'always on top' menu with links to a full-screen help file. I want
the user to be able to close the full screen help file, leaving the
small window open. Oh, and this menu window is to be initially
called from the full-screen window by user request, but once open
it should stay open until specifically closed by the user.
I'm starting with the assumption that this requires two
separate help files - right?
Trouble is, when the user closes the full-screen help file,
the menu help file closes with it. If anyone knows how to prevent
this, I'd be very grateful.

Rick,
Same here - I try to keep in touch as much as my schedule and
my computer will let me!
South Coast,
Sorry for the delay. Being on the road so much and troubles
with my computer have made it hard to do much with the forums
lately. Here's what I would suggest for your menu system:
1) As you've observed, using the normal external topic link
mechanism in RoboHelp just results in the topic coming up in a
specified window, but since it's the same instance of WinHelp (the
same instance of winhlp32.exe), closing the topic window also
closes your menu window.
2) The trick is to invoke a second instance of winhlp32.exe.
To do that with your menu window, have your link that calls the
menu use the EP macro (yes, I know the macro reference materials
state that EP() is a deprecated macro, but it still works, and its
ability to use Windows command line switches is what you want for
the rest of the procedure).
3) Here's a sample of the menu-calling macro code:
Link Text!EP(`C:\WINDOWS\winhlp32.exe -i default_topic
menufile.hlp',)
Result: Windows instantiates a second instance of
winhlp32.exe and uses the "-i" command line switch to open
"menufile.hlp" to the default topic, or whatever topic ID you
specify. The menu appears in whatever window at whatever position
you have set in the menu project properties dialog.
4) Close the topic window. The menu should stay visible and
accessible to the user.
5) Now, in your menu, your links would have macros coded like
this:
Link Text!EP(`C:\WINDOWS\winhlp32.exe -i External_Topic_ID
externalfile.hlp',)
Result: another instance of winhlp32.exe is launched and
opens your main Help file to the topic with the specified topic ID.
6) Close the topic window and click another link in the
still-visible menu window - you should see that other topic open in
a fresh WinHelp window.
7) The only drawback that I can see is that if you don't
hard-code the path to winhlp32.exe, you get a message that Windows
can't find that file in a path that Windows apparently thinks ought
to be "C:\WINDOWS\Help\winhlp32.exe". I didn't have time to do more
testing or troubleshooting on that issue - maybe next week when I
get a chance to take a little vacation time ...
Let me know if this helps any. Good luck!

Similar Messages

  • Copy one text file to another text file and delete last line

    Hi all wonder if someone can help, i want to be able to copy one text file to another text file and remove the last line of the first text file. So currently i have this method:
    Writer output = null;
             File file = new File("playerData.xml");
             try {
                   output = new BufferedWriter(new FileWriter(file, true));
                   output.write("\t" + "<player>" + "\n");
                   output.write("\t" + "\t" + "<playerName>" + playerName + "</playerName>" + "\n");
                   output.write("\t" + "\t" + "<playerScore>" + pointCount + "</playerScore>" + "\n");
                   output.write("\t" + "\t" + "<playerTime>" + minutes + " minutes " + seconds + " seconds" + "</playerTime>" + "\n");
                   output.write("\t" + "</player>" + "\n");
                   output.write("</indianaTuxPlayer>" + "\n");
                  output.close();
                  System.out.println("Player data saved!");
             catch (IOException e) {
                   e.printStackTrace();
              }However each time the method is run i get the "</indianaTuxPlayer>" line repeated, now when i come to read this in as a java file i get errors becuase its not well formed. So my idea is to copy the original file, remove the last line of that file, so the </indianaTuxPlayer> line and then add this to a new file with the next data saved in it. So i would end up with something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <indianaTuxPlayers>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
    </indianaTuxPlayers>
    However after all day searching the internet and trying ways, i have been unable to get anything working, could anyone give me a hand please?

    I would go the XML route too, but for fun, open a file as a BufferedWriter and do this:
    void copyAllButLastLine(File src, BufferedWriter tgt) throws IOException {
        BufferedReader in = new BufferedReader(new FileReader(src));
        try {
            String previous= in.readLine();
            for (String current = null; (current = in.readLine()) != null; previous=current) {
                tgt.write(previous);
                tgt.newLine();
        } finally {
            in.close();
    }

  • How can I copy layers from one .fla file to another .fla file?

    Hi,
    How can I copy layers from one .fla file to another .fla file? Please do help.
    Thanks.

    Select all the frames you want to copy, right click and select copy frames then select the file you want to paste them into and right click again and then paste frames.
    The layers the frames are should come across with them.

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • Closing one GUI and opening another?

    Hi guys,
    (I didnt really know which forum to post this in, so apologies in advance if this is the wrong one).
    I have created a login screen for a system, LoginScreen.java, which accepts a username and password and checks these on the server for validity. This all works fine.
    Once an account is accepted as valid I would like for the login screen to close, and the actual main GUI, Client.java, to open.
    Can anyone tell me the code for doing this? (closing one GUI and opening another).
    Please ask if you need more information on my code.
    Many thanks!

    You can make the Client.java as your main program then just call the LoginScreen.java.
    import javax.swing.*;
    public class Client extends JFrame {
    public static void main (String[] args) {                     
         Login log = new Login();
         log.show();     
    // Here you can put validation if the user is valid before displaying the main GUI
    // If valid user
         Client clt = new Client();
    clt.show();     
    // } else {
    // System.exit(0);
    public Client() {
         super("Client Java");
         setSize(400, 300);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    class Login extends JFrame {
    public Login() {
         super("Login Java");
         setSize(200, 300);
    }

  • How do i move a picture from one pdf-file to another already created pdf-file with adobe reader?

    How do I move a picture from one pdf-file to another, already created pdf-file, with adobe reader?

    Reader doesn't have editing capabilities.

  • Move group of pages from one InDesign file to another InDesign File using VB.Script

    Dear team,
    I am trying to move group of InDesign pages from one indesign file to another indesign file using vb.script.
    I have written the code like
    Dim Pages=IndDoc.Pages
    Dim Mytype=TypeName(Pages)
    Pages.Move(InDesign.idLocationOptions.idBefore,IndDoc1.Pages.LastItem)
    but it is giving an error as method Move is not a member of Pages 
    please give mme the solution to move the Multiple pages or a group of page from one Indd to another Indd.

    Hey Peter, if I wan to move several page that part of Auto Flow text, I checked the "delete page after moving" but the content still there, not deleted.
    Is there any way to delete it automatically, just to make sure I have moved that autoflowed page?

  • Place one IDML file inside another one.

    I want to place one or more IDML files into another single IDML "master" file.
    The master file is sort of a template for a site layout. The IDML files I need to embed represent single content boxes with specific layouts. The files for those content boxes are created outside of InDesign with some texts I get from a database.
    To retain those layouts I deemed it best to just place them into another document which is no problem with INDD but just with IDML.
    I managed to link multiple INDD files into the master file in InDesign itself, but can not figure out how to link IDML files. I also found that it is possible to link INDD files into IDML files, just not IDML into IDML.
    I need to be working with IDML as opposed to INDD because I have to be able to manipulate the files in an easy way outside of InDesign.
    Is there any way to link IDML files into other IDML files? Or if not, is there a possibility to convert my IDML files to INDD files without having to use a real instance of InDesign?
    Relevant Lines of code from the master IDML file taken from the Spread.xml file:
    <Link Self="u9f81" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:/path/to/subtemplates/box2.idml" LinkResourceFormat="$ID/InDesign Format Name" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 130505142560000000 1396736" LinkImportModificationTime="2014-07-22T16:50:56" LinkImportTime="2014-07-23T11:42:22" LinkResourceSize="0~155000" />
    If I leave this in and try to open the file in InDesign I get the error message that the linked file type is not supported
    <Link Self="u9f81" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:/path/to/subtemplates/box1.indd" LinkResourceFormat="$ID/InDesign Format Name" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 130505142560000000 1396736" LinkImportModificationTime="2014-07-22T16:50:56" LinkImportTime="2014-07-23T11:42:22" LinkResourceSize="0~155000" />
    If I put this in everything works fine.
    Notes: box1.indd and box2.idml are the exact same files, just saved differently by InDesign. The path to both files is a valid file system path and has full read/write access.

    Thank you for your reply. I already know that it is possible to edit IDML files, which is what I am already doing.
    What I am now looking for is a way to place one IDML file into another one like you are able to do with INDD files.
    Which file format should I use insted then? It must be editable outside of InDesign because I need to be able to change texts and stylings within the file.
    Laubender
    That possibly means you have to have InDesign Server to integrate in your workflow.
    That's the exact thing I am trying to avoid here.

  • Linking one Numbers file to another???

    I want to link the formulas from one Numbers file to another seperate and distinct Numbers file - can I????

    D,
    Yo can link a table to another in the same sheet or different sheet in the same file, but there is no provision for linking a table in one file to that in another file.
    pw

  • How to include one xml file into another

    Dear Sir/Madam!
    Could you do me a favour and help me to solve the problem like this:
    I have one xml file wich describe the common thins of the GUI, and the another will be generated depending on the point the user has selected.
    I would be very pleased for any helpful assistance.

    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml"/>
    <xsl:template match="/">
    <xsl:variable name="xml1" select="document('xml1.xml')"/>
    <xsl:variable name="xml2" select="document('xml2.xml')"/>
    <xsl:copy-of select="$xml1"/>
    <xsl:copy-of select="$xml2"/>
    </xsl:template>
    </xsl:stylesheet>

  • I had two files named graphics and I replaced one graphics file with another which was the wrong one.  Can I undo my replacement?  I move the wrong one, which was on my desktop into another one and that is when it as me if I wanted to replace the file.

    I accidently replaced a file with another.  Can I undo my action? 
    I had two files named graphics.  One was on my desktop and another was within another file called solitarie.  I move the one on my desktop (wrong file) into the solitarie file and was asked if I wanted to replace the graphics file in the solitarie folder (the correct one).  I said yes accidently and then remembered that I had made a mistake.  If I use undo, it only move the wrong file back to the desktop.  Is there an undo of replace?

    Sorry, but's that's why you get the warning. "Replace" means just that - the new file over-writes the old one. There is no undo.

  • How do I import several layers from one Illustrator file into another Illustrator file?

    Hi!
    I have ten Illustrator documents with appr. 100 layers in each document.
    Each layer in all documents are named correctly for automatic script exporting to PNG files.
    Now I want to import all layers from all ten documents into one master file. And importantly, I want to keep the exact names of each layer.
    Thank you for any help on this!
    David

    Layers Palette flyout >> Paste remebers layers (Enable)
    Now when you paste the layer names will come over.

  • Digital movie download - can I move it from one iTunes file to another?

    I have gotten several new Blu-ray and DVD sets for Christmas. Included is a digital copy which can be downloaded. Once I download and move it to iTunes, can I export that from one iTunes file on my Mac to another Mac which I own? I haven't been able to find a relevant post.

    CWmain, this is something I'm keen to know too. I've got the new Star Trek and Transformers 2 Blu-ray discs with digital copies. I was hoping I could download the movies to my Mac Pro by redeeming the codes supplied with the discs and once downloaded just copy the resulting download files across to my MacBook Pro. I'm hoping that because both machines are authorised with my iTunes account it should just 'work'. Can anyone confirm this is correct before I go ahead?

  • Can you import a master from one Muse file to another?

    I've got upload space through Comcast, and my homepage and other material are there.  (home.comcast.net/~gregfisk/)
    But I have another site that I uploaded there through Dreamweaver a year ago.  I'd like to update it with Muse.  (www.caption-ator.com)
    But the thing with Muse is, when it exports a site to HTML, it defualts the home page to 'index.html'.  In this case, the caption-ator site info (made with muse) would over-write my main web page.  The same goes for any files that share the same file name, like 'site global.css', and 'sitemap.xml'.
    So I guess I should take the site info from the caption-ator Muse file, and rebuild it in my personal web page. So there will (theoretically) be no conflicts in the file names, and can all be uploaded safely.
    Rather than rebuild the whole Caption-ator muse built site in the Muse file for my personal web  page - is there any way to take a Master page from one Muse file, and import it to another?  That would be a HUGE time saver.  My first instinct would be to take the Muse tab for my personal web page, and the Muse tab for the Caption-ator web page, then drag and drop the Master from the Caption-ator page to the personal web page.  But Muse doesn't seem to allow for tabs to be kept separate like that.
    Any advice is apprecaited.

    If you still have the .muse file for the template you want you can open it up in Muse 'Select All' --> Copy.
    Open your destination blank template and paste it. You can have bothe muse files up in Muse at the same time.

  • Moving Clips One prel file to another

    How can I move a group of clips from one PrE 9 file to another? I want to create a new video, but only certain portions. Can anyone advise? Thank you, Stan

    I have seen no downside to removing un-used sections of a Project, and then doing either a Save_As, or Save_As_a_Copy. Do NOT do a Save, when you have removed those sections, or you will overwrite your original Project file - something that you do not want to do.
    I use this workflow often. An example would be when I create an intro, or outro, in a Project, and realize that it has use in other Projects. I will clean out that Project, leaving only those segments, that will likely be needed later on, and still in an editable mode. I then do a Save_As (if I want to keep that "new" Project Open, in Premiere), or a Save_As_a_Copy, if I just want it available later. For some more detail on the differences between the various Saves, see this ARTICLE.
    Good luck, and a good point.
    Hunt

Maybe you are looking for

  • How to copy one account preferences into another account on the same mac?

    I would like to open a new account (on the same mac) but would like to copy some preferences including software from the existing account. How can I do that? Thanks

  • Photo Pages: TIFF Format Doesn't Work?

    I just published an iWeb site with 3 photo pages in it. All of the photos were in TIFF format. I found that when the site was viewed via Safari (or IE in Windows) the photos looked horrible...pixellated...slideshows didn't work, etc.). I then tried r

  • Problem with automator

    I had uninstalled my automator... How can I reinstall automator???? Message was edited by: Kchobanyan

  • Chinese PO printout (Unicode server)

    Hi all, Need some expert advice on chinese PO output. 1)if the purchasing group, payment terms description, incoterms and unit of measure are required to be printed in chinese on the PO, does that mean I have to configure the above in chinese by logg

  • What's going on? conflicting information....

    I have a first gen Nano, and the iPod software on it is v5.1, which iTunes tells me is up-to-date. In fact, the check for update button is greyed out, so that seems to confirm that. I currently use iTunes 7.1.1.5 and keep getting prompts to upgrade t