Action: Open a web link vs Run a JavaScript

I've been able to add a "Run a JavaScript" Action to my Link, but what I really need to do is use the "Open a web link" action instead. Is there anything I can change in this code...
Link.setAction("app.launchURL('http://www.lego.com/', true);" );
or is there a different call I can use that will put in an action of "Open a web link" instead?
Thanks in advance.

Does anyone have a plugin that would work for this?  Or know where I could find one?
Thank you

Similar Messages

  • PDF export with link to document defaulting to "Open a web link" instead of "Open a file"

    I have a MS Access database and I'm trying to export reports to PDF (I have Acrobat XI Pro) that include a hyperlink to another document on the same drive on my computer.  I have tested this with hyperlinked email addresses, and emails export fine to PDF and are still functional, opening a new email in Outlook.  The hyperlinks to documents work fine in MS Access, opening a Word, PDF, or other document when clicked.
    When I export to PDF, the links to documents say, "This document is trying to connect to: file:" and my filepath.  If I say "Allow," the link tries to open in my default web browser, which comes up blank.  I've tested this on other computers in our office too.  When I right-click the link, I have the option to "Open weblink as a new document" -- this opens the document successfully, but won't be very helpful or fast for our staff.  When I examine the link with Tools - Add or Edit Link, I see that the link's action defaulted to "Open a web link" when the PDF was created.  This seems like it should be "Open a file."  To see if "Open a file" would work in theory, I tried creating a test button in a blank PDF and made the "mouse up" action "Open a file" and linked to various documents on my computer.  Each time, the button does not react to being clicked at all, like nothing happened.
    I also tried making a basic Word doc with just the hyperlink to another document.  It works fine in Word, but, when saved as a PDF, the hyperlink does the same behavior-- tries to connect to the web instead of opening the file on the computer.
    I have a lot of experience building Acrobat PDF forms and working in Acrobat, and I'm almost certain I've created links that open another file on the computer in Acrobat before, but I'm out of ideas and an internet search isn't turning up much.  I welcome any suggestions for things to try.  Thank you!

    This is what I currently have, and it attempts to open in a web browser.  Do you know of a setting in Acrobat I might need to change, or any other solution to tell Acrobat to open the "file:" URL as a document, not try to start the web browser?

  • JSP page open a web link in a new browser

    How i can open a web link from JSP page to a new web browser?
    regards,
    deemy

    How i can open a web link from JSP page to a new web
    browser?JSPs can't open any client browser windows, if that's what you mean. Javascript and HTML can, though. You should get your understanding of JSPs straight.

  • Unable to open any web links.

    whenever I click on link, it opens a new tab but then it throws up the error saying the safari is not able to connect to the server. But, if I logoff from my account and login back thru guest account, I am able to open the same link. Any ideas why this is happening and how to fix it?

    I moved all of them from the plugins folder to the desktop and did a reset of Safari.
    You do need to move them with safari quit, or at least quit/restart after moving them.
    all the items in Accounts - Login Items are unchecked
    the check mark controls whether or not they're hidden - they still run, checked or not.
    from Apple help...
    To make items open automatically when you log in:
    Choose Apple menu > System Preferences, click Accounts, select your account, and then click Login Items.
    Open Accounts preferences
    Click the Add ( + ) button to the right of the account list.
    Select an application, document, folder, or disk, and then click Add.
    If you want the window for an item to remain closed, click the Hide checkbox next to it.
    To temporarily prevent items from opening automatically when you log in:
    In the login window, hold down the Shift key while clicking the Log In button.
    Continue holding down the Shift key until you see the Dock.
    To permanently prevent an item from opening automatically when you log in:
    Select the item in the login items list.
    Click the Delete ( - ) button.

  • Textfield text link to run a javascript

    I created a text link in a textfield by highlighting the text then right clicking and selecting hyperlink. The hyperlink panel opens up but it only allows for a website to be entered as far as I can tell. I would like to run a javascript onclick instead of opening a web page, is this possible?
    Thanks in advance!

    Thanks for the quick response George. I tried that also and it didn't work  . Security restrictions doesn't make sense though because I can use the hyperlink tool over the text and and run a javascript from it. The only problem with that method is it doesn't work with a scrollable textfield.

  • How to remove prompt for Allow or Block message when opening a web link?

    THE ENVIRONMENT:
    User audience running version of Adobe Reader 5.x-8.x on Microsoft Windows XP Professional SP2 platform.
    Our web platform is Windows 2003 server, web site address: http://www.uzlicek.cz/default.aspx?ido=95&sh=216233947
    THE ISSUE:
    We produce pdf documents with lot of hyperlinks. In new versions of Acrobat and Reader you have to click Allow or Block button before going to the site. It is very annoying for our readers.
    There are probably two directions of solution: either modify somehow the pdf document or somehow edit end readers Adobe Reader security settings (or add the document to trusted documents list.
    THE QUESTION:
    Is there any possibility how to preset Allow all web sites in Preferences/Trust manager/Internet access from pdf file.../Change settings in such a way, that reader of pdf document is not forced to confirm access to external web site?
    Some common thing should work for playing multimedia, the problem is the same, asking and confirming all the time...
    Thanks in advance for suggestions of resolving this behavior.

    I find these "security" warnings that pop up in Adobe Reader to be a little absurd. All I want to do is create a PDF with a couple of links to websites. How is this any different than creating a webpage with a couple links?
    My web visitors certainly don't get a "trusted site" warning box every thime they click on a link. Yet, the pdfs I create force my readers to see not only one, but two different warning boxes before they can do anything with the pdf.
    First they get a security warning for connecting to a website, and then they get another message box asking them if they want to "manage trust for multimedia content." Good lord. Talk about scaring people away. Is there really any good reason why my PDF audience should have to go through all this hassle?

  • 20 secs or more to open a web link clicked from Skype conversation.

    I noticed that when i click the link sent from others, or even me, in chat in Skype there is a big delay. I opened a terminal to see the output and i get this error.
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    START /opt/google/chrome/google-chrome "http://google.com"
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    [17428:17454:0817/174340:ERROR:object_proxy.cc(627)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [17428:17454:0817/174340:ERROR:object_proxy.cc(627)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [17428:17428:0817/174340:ERROR:object_proxy.cc(532)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    ERROR: ld.so: object '/usr/lib32/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
    I dont use webcam. What is the problem here?
    lib32-libv4l installed
    skype 4.2.0.11-3
    google-chrome 28.0.1500.71-1
    arch x86_64
    Last edited by manolos (2013-08-17 15:07:46)

    Someone else reported this sound last September, but there wasn't any resolution to that thread: [https://support.mozilla.org/en-US/questions/938003 After upgrading to Snow Leopard on my Mac, Firefox makes typewriter or paper crinkling sounds when going to links and sites].
    Does it seem to be at all related to whether pages use Flash? Just wondering whether it is some kind of notification sound related to Flash's capabilities of using the webcam and microphone.

  • Fillable Form posted to website will not open web links in new window-wipes out data

    Using Adobe Pro X, have a link to open a web link, but this is posted to our website and when a user clicks on the link, it does not open in a new window, so when they go back to the form, all the typed data is gone.  I do not see an option for the link to open in a new window.  Help!
    Thanks

    Ajlan,
    I tested it with Firefox, which does not support filling in of forms and makes you open it with adobe reader, which it fine once you get to that point since you are no longer on the web.  I have Adobe Reader XI.   I am not aware of any clipboard policy.
    I have actually found a fix that requires a java script that solves the issue.
    Under link properties/Actions/Run a JavaScript-input the below.
    app.launchURL("https://infoshare.jccc.edu/communities/toolbox/Desk%20Reference%20Manual%20Documents/per-d iem-and-mileage.pdf", true);
    To truly fix this issue, I believe there needs to be an option of "in a new window" when you choose "Open a Web Link".
    There are hundreds of individuals using this form and there is no way to know which browser they are using or which version of reader they have.
    Thank you for your time.

  • Mac won't open pdfs from web links.

    I am running Mac OS  v 10.5.8 and it suddenly stopped displaying PDFs that are opened via web links.  All I see is a grey screen with the file title.pdf at the top, no error message.  Has anyone experienced this or aware of a fix?  Soooooo frustrating.
    Thanks!

    Alternatively, you can select any PDF file from Finder, hit Command-i, or right click on the file and select Get Info.
    From there, change Open With to Safari.
    Then hit the button Change All.
    And done.

  • Problem opening web links in a pdf

    I work at a college and I have a user that cannot open web links in pdfs that he created himself in Acrobat 7.0. He uses Adobe Reader XI to view pdf's and Adobe Acrobat 7.0 to edit them. His computer at home and my own office computer can open the web links. Funny thing is, Acrobat 7.0 will open the links but latest and greatest Reader on his specific machine won't. Any ideas?

    Make sure the URLs are complete and valid. A common error is to leave out http:// at the start, since that seems to work in browsers, but isn't a URL.
    Other common errors are leaving spaces or other special characters in URLs, which are forbidden (but not all software blocks it).

  • Is there any way to configure iBooks to open an external link (Spotify app) when clicking on a link like "spotify:track:78nySCOb8jDsRufLOyai8r" ?

    Surprisingly, clicking on an external link such as "spotify:track:78nySCOb8jDsRufLOyai8r" opens the Spotify app on mobile devices with iOS 7.0.3 but not on computers with Mac OS X 10.9...

    thanks for your help.
    I may have been confusing a "acrobat bookmark" and a bookmark in a word file that is converted to a pdf and ends up being a
    link of the type:
    "Go to a page in this document"
    which I do not want in my array vs
    a link of the action type:
    "Open a web link"
    Which I do want
    John
    My code, note how I have to skip pages with "Go to a page in this document" links depending on the document, I would like to use the same code for each document and skip over the "Go to a page in this document" links :
    global.ilinkindex = 1; 
    global.aLinkquads = [ [0, 1, 1, 0, 0],
           [0, 0, 0, 0, 0] ];
    function GetLinkArray()
    global.ilinkindex = 1;
    var iTotalLinks=0;
    // for ( var p = 0; p < this.numPages - 8 ; p++)                   // end before bookmarks for each page of the file x.pdf
    //  for ( var p = 0; p < this.numPages; p++)                     // for each page of the file
    for ( var p = 23; p < this.numPages; p++)                     // start after bookmarks for each page of the file y.pdf
      var cropbox = this.getPageBox("Crop", p);
      var alinksonpage = this.getLinks(p, cropbox);            // get array of links on page
      for ( var ll = 0; ll < alinksonpage.length; ll++)
       var linkquads = alinksonpage[ll].rect;     // get link Quads
       linkquads[4] = p;          // add page number to link Quads array
        global.aLinkquads[global.ilinkindex] = linkquads; // add quads to global link Quads array
        global.ilinkindex++;
    iTotalLinks = global.aLinkquads.length - 1;
    global.ilinkindex = 1;
    app.alert("Number of Links in Document is " + iTotalLinks );

  • When I google any topic and try to open teh weblink in fireox it opens some other link always. I think some malware links. Firefox version is 24.0.

    When I goggle any topic and try to open the web-link in firefox it opens some other link always. I think some malware links. Firefox version is 24.0. I have cleared all the cookies, history. Still problem remains.
    Any settings required to solve this?
    Regards,
    Rajanikant

    Hello rajkajave, you can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!
    thank you

  • Open the external web link from the help contents in EclipseRCP Action bar advisor

    Hi Team,
    I am working on the eclipse rcp application(eclipse 3.3), I want to open the external web link(www.test.com) when user clicks on the help contents in help section. how to achieve this.
    And also i want to open the external link from toc.xml file, when i add the external link using href command in toc.xml the help contents will be disappearing.
    sample code:
    ?xml version='1.0' encoding='ISO-8859-1' ?>
    <?NLS TYPE="org.eclipse.help.toc"?>
    <toc label="ddd" >
    <topic label="guide" href="http://www.test.com" />
    </topic>
    </toc>
    can you guys please help me how to do this.
    appreciate your help.
    Thanks.
    Raju

    Eclipse 3.3? Seriously?
    > Hi Team,
    >
    > I am working on the eclipse rcp application(eclipse 3.3), I want to open
    the external web link(www.test.com) when user clicks on the help contents in
    help section. how to achieve this.
    >
    > And also i want to open the external link from toc.xml file, when i add the
    external link using href command in toc.xml the help contents will be
    disappearing.
    > sample code:
    > ?xml version='1.0' encoding='ISO-8859-1' ?>
    > <?NLS TYPE="org.eclipse.help.toc"?>
    > <toc label="ddd" >
    > <topic label="guide" href="http://www.test.com" />
    > </topic>
    > </toc>
    >
    > can you guys please help me how to do this.
    >
    > appreciate your help.
    >
    > Thanks.
    > Raju

  • How to open files from web links in safari

    II can't figure out to get a file downloaded from a web link into numbers, pages, etc.

    Matt-
    I think the App that uses the files must have its own web access to be able to download.  Perhaps another App that has web download capability can act as an intermediary using the "Open In" option.
    One candidate might be GoodReader.  It has some web download and file transfer capability, and does have the Open In option.  However, it apparently must be able to read a file before you can get to the Open In option.
    Another approach is to use iTunes on your computer.  With the iPad connected to the computer, run iTunes and select the iPad under DEVICES.  Click on Apps at the top of the window and scroll down to File Transfer.  If an App appears there, data files can be synced to it by selecting it and dropping the files in a folder in the right hand window.
    Fred

  • When opening a pdf link the process stalls and there is a message that Adobe acrobat reader is running. to the best of my knowledge I do not have the reader. I have an older version of Acrobat Pro. How can I fix this?

    when opening a pdf link on a web poage the process stalls and there is a message that Adobe acrobat reader is running. To the best of my knowledge I do not have the Acrobat reader. To the best of my knowledge I have deleted the reader program. I have an older version of Acrobat Pro. The problem occurred before I did the deletion and continues since then.

    Assuming that you are using IE10 / IE11 on Windows: http://support.microsoft.com/kb/2716529

Maybe you are looking for