Link to an external .js from PDF?

Using Acrobat 9 Pro, I have a PDF document that I want to link to an external .js file (for SCORM and LMS purposes).  I have imported a multimedia object (swf) into the PDF and it needs to call several Javascript functions.  Instead of copy/pasting each function of Javascript code into each PDF (menu path: Advanced > Document Processing > Document Javascripts), is it possible to write a line of code that links to an external .js file?
In HTML, it would be someting like <HEAD><SCRIPT type="text/javascript" language="Javascript" SRC="pdf.js"></SCRIPT> </HEAD>.
Possible?

Try67, thanks.  You answered my question precisely.
Of course, I now realize that I asked the wrong question.  Since the PDFs will be accessed via an LMS on a server, I cannot (at least, I don't think I can...need to verify...) use a folder-level script.  I'm pretty sure I need a document-level script.  Now, if that means I have to copy/paste all the functions I need into a document-level script, it would work, but I suspect that becomes a maintenance nightmare down the road if I ever have to update/replace code on each PDF.
It would be much easier to have a document-level "link" to an external .js file, but I suspect that is impossible based on what I've read in the Acrobat Javascript reference.  Am I wrong?

Similar Messages

  • How do I add a link to an external site from my navigation toolbar?

    I want to add a link to an external page on the navigation bar, but when I right click or use inspector nothing looks useful. Any help is appreciated. Thanks.

    Open the Inspector and then click on Hyperlink to create any link to an internal or external page. It is the second from the end and has the blue hyperlink symbol and yes, take time to look at what is in the Inspector - they are all 'useful' at some time!!

  • Link to folder on server from PDF

    I'm trying to create a link within my interactive PDF (created in InDesign CS6) to a specific folder location on my company's server, in order to direct users to a set of logos. I've tried using an afp:// link to the folder but I get an error message telling me that Acrobat does not allow connection. Any ideas?

    Don't think it can be done.
    Best to upload the logos to your website and then insert the link to download them directly.
    You can put an image of each logo and text like
    [LOGO]
    Screen/Web/Office
    Printers
    And provide jpegs/ai etc. files for them to download.

  • Is it possible to link out to external URLs from within an HTML widget, and have them open in Safari?

    I can add links within the iBook content, but if they're added inside an HTML widget, the new page loads *inside* the widget itself, with no ability to navigate back etc.
    Is there any way to have external links inside an HTML widget open in Safari?
    Thanks,
    Mike

    Those links need to be local the the book, sorry.
    As always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc.
    http://www.apple.com/feedback/ibooks-author.html

  • Link to external URL from flash site

    Is there any way to link to an external URL from your flash
    site without having the flashplayer prompt you to change your
    settings and allow access to that page? (this only applies to swfs
    viewed through a browser)
    the only way around this i've found isn't very useful - you
    have to put a small xml file on the host server where the page you
    want to link to is located. i seriously doubt every site you want
    to link to will allow you to put an xml file on their host server
    just so you can link to their page. the code in the xml file just
    tells flashplayer that the site you are trying to access is safe.
    it's called crossdomain.xml
    anyone have an answer?
    thanks!

    This question was answered by kglad, on Saturday, August 11,
    2007 10:13 AM
    Answer
    no it doesn't. getURL() causes no security issues unless you
    try to open the html locally and (try to) access something on the
    internet.
    unless your "flash site" is your local computer there is no
    security issue. if your local computer is an internet server, you
    just need to set the security settings for your local file and give
    it permission to access the internet zone.

  • Link to external URL from online swf

    Is there any way to link to an external URL from your flash
    site without having the flashplayer prompt you to change your
    settings and allow access to that page? (this only applies to swfs
    viewed through a browser)
    the only way around this i've found isn't very useful - you
    have to put a small xml file on the host server where the page you
    want to link to is located. i seriously doubt every site you want
    to link to will allow you to put an xml file on their host server
    just so you can link to their page. the code in the xml file just
    tells flashplayer that the site you are trying to access is safe.
    it's called crossdomain.xml
    anyone have an answer?
    thanks!

    no it doesn't. getURL() causes no security issues unless you
    try to open the html locally and (try to) access something on the
    internet.
    unless your "flash site" is your local computer there is no
    security issue. if your local computer is an internet server, you
    just need to set the security settings for your local file and give
    it permission to access the internet zone.

  • RE: Bookmarking; can you link to an external pdf file?

    Hi, I apologize in advance if this question is stupid; I am very new to using Adobe Acrobat 7 and have not had any training using it, much less creating documents, extracting, linking, etc.
    My employer creates PDF files of different documents, then wants to compile them into one new PDF file by extracting the information out of the individual PDF's and bookmark the information imported from each file.
    The problem I'm running into is that some of the files are "protected" and I can only view or print them, I am unable to extract pages or copy from them.
    It seems the only solution would be to make a bookmark that references the external "protected" pdf file from within the new compiled PDF, but I don't know how to do it.
    Also, if anyone has a better solution, suggestion or advice for a better way to build these types of documents, I would be very appreciative of any help!
    Thanks!

    Thanks, George!
    I really appreciate everyone's help with this!
    (It's helping to keep me employed)
    You guys are really nice folks!

  • Please help: Linking from PDF to other PDF's that open in a new window... but NOT in full screen mode!?

    Hi All,
    I have a project where a PDF is viewed in full screen mode when opened, from within this I wish to link to a variety of other PDF's.
    Creating the links is simple, however I can not work out how to control the new window so that the new PDF opens with the toolbars and menus, ie not in full screen mode.
    Any help would be apreciated, google is not my friend on this one.
    LB.

    Hi Thanks for the response.
    I thought I had, but what seemed to be happening was that the Linked PDF was
    adopting the full screen property of the original PDF. I'll give it another
    go and let you know.
    LB
    2009/5/10 Steve Hart <[email protected]>
    Have you tried setting the initiall view properties of those PDFs to what
    you want?  Go File>Properties>Initial View.
    >

  • Can a pdf link to an external file

    ... so changing the original file changes the pdf?
    I've got a dinner riding on this. My co-worker says don't change that Illustrator .eps file - all our pdfs are linked to it! You'll  mess them up!
    I say - what? no way...  pdf's aren't linked to external .eps  files (that we imported into Quark and made pdf's) They are standalone docs. I did a test and can't replicate what he says. Using high-res print pdfs.
    What you say?  Am I buying dinner?

    Thanks for the input guys.
    I've been making pdf's well over 10 years but use only a narrow set of pdf types. I know there is a range of options and things you can do with pdf's that I've never done. This co-worker is actually my boss and he's adamant this has happened to him, pissed that I'm doubting him and won't let me improve a workflow system because of it.
    Maybe there is (or was in the past) some type of pdf that can link to an external file and can be changed by revising the external file?

  • Linking data from PDF form into Indesign CS6

    Hello all,
    I'll be working on a magazine which has a large section of day camps technical descriptions :
    name, contact info, location, short introduction text, activities icons (they have to choose up to 5 icons from a total of 12)
    Is it possible to link data from a fillable PDF into predetermined and prestyled text boxes in Indesign CS6?
    Would it be necessary to export in an Excel sheet prior?
    What would be the best trick in order for the icons to place themselves automatically, if possible?
    Thanks in advance

    When placing a PDF into InDesign, it's a flat piece of art for each page included. There's no way to manipulate form fields or work with links or anything like that.
    The data from the form would have to be collected and converted into an Excel file for placing into InDesign. (Collecting data from PDF forms and converting the Excel format can be done in Acrobat Pro.)

  • Hypertext links are not always preserved from Word to PDF, using Aperçu or Adobe, depending on OS 10 or Lion. Why? This generally works perfectly in Windows. Why are Apple and Adobe unable to correctly handle links when converting from Word to PDF?

    Hypertext links are not always preserved from Word to PDF, using Aperçu or Adobe, depending on OS 10 or Lion. Why? This generally works perfectly in Windows. Why are Apple and Adobe unable to correctly handle links when converting from Word to PDF?
    Depending on the system version, and Office Word version:
    - a pure URL link starting with http or even www sometimes works in PDF, either produced by Aperçu or Adobe, sometimes does not work;
    - other kind of links where the text under display is not a URL, never work!
    I like everything with Apple computers and software, except PDF generation. Output files are usually bigger in size, and no better quality, than under Windows. Furthermore, it is weird that something as common as hyperlinks does not work correctly!
    I related this question with Mac OS X Snow Leopard, but the problem is still there with Mac OS Lion.
    This problem seems to have been around for years, without any proper solution from Apple and/or Adobe! To me, this is very embarrassing!

    Greetings NoNameGiven,
    If I understand the problem correctly (I’m not sure I do) you would prefer ‘iii’ to be read as “eye eye eye” rather than “three”? The alt text property is the only way that I know of to make this happen. Hope this helps.
    a ‘C’ student

  • Extracting Linked images from PDF

    Good afternoon,
    I have a PDF which I created in illustrator but unfortunately I had a problem with with my computer which meant that the recovered files were corrupted. I found a PDF on disc which opens in Acrobat just fine but when I open it in illustrator it asks for the linked images which of course I do not have.
    The linked images must be in the PDF as they show up ok.
    Is there a way of extracting the images from the PDF so that I can do a repair in illustrator?
    Hope someone can help.
    Thank  you,
    Kirk

    If you have photoshop, open that pdf from it.  File/open, then chose images...
    Another option, if you have Acrobat Pro, go to Advanced/Document procesing/Export images

  • How can I make an external link (to a different folder) from the main menu?

    How can I make an external link (to a different folder) from the main menu?

    If the folder is outside the Muse page, you will have to insert manual HTML to define a more complex URL like e.g. ../_stuff for going one level up and then into a folder called "_stuff" The deeper you are in the hierarchy, the more ../ you will have to add to climb up.
    Mylenium

  • Need help linking to an external PDF file

    How can I create a link inside my robohelp project that links to a PDF file that has NOT been copied into the project. I am looking for a link with a relative path in the event the files may someday need to be moved.
    Thanks

    Hi,
    Microsoft's HTML Help documentation includes a script with which you can link to an external file. See:
    http://msdn.microsoft.com/en-us/library/ms644690(vs.85).aspx
    This opens the external file in the topic pane of the Help viewer. If you'd rather open the file in its native application (Acrobat or Adobe Reader, in your case), you'd need to use a script like this one:
    http://groups.google.co.uk/group/microsoft.public.helpauthoring/msg/fa85cc619be13e3d?hl=en
    You may also find these resources useful:
    http://helpware.net/FAR/far_faq.htm#Script_to_External_File
    http://www.cybertext.com.au/tips_HTML_chm_external.htm
    Pete

  • Impossible (?) to link to Named Destination/Bookmark in Local PDF from PDF?

    Goal: Very simple... in a PDF, click on a link that (a) opens a second PDF on local drive, and (b) navigates to a named destination or bookmark in that second PDF... just like our normal everyday HTML links work, and even Word itself does this.
    According to PDF Open Parameters, trial and error with Acrobat (X) itself, and all other articles I've found, this can only be done IF the second PDF is not local but accessed through an HTTP URL on a server elsewhere.
    Yet I find this very hard to believe, and think I'm missing something obvious. Any suggestions?
    Thanx.

    Actually, it can be done, but it's not very intuitive.
    When you create your link and the Action window appears, select "Go to a
    page view". Now a floating window opens that lets you set the link. The
    tricky bit is that you can now open a different file and set the link there.
    If you want to set it to a named destination you need to open that panel and
    double-click on that destination.
    Linking to a bookmark is not possible, only with a custom-made script.

Maybe you are looking for

  • One library on multiple computers

    I have my iTunes library on an external firewire drive that I move between 3 Macs. Is there any way to not have to make iTunes organize it every time? It seems some songs get missed and then when I switch computers other songs have been moved so they

  • PSE Slideshow Error

    Hi, I'm currently using PSE 7 and having problems viewing a slideshow I created a while back. When trying to view the slide show, PSE plays the first several seconds of the slideshow, but then crashes. Here is my system info: Adobe Photoshop Elements

  • I have tried downloading snap chat on my iPad and it says error and that I need to change into my uk account ???? How can I change so I can download my app

    I need help ASAP , I have tried to down load snapchat an app and it says it cannot be purchased on a u.s account and that I need to change into my u.k account but I have no clue to what that means and how to change it , I live in the u.k so I'm confu

  • ACTION_UPDATE of tables with 32 columns

    Is anyone else having this problem: SQLEXCEPTION SQL command not ended properly. I have a model of a single table with more than 32 columns. I get this error whenever I use the WebActionCommand ACTION_UPDATE. But only on this table.

  • Premiere Elements 9 - Help files don't activate

    In Adobe Premiere Elements 9.0, when I click on the "Help" tab, I get a very short system busy icon, then nothing.  None of the Help functions activate.  Similarly, when I click on the various "Click here" messages that show up on the bottom bar on t