scripts to open chm files

I have 7 chm files and I want to make everyone accessible from one topic to another file chm ('base' my chm help file). For example, when a user opens help topic 1 in the 'base', that subject would be open for them, and one of my other chm files open in a separate window. I'm doing it by inserting a script into each topic. I can't understand the text or the format for the script. Has anyone tried this and you can send me a sample script if so? I know that I could potentially combine 7 chm files in the table of contents of my help 'base', but I'm trying to match how the files were working when they were created using Doc-to-help-Winhelp format (whereby cases a command or script to ExecFile has been used in a topic to automatically open another Winhelp file) years.

Thanks in advance for any ideas,
Karen

Hi Karen

Hop on my site and download my file tips & tricks. I have an article inside that should help you.

Here is a direct link, click here.

See you soon... Rick

Tags: Adobe

Similar Questions

  • 8 64-bit Windows cannot open chm files

    Hello

    I have a user who cannot view help files .chm on their 64-bit of Windows 8 computers. Here are the help files that reside on the local hard drive (C:\Program Files\...) and NOT on a server share. At the opening of these (double clicking the .chm file or opening with F1 in the application), they are displayed with a message "Navigation to the webpage was canceled".
    This seems to be the same problem that tons of people have on their files downloaded .chm or shared, but for this one user is for all local .chm files.
    I tried the things:
    1. HHReg using asks to move the MaxAllowedZone to 2 (which I don't expect to have an effect since it is the LOCAL files that don't work)
    2. HHReg application using Add the path to the .chm for the UrlAllowList entry file.
    To further complicate things, my own 64-bit of Windows 8 machine can open files .chm perfectly without any problems. Granted, I'm a software developer so I have a ton of programs installed (including the HTMLHelp Workshop) which can be fix this problem for me? I don't really know why it works for me and not for the single user.
    So, anyone have any ideas?

    The only thing that worked for me was to uncheck "always ask... at the opening of this file... "When you first open the file. Subsequently, the popup no longer appears, and you can read the content of the CHM file.

  • excerpt from script to open the file info dialog box?

    is it possible to have a script, open the dialog "file info" and then just end (leave the dialog box open) so that the user can enter any information of metatag?

    This appears to do:

    app.menuActions.itemByID (75265) .invoke)

    But this seems to do too:

    app.menuActions.itemByID (89092) .invoke)

    Not really sure what is the difference, but it is without a doubt one

    difference, so check it out carefully. If you find something, after return!

  • Script to open INDD files, run script and closing

    Hello, I'm looking for a script that will open a folder of Indesign files, open each one, run a selected script, and then close each file.

    Right now I use Batch convert script to convert INDD INDD and run the script in the meantime (so I delete the extra INDD file). But I'm trying to eliminate the element of conversion, just the script of this part.

    Someone at - it any help? Thank you.

    HI erblo007,

    Use the code below can it be useful for you...

    var myFolder = Folder.selectDialog("Select Indesign Folder");
    var myIndsnFiles = myFolder.getFiles("*.indd");
    
    for(k=0; k
    

    If the above coding help for you, then please click on useful or correct answers for me.

    Thanks in advance

    Beginner

  • Why can't I open some chm files?

    I have several programs that use for help .chm files. Some of them work, but some do not. Weirder still, for a .chm file (Bluebeam) program works, but others have not. The seller insists that there is a problem with Windows. The size of the file does not seem to make a difference.

    I just ran regsvr32 hhctrl.ocx in command-line high (following a suggestion on the web), and he says that he succeeded. No change, still impossible to open chm files.

    I'm shocked the third-party application that I showed could not - as it is not in Windows components as far as I KNOW.  Which leads me to think that the "seller" you mentioned is incorrect.

    I would suggest copy those files to another computer, you can access and try to view it.  Perhaps with an OS older, says the 'seller' should be able to open them.

  • Cannot open some CHM files in Windows 7 64 bit

    Hello

    I run Windows 7 64 bit with SP1 and sometimes I can't open CHM files.
    I get the error message: could not open the file: mk:@MSITStore:.

    I've tried several things as when you rename the file, move it to another folder, modify the security permissions and some described in the thread following http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/cannot-open-help-files-chm/096e6a97-d223-4896-b537-6bc1dafe6960 but nothing helped.

    I will be grateful if someone could help resolve this weird question!

    Thank you!

    See if the answer in the support thread: http://answers.microsoft.com/en-us/windows/forum/windows_7-files/cant-read-chm-files/3fb4b537-cfa6-437c-a66c-67fa91349631

  • Need help to write a script that opens files, removes layers and sous-calques

    Hey all,.

    I'm a noob to the community of script, and what I try to do is file edit commands that share the same names of layers and sublayers. I have a few questions that would be incredibly useful if I could have answered.

    I'm not sure how to define a script too call out of the layers that have been created without script. I need to create a variable for the existing layers and leave the script to know what their names are in the files?

    For example, I have three files which have each layer named 'cutlayer', 'trimlayer', 'fold' and 'work '. I need to write a script that opens three files, deletes the layer 'fold' of each file, and then move the layer "trimlayer" in his own sublayer in 'work' (the base layer can be on the top so reorganization sublayers is not necessary to worry about something). I do not understand how to write the script because I couldn't find examples in the documentation for the script provided on the adobe website which has worked with existing files.

    It's my shot at what I'm trying to do, with English fill in the blanks of what I do not know how to script. If anyone can help me understand this point, I would really appreciate it!

    app.documents.openDlg (prompt, filter, MultiSelect);  the user opens the associated files

    If (documents.length > 0) //run the script through each document individually

    {

    sourceDoc = activeDocument;

    delete the "fold" sourceDoc layer

    move the "trimlayer" in the layer "work."

    remove the underlayment 'path' of layer "work."

    Run the script through each document

    Save the new file name folder in the new parallel to the current folder on the hard disk

    Go out and spend in each document until there is no more

    }

    create new document

    Place documents published in different layers in the new document, with a distance between them, optimize the space on a 51 "x 51" work plan, using as little of the artboard as possible. "

    All comments are things basically, I do not know how and am trying to figure out how to do, so if anyone has a second to explain some of these things, I would really appreciate it!

    Thanks again!

    I know it of very frustrating when his apprenticeship and things don't go as planned, but understand that it is quite confusing as it is and do not add more confusion to the mix by using other tools than those provided. I mean JSLint, it might be useful with GENERAL javascript syntax, but Adobe's Javascript implementation is another animal, or another language, always JavaScript, but intended to be run by its own engine. JSLint has no idea what "layers", or "pathItems" are, it will trigger errors when he sees the objects, it does not recognize.

    .. .in learning... not to take baby, write a single line of code and run... If it works, write another line of code

    Try this version (always in the ESTK),'re missing you a few "++", and you do not change "documents" with "docs" in a certain place

    var docs = File.openDialog("Select Files to Open", "*.ai", true);
    
    var idx = 0;
    
    for (idx = 0; idx < docs.length; ++idx) {
    
        var doc = app.open(docs[idx]);
    
        var myCounter = 0;
    
        for (myCounter = 0; myCounter < doc.layers.length; myCounter++) {
    
            doc.layers[myCounter].locked = false;
    
        }
    
        doc.layers.getByName('Crease').remove();
    
        doc.layers.getByName('Regmark').remove();
    
        doc.layers.getByName('Artwork').pathItems[0].remove();
    
        doc.layers.getByName('Through Cut').hasSelectedArtwork = true;   
    
        doc.layers.getByName('Through Cut').pathItems[0].strokeColor = doc.swatches.getByName("Black").color;   
    
        doc.layers.getByName('Through Cut').move(doc.layers.getByName('Artwork'), ElementPlacement.INSIDE);
    
    }
    
  • Open the files in several folders and run

    Hello guys,.

    I have several files in several folders, I would like to know is it possible to automatically open the files in folders and execute action defined in PS.

    Example: I 1-folders12 (folder name will change regularly), I have 5 files in folder 1, 10 in folder2 and 7 in folder3,... and so on.

    I need a script to open the files one by one and perform the action to the PS and nearby, once all the files are processed in the Folder1, the script should search for folder2 and until the last folder. Is this possible? looking for consultant.

    Screen Shot 2016-01-21 at 7.53.49 PM.png

    This should be possible with just using Image Processor, which comes with the PS. Just check the box that says to all subfolders.

  • Open the data object - accessory to open the file in the pdf document

    I am trying to create a script that will open the attachments embedded in a pdf document.

    I used the following javascript code to list all the files into a document so that I can retrieve the name

    var d = this.dataObjects;

    for (var i = 0; i < d.length; i ++)

    Console.println ("Data Object [" + i + "] =" + d [i] .name);

    The console has reported:

    Data object [0] = MTP-300-X - 1210_A.pdf

    Data object [1] = MTP-300-X - 1240_A.pdf

    Then I used the following script to open the file

    this.openDataObject("MTP-300-X-1210_A.pdf");

    Console reports again as follows and does not open the file:

    [object Doc]

    Can anyone offer please help on how to open the attachment pdf embedded in a document?

    Thank you very much!

    When you open a PDF attachment with this method, it opened as hidden, and the hidden property is read-only if it is not editable after its opening. To display it so that it is not hidden, use the app.openDoc method. Use what you have to understand the type of path you specify. As test, try this in the console:

    var oDoc = openDataObject("MTP-300-X-1210_A.pdf");

    Console.println (odoc. (Path);

    oDoc.closeDoc ();

    It should show something like:

    |/C/Folder1/Folder2/parentPDF.PDF| U:MTP - 300-X - 1210_A.pdf

    This is the way that you use the app.openDoc method to open the PDF attachment so that it is not hidden the opening.

  • Script error when opening my CHM file

    Hello, everyone.

    I'm trying to embed a Youtube video in one of the subjects of my CHM file.

    It was working perfectly until now, but now it displays a script error whenever I open it.

    I use Robohelp 9 and I want to export using Microsoft HTML Help (CHM file).

    Below, the message displayed:

    CHM file - script error.PNG

    I know not how to fix it, because I can not download videos directly to the topic (rules of the company), I have to incorporate all of them. I don't know what this is URL refers to.

    I will be happy if you can help me to solve it. Thanks in advance!

    The error comes from youtube (ytimg.com) and it seems that YouTube is at fault. You can include an iFrame to the entire youtube page instead of using the YouTube embed code?

  • Batch file to open all files in a folder, one by one and run a script.

    I'm looking for a batch file, to run a script on each file file in the folder and open all files in a folder in the path defined and close the file. How is it possible

    Anthony,

    I would have you post here for assistance more.

    http://social.technet.Microsoft.com/forums/en-us/home?category=windowsxpitpro

    We know if that helps.

  • Script to change political colors managent or open the files with "keep profile".

    Hello!

    I am trying to open the girls with the parameter 'profile hunt kept '' through my script.

    I really don't like if it's done with "openoptions" or changing policies managent RGB and CMYK color to "preserve the profile. (Available via the Edit menu-> color settings.)

    I know that this is possible through action, but I really need to change that through my script.

    I'm totally at a loss here, so any pointers in the right direction would be much appreciated!

    Thank you!

    / Peter

    A slightly cleaned up version:

    Open the file without warning mismatch and keep current color space:

    2015, use it at your own risk.

    #target photoshop

    Var ref = new ActionReference();

    ref.putProperty (stringIDToTypeID ("property"), stringIDToTypeID ("colorSettings"));

    ref.putEnumerated (charIDToTypeID ("capp"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"));

    var docDesc = executeActionGet (ref);

    var colorSetting = docDesc.getObjectValue (stringIDToTypeID ("colorSettings"));

    var theOpenMismatch = colorSetting.getBoolean (stringIDToTypeID ("askMismatchOpening"));

    var theRGBPolicy = colorSetting.getEnumerationValue (stringIDToTypeID ("policyRGB"));

    var theCMYKPolicy = colorSetting.getEnumerationValue (stringIDToTypeID ("policyCMYK"));

    var theGrayPolicy = colorSetting.getEnumerationValue (stringIDToTypeID ("policyGray"));

    disable the warning;

    preserve var is stringIDToTypeID ('Star');.

    setPolicy (preserve, maintain, preserve, false);

    Open the file;

    App.Open (new File("~/Desktop/VA13AHN_1.psd"));

    back to the setting;

    setPolicy (theRGBPolicy, theCMYKPolicy, theGrayPolicy, theOpenMismatch);

    political game.

    function setPolicy (RGB, CMYK, gray, theBool) {}

    // =======================================================

    var idsetd = charIDToTypeID ("setd");

    var desc16 = new ActionDescriptor();

    var idnull = charIDToTypeID ("null");

    ref4 var = new ActionReference();

    ref4.putProperty (charIDToTypeID ('Rprp"), stringIDToTypeID ("colorSettings'));

    ref4.putEnumerated (charIDToTypeID ("CAPP"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"));

    desc16.putReference (idnull, ref4);

    idT var = charIDToTypeID ("T");

    var desc17 = new ActionDescriptor();

    var idpolicyRGB = stringIDToTypeID ("policyRGB");

    var idpolicy is stringIDToTypeID ('policy');.

    desc17.putEnumerated (idpolicyRGB, idpolicy, RGB);

    var idpolicyCMYK = stringIDToTypeID ("policyCMYK");

    desc17.putEnumerated (idpolicyCMYK, idpolicy, CMYK);

    var idpolicyGray = stringIDToTypeID ("policyGray");

    desc17.putEnumerated (idpolicyCMYK, idpolicy, gray);

    var idaskMismatchOpening = stringIDToTypeID ("askMismatchOpening");

    desc17.putBoolean (idaskMismatchOpening, theBool);

    var idcolorSettings = stringIDToTypeID ("colorSettings");

    desc16.putObject (idT, idcolorSettings, desc17);

    executeAction (idsetd, desc16, DialogModes.NO);

    };

  • Open a file in the finder with script

    I have instructions for actions in pdf files. Trying to make a script that opens a specific folder in OS x Finder (/ applications/Adobe Photoshop CS6 / Instructions / FileNameHere).

    Is this possible. An alternative is to have only the script go to the finder and show the folder. Or if its possible also opens all files in this folder (but maybe that's not necessary if it is difficult)

    Any ideas?

    Open the folder

    var myFolder = file ('path');

    myFolder.execute ();

    Open the file

    var myFile = file (' path/file.pdf");

    myFile.execute ();

    Let the user select a folder and open all the .pdfs in the folder

    myFolder var is Folder.selectDialog ('select the file!');.

    myFiles = myFolder.getFiles ("*.pdf") var;

    for (var i = 0; i)< myfiles.length;="">

    [i] myFiles .execute ();

    };

  • Error message when the chm file is opened and opening topics/links

    Hello

    I am a user of RoboHelp 10 and tried to generate HTML Help. When I try to open the chm file, you receive the following error message. When you click Yes or no to clear the error, it opens OK. The error message also appears WHEN you click a hyperlink in the project or open a topic.

    I use Windows 7 and have a computer laptop 64 bit.

    chm file error.gif

    Of course as it seems!

  • How can I prevent running a php script Dreamweaver when I open the file?

    I have a .php script that writes to a file. Example:

    $fileout = "schedule.txt;

    $fname = fopen ($fileout, 'w');

    ... and later he writes the data in $fileout.

    When I open the file in Dreamweaver, php code is executed. This means, the $fileout is created, written to, etc. This also occurs when the file is saved.

    I want only that to run when I said to (for example, an excerpt in Chrome).

    CS5. PHP MySQL server model. Windows 7. WAMP.

    You will need to wrap the script in a conditional statement and create a trigger that will set the condition on the move.

Maybe you are looking for