Create link using javascript or other relevant automated process

i have multiple PDF which i have combined using Acrobat pro... the table of content for this pdf does not have link as i had generated it in Word using RD fields. Now, my main concern is it possible to create links using Javascript or any other process.. i am aware of link tool however my document is very huge and the TOC comprises of around 25 pages.. it will be very cumbersome to manually add for each topic and will be difficult to maintain as we keep updating the document content..i would really appreciate if any one could help me in this as i really stuck up in middle of project...

thanks a ton for your prompt response..As i had mentioned earlier, i have around 13 sub documents. i have generated a table of contents for these document using RD fields in a seperate document and saved it as TOC.doc. As these are fields are referring to topic outside the current document, the links are not availabled in word.. i am not aware of any possible method in word to retrieve links for these topics just like how a standard TOC in word works. as i saw it PRO, there is an option to create link, i was wondering if there is any way i could automatically link these topics as in PDF, the topics are in the same document where as in WORD these are different documents.If you could suggest some work around, i would be glad

Similar Messages

  • Help to create outlines using javascript in adobe illustrator cs4

    Hi,
    Please help me to create outlines using javascript in illustrator cs4.
    Thanks
    Karthik

    The textFrame object has a createOutline() method. So if you are wanting to save a version of your file that will not require fonts then loop thru these items in your document… (Loop backwards btw its easier that way) Take a look at the other posts at the top here as others are wanting to do the same thing… If your document is more complex then you may need to iterate all the way though which takes a bit more work…

  • Highlighting the link using javascript:

    Hi
    I am using html:link in submitting the page.when i pressed the html:link the link should be highlighted
    as well as the submission of page should occur.The highlight of the link should go off only when the user chooses(click) the next link.
    can anyone help me how to acheive this using javascript
    thanks in advance

    Sorry, you are at a Java/JSP forum, not at a Javascript forum.
    Besides, your actual problem is normally to be solved using CSS, not using Javascript and certainly not Java/JSP.

  • Random text with links using Javascript?

    I have a very simple script I downloaded that makes text random using javascript. I would like to add a hypertext link on parts of the text, but can't seem to get it to work.
    Would anyone be so kind as to show me how this can be done. I would like to add links to the "Random text string 1.", Random text string 2. etc., within the javascript below.
    <SCRIPT LANGUAGE="Javascript"><!--
    function text() {
    text = new text();
    number = 0;
    // textArray
    text[number++] = "Random text string 1."
    text[number++] = "Random text string 2."
    text[number++] = "Random text string 3."
    text[number++] = "Random text string 4."
    text[number++] = "Random text string 5."
    // keep adding items here...
    increment = Math.floor(Math.random() * number);
    document.write(text[increment]);
    //--></SCRIPT>
    Thank you!

    Hi, Mic,
    I actually don't know if this will work, but what if you added <a href> coding around your text line? You might need \ escape characters so that your script sends it out without trying to execute it as code.
    Z

  • PDF form - Create link to folder or other document

    I've created PDF Form with various field along js. now client is asking the option to insert the link of other document reference in the field by using button. similar to browse to give the "link of document location in the server" in the field by using button.
    please help to make this.
    thanks
    kv

    I see. That is more complicated to implement... Basically you could do it
    like this:
    - Set the text field's option "Field is used for file selection" under
    Properties - Options.
    - Then add a MouseUp action to the button that executes this JavaScript
    code:
    this.getField("Link").browseForFileToSubmit();
    - When the button is then clicked it will open a file selection dialog and
    will populate the selected file path into the text field.
    On Sat, Nov 29, 2014 at 12:30 PM, kumaran20 <[email protected]>

  • Opening an external link using javascript.  Keeping new window in front

    I am displaying a photo from an external link when called upon from my swf.  When the user clicks a button, up pops a corresponding photo in a new browser window.  After the photo window has opened, if the user clicks another button the photo browser will update but its no longer in front.  I know I need to use the focus() command but cannot figure how to incorporate it into my AS3 code.
    var req=new URLRequest();
    function scrollPanePopulate(event:Event){     
         //create the temp variables
         var calledPhoto=pntxml.row[pointindex].PhotoUrl;
         req=pntxml.row[pointindex].PhotoUrl;
         var jscommand:String = "var newwin=window.open('"+req+"','win','height=400,width=600,left=650,top=50,toolbar=no,scrollbars=yes,location=no');";
         var url:URLRequest = new URLRequest("javascript:" + jscommand +"void(0);"); navigateToURL(url, "_self");
    The above code works great but I want to keep the photo window in front when it is refreshed.  Any suggestions?
    thanks in advance...
    -josh

    var req=new URLRequest();
    function scrollPanePopulate(event:Event){    
         //create the temp variables
         var calledPhoto=pntxml.row[pointindex].PhotoUrl;
         req=pntxml.row[pointindex].PhotoUrl;
         var jscommand:String = "var newwin=window.open('"+req+"','win','height=400,width=600,left=650,top=50,toolbar=no,scrollbars=yes,location=no');";
         var url:URLRequest = new URLRequest("javascript:" + jscommand +"void(0);newwin.focus();");
    navigateToURL(url, "_self"); }
    //  p.s.  you should be using externalinterface class.

  • How to dynmatically create textbox using Javascript?

    Hi ALL,
    I did some googling but didnt found any success so posting thread into this forum, I have javascript something like this:-
    <script language="JavaScript" type="text/javascript">
    function mandatory()
    var temp = document.getElementById('P3_STUDENT_NAME');
    if(temp.value != '')
    alert("student name is " +temp.value);
    else
    alert("you don't have any student name");
    </script>
    and selected BUTTON target as URL with URL Target as:- "javascript:mandatory();"
    Upto here its working fine now I want to dynamically create textbox and keep into <b>ELSE</b> part where user can enter value.
    Canbody tell me any hint or good example link which can help me out.
    Thanks
    Deep

    Hi Varad,
    I tried somthing like this:-
    <script language="JavaScript" type="text/javascript">
    function mandatory()
    var temp = document.getElementById('P3_STUDENT_NAME');
    if(temp.value != '')
    var r = confirm("Press a button!")
    if(r==true)
    P3_STUDENT_NAME = P3_STUDENT_NAME; //This is dump thing I'm aware
    else
    //do nothing
    else
    //$x_ShowItemRow('P3_STUDENT_NAME_NEW')
    var r = prompt("Enter your value","");
    if(r != NULL && r!= "")
    P3_STUDENT_NAME_NEW = r;
    else
    //do nothing
    </script>
    so now I how should I use <b>$x_ShowItemRow('P3_STUDENT_NAME_NEW')</b> under prompt window such that the user's enters some value into text_box & that value is passed to the pl/sql process(it has insert statement as below) which I have written under Processes section under Page Processing :-
    declare
    temp varchar2(20);
    begin
    IF (:P3_STUDENT_NAME != '') THEN
    insert into STUDENT_NAME (student_id, student_name)
    values(:P3_STUDENT_ID, :P3_STUDENT_NAME_NAME);
    ELSE
    insert into STUDENT_NAME (student_id, student_name)
    values(:P3_STUDENT_ID, :P3_STUDENT_NAME);
    END IF;
    insert into STUDENT_GRADE (student_id, student_grade) values (:P3_STUDENT_ID, :P2_STUDENT_GRADE);
    end;
    any idea how to approach it??
    Thank
    Deep

  • Creating links using Java

    I am using Java code to develop an FAQ tool. I would like to provide links (html links) in the applet. When user clicks on the link the appropriate URL should open in the browser (same like the anchor tag of HTML.) Can anybody suggest how this can be done?

    In the applet,
    "getAppletContext().showDocument(yourUrl);" will show
    the document pointed by the URL yourUrl in the browser
    window. See the api docs of java.applet.AppletContext
    for overloads / instructions.ThanQ.
    Once more doubt, is it possible to open the link in a new browser window instead of the same window where the applet is running?

  • How to create table with javascript and jquery in abap

    Hello masters,
    i want to create table using javascript and jquery.
    i know how to use these languages but i dont how to implement them to abap.
    regards.

    Look at the sample BSP application SBSPEXT_HTMLB
    also you can look at the below Blog..
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    <i>*Reward each useful answer</i>
    Raja T

  • Open/save dialog box using javascript.

    Hi,
    working on apex4.1
    How i can display open / save dialog box when click on button or link using javascript.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 27, 2013 10:20 PM

    Hi,
    I am using model dialog box.
    on page header i have copy The code as given in this http://jqueryui.com/dialog/#modal-message link
    //  page header code
    <!doctype html> <html lang="en"><head>  <meta charset="utf-8" />  <title>jQuery UI Dialog - Modal message</title>  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />  <script src="http://code.jquery.com/jquery-1.8.3.js"></script>  <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>  <link rel="stylesheet" href="/resources/demos/style.css" />  <script>  $(function() {    $( "#dialog-message" ).dialog({      modal: true,      buttons: {        Ok: function() {          $( this ).dialog( "close" );        }      }    });  });  </script></head><body> <div id="dialog-message" title="Download complete">  <p>    <span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span>    Your files have downloaded successfully into the My Downloads folder.  </p>  <p>    Currently using <b>36% of your storage space</b>.  </p></div> <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>  </body></html> My Button name is "DOWNLOAD" and on button actions "REDIRECT TO URL"
    on URL TARGET value is ==javascript: myFunction();
    where i have to write this code to bind my apex buttons with dialog box.
    apex.submit(myRequest);the steps i have written above, am doing right or not? Please help to place the code in apex with a right way.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 28, 2013 12:53 AM

  • How to set readOnly property using javascript

    Hi Folks,
    How do I make an inputtext readOnly using javascript?
    I have tried the following
    var textComp = AdfPage.PAGE.findComponent("textId");
    textComp.setProperty('readOnly', 'true');
    var textComp = AdfPage.PAGE.findComponent("textId");
    textComp.readOnly = true;
    var textComp = AdfPage.PAGE.findComponent("textId");
    textComp.setAttribute('readOnly', 'true');None of the above works. Any idea?
    Thanks
    Vishal

    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12046/oracle/adf/view/js/component/rich/input/AdfRichInputText.html#getReadOnly__
    Get function for attribute for 'readOnly'. This attribute is secured. You may get it, but you may not set it. Any changes to this attribute will not be transmitted to the server.
    Setting readOnly inputText value using javascript.

  • How to create links and how to use that links to go to other pages?

    my question is....how to create links...i mean by using make link option.....when we do right click on a word,etc in the design view.....and my other question is.....how to use that links to go to other pages.....i mean when i click on a link...it takes me to another web page.....

    Please do not post the same subject to more than one forum.

  • How to disable - General preference - Create links from URLs. Using Acrobat Javascript

    http:\\www.sdss.com should not be suggested as a link. We have manual option to uncheck -> Create links from URLs, but I need to achieve this through the script.
    Please help on this ASAP.

    That is an end user preference only. Not accessible by JavaScript. If you control the installation, then you can turn off that option for the installation but the user could still turn it back on.

  • How to use JavaScript to Open a link automatically

    Is there a method (using JavaScript) to allow a user clicked link to open the link through a “intermediary” page?
    For example, say I have a web page with a embedded Flash file that contains links to several different (outside) web pages. The behavior I want is that the user clicks a link (within the Flash file), a HTML window opens (over the 1st HTML/Flash window) with the new content, leaving the original Flash/HTML window displayed in the background. The user reads the new content. The user can then close the newer window and be back at the displayed HTML/Flash file.
    The twist is that the link embedded in the referring Flash/HTML file goes to a “intermediary page”. Call that the “collector” page. I control that page. On that page I have collected (in a list) all the actual outside URLs (I do this so that I can easily change the URLs using HTML rather than having to edit the Flash file.) The Flash file contains essentially the same URL for each outside location (plus a variable unique to a specific URL).
    The user should not ever actually see this intermediary/collector page. Instead, they click the link, a variable is passed from the referring page to the collector page and fires the corresponding link automatically (replacing the content in the newly created window). Since the link fires automatically the content in the new window (initially created by the collector page) changes to the destination content.
    Is this possible?
    What JavaScript functions are used?
    How are the referring links constructed in the Flash so the variable is passed to the collector page?
    How does the “collector” page auto open the actual content?
    If anyone can point me to descriptions on how this might be done I’d certainly appreciate it.
    TPK

    >is there a way i can call javascript without security checking?
    It wouldn't be security if you could just bypass it. Did you read all
    the security notes? You might be able to do something with trusted
    functions, but I'm not sure how that would integrate with a plug-in.
    Aandi Inston

  • Creating a custom link using the Action Wizard

    Hi everyone! I hope someone can help me.
    I would like to create an action, using the Action Wizard, to make custom links. I work with extremely large PDF documents at a major airline. I am in charge of watermarking and linking all support manuals for the airplanes. We have a custom watermark that we apply to particular pages, and also link them to updated pages on our own private server. I think the linking process could be made faster with a custom action.
    Currently I use this code:
    app.launchURL("CODE", true)
    The "code" is the web address of the document online. This works fine, however, I still have to click the link button, reposition the link, and edit the code for the particular page. Then I have to do that hundreds of times a week.
    I'd like a link action, where I can click one button and the link is perfectly drawn and placed in the exact location I require (this never changes; The link is always the same size and in the same location). I'd like this to work the same as my custom watermark action works. With my watermark action, I simply specified where the watermark went on the page, what type size, color, etc. using javascript. I'm hoping I can do the same thing with a link; Simply state what diminsions the link box needs to be and where it's located on the page.
    If this is possible, I'd be able to do both in one click; Apply my watermark with a link box already drawn on top of it. Then all I'd need to do is edit the link with the web address of the file I'm linking to.
    I hope this makes sense. Any help would be appreciated!
    Matthew~

    Okay, I'm really close to what I want. If you could help me with this one little thing, I'll be golden.
    My watermark is text that says "See Supplemental Information". I'm using a script that finds words and draws a link around them. That's perfect for me, except I need to search for the entire phrase "See Supplemental Information".
    Here is my code:
    /* LINKING */
    for (var p = 0; p < this.numPages; p++)
                        var numWords = this.getPageNumWords(p);
                        for (var i=3; i<numWords; )
                                  var ckWord = this.getPageNthWord(p, i, true);
                                  if ( ckWord == "See Supplemental Information")
                                            var q = this.getPageNthWordQuads(p, i);
                                            // Convert quads in default user space to rotated
                                            // User space used by Links.
                                            m = (new Matrix2D).fromRotated(this,p);
                                            mInv = m.invert()
                                            r = mInv.transform(q)
                                            r=r.toString()
                                            r = r.split(",");
                                            l = addLink(p, [r[4], r[5], r[2], r[3]]);
                                            l.borderColor = color.red;
                                            l.borderWidth = 1;
                                            l.setAction("app.launchURL('https://website.com', true)");
    The code works if I only search for one word, but when I try to search for a phrase, it doesn't do anything. Is there a way to search for an entire phrase like what I need?
    Thanks for all your help.
    Matthew~

Maybe you are looking for