Can I with Javascript force Chrome users to open a PDF with Acrobat

I have built a document in InDesign and exported to an Interactive PDF. I originally had issues with acrobat highlighting interactive buttons with a blue box but was able to get around this with a couple simple JavaScript lines that disabled this feature then re-enabled on closing. You can view the thread with my resolution here:
Button Highlight in Interactive PDF from InDesign CC
Great but now I have another issue. If the user opens with Chrome and has not disabled "Chrome's" PDF viewer the above JavaScript is ignored or not functional. It there a way with JavaScript or some other method to force the PDF to be opened with Acrobat in Chrome?
I Miss FLASH this project would have been 100 times easier with action script and consistent across browsers ... curse you Steve Jobs.

You need to not just think about Chrome. There is
- FireFox
- Microsoft Reader (comes with Windows 8)
- Preview (comes with Mac)
- iPad native PDF viewe
- Android native PDF viewer
Anyone getting a computer or tablet today can read PDFs without getting Adobe Reader and you need to give them a pretty compelling reason for them to download Adobe Reader to do what (they believe that) they can already do. I think it's the death knell for PDF forms.

Similar Messages

  • Forcing end user to open the child form in the resource request dataset

    Hi,
    Is there any way where we can force end user to open the child form of a resource request dataset and enter the values for the attributes in the child form. The child form attribute is mandatory. However, currently, OIM allows user to submit the request without opening the child form and to enter values for child form attributes(which is mandatory).
    Thanks.

    Child dataset attributes are set to required="true". But it will come into picture only if end user opens the child form. If he forgets to open the child form, still he is able to submit request without entering values to the attibutes(whose required=true) in the child form. OIM is alowing to submit request if he doesn't open the child form.
    I hope i was able to put it in corrrect way.
    Thanks.

  • Force all Users to open Access with same definitions

    Hi Guys,
    I am having some difficulties to find how can I force all my users to open the Microsoft Access 2010 with:
    Open Method Shared and Encryption Method Use Legacy Encryption
    File/Option/Client Settings/Advanced
    Any Ideas?
    Thanks in advance

    Sorry for the delay in response I've been very busy.
    What I am saying id that you need top start by splitting the database. The easy way is using the Wizard but you can manually process this by creating a blank database and importing everything into it except the Tables.
    Once you have only Tables in the one File and the Logic and Objects other than Tables in the other File. Then rename the one with only Tables to include _BE. for instance "MyDataBase_BE.accdb" Then name the FE
    "MyDataBase.accdb".
    Next open the FE and Save As an .accde File. This will make a copy of the FE and lock the project so the code cannot be changed. Give everyone a copy of the .accde file and they cannot make changes to it.
    As far as specifying
    File/Option/Client Settings/Advanced
    Open Method:
    Shared
    Encryption Method:
    Use Legacy Encryption…"
    Do this before you make the .accde version for distribution.
    Maintain your .accdb copy for future changes that may be needed. Then you will need to redistribute the FE after new changes are saved.
    Just takes a click to give thanks for a helpful post or answer.
    Please vote “Helpful” or Mark as “Answer” as appropriate.
    Chris Ward
    Microsoft Community Contributor 2012

  • Prevent Mac users from opening a PDF form in Preview

    When I create an AcroForm, it does not behave the same when someone fills it out in Preview, and when I receive the completed form back from them, some of the information in the form fields is missing.
    Is there a way to prevent Mac users from opening the form in Preview? Or to give them a message that the form needs to be filled out using Reader?

    You can't stop them doing it (except by standing next to their computer with a heavy stick).
    You could consider having a large field on the page warning that the file is not to be used (or whatever), which is hidden using Acrobat JavaScript.
    Be aware that we are now dealing with a very large set of PDF readers.
    Included with computers: Mac OS Preview, Windows Reader.
    Included with browsers: Chrome, Firefox.
    Included with portable devices.
    Anyone who gets a computer these days in fact gets a PDF viewer which is bad with forms. You need to give them a compelling reason to download extra software. (Or, frankly, give up on PDF forms. I think their day has passed for a general audience who could fill in a browser form).

  • Is it possible to determine which user has opened a PDF on a network?

    Hi Everyone.
    We frequently have a situation where users open PDFs saved on the network with Acrobat, and then leave them open.
    Then if other users need to edit the same PDF, they have no way of knowing the PDF is locked until they try to save and get this error:
    "...The file may be read-only or another user may have it open... "
    In this situation it would be useful to be able to interrogate the locked PDF to see which user has locked it open, and maybe to even force close the open session.
    Does anyone know if any of this is possible?
    Many thanks in advance.
    Cheers,
    Andy

    It's not something that Acrobat can show. File 'locks' in Acrobat are not controlled by the application as they are in programs such as Word or InDesign - which write a lockfile to the folder - instead we rely on the server OS to flag each file. Information on who is accessing a file on a network share is only available at operating system level via the machine which hosts the share (e.g. via a net session command).

  • JavaScript to prompt user to save as PDF

    I am making changes with code to the file. I want the user to be prompted to save as a .ai file first. I have that down. Now I am wanting to have the user immediately be prompted to save as a pdf with only the optimize for fast web view option selected. I believe it is an adobe preset of Smallest File Size.
    The reason for wanting the prompt is because I want to save the files in 2 different locations.
    Here is my code so far.....
    var doc = app.activeDocument;
    // Save as .ai file 
    var fileName = doc.fullName; 
    var thisFile = new File(fileName);
    var saveFile = thisFile.saveDlg();
    doc.saveAs (saveFile);
    // Save as .pdf file
    var pdfSaveOptions = new PDFSaveOptions(); 
    pdfSaveOptions.pDFXStandard=PDFXStandard.PDFXNONE; 
    pdfSaveOptions.compatibility = PDFCompatibility.ACROBAT5; 
    pdfSaveOptions.preserveEditability = false; 
    var pdfFile = new File(fileName); 
    doc.saveAs(pdfFile, pdfSaveOptions);
    AI CS4 Windows 7 64bit

    is the folder structure existing already?
    if so, things are simple.
    if the job number and name are in the file the you could pull that from the doc rather then manual entry at the prompts.
    (please note this has no testing to check folders exist etc...)
    var job = prompt("Enter Job Name");
    var num = prompt("Enter Job Number");
    aiFile = "D:\\"+job+"\\"+num+"\\AI\\Schematic.ai"
    pdfFile = "D:\\"+job+"\\"+num+"\\PDF\\Schematic.pdf"
    var newaiFile = new File(aiFile);
    var doc = app.activeDocument;
    doc.saveAs (newaiFile);
    var pdfOpts = new PDFSaveOptions();   
    pdfOpts.pDFXStandard=PDFXStandard.PDFXNONE;
    pdfOpts.compatibility = PDFCompatibility.ACROBAT5;   
    pdfOpts.preserveEditability = false;
    var newpdfFile = new File(pdfFile);   
    doc.saveAs(newpdfFile, pdfOpts);
    if you want the script to create the folders then its a little harder.
    Javascript will not do this and you need some other work around.
    something like this...
    if (Folder(qfolder).exists){
    app.activeDocument.saveAs( saveName, saveOpts );
    }else{
               //alert("about to try bat");
               batpath= 'call "C:\\Adobe Scripts\\MakeDirectory.bat"';
                battemp = new File("C:\\Adobe Scripts\\tempBAT.bat");
                battemp.open("w");
                battemp.writeln(batpath + " " + qfolder);
                battemp.close();
                battemp.execute();
             //alert("Had to Create Folder, Please press OK to continue...");
                $.setTimeout = function(func, time) {
                        $.sleep(time);
                        func();
             $.setTimeout(function(){ app.activeDocument.saveAs( saveName, saveOpts )},200);
    the MakeDirectory.bat is just:
    ECHO OFF
    CLS
    IF %1=="" GOTO BLANK
    SET savepath=%*
    MKDIR %savepath%
    GOTO FINISH
    :Blank
    ECHO No Folder provided
    GOTO FINISH
    :FINISH
    the tempBat.bat is used to call the MakeDirectory.bat with the folder name as an argument.

  • HT4759 How can I make the google chrome toolbar items open up in chrome rather than internet explorer?

    I downloaded the new icloud control pannel and when I click on the links in the start menu it always opens in internet explorer. Chrome is my default browser, and the bookmarks are synced with Chrome. Why is this opening in internet explorer and how do i change it? Thanks!

    My understanding of this is that its not currently possible
    I have read in other forums you needs to have Safari or IE to launch the apps, no other browser can be set as default.
    Hope for an update as I am

  • Can you remove items from the toolbar when opening a pdf in a browser?

    I know you can turn off the toolbar with open parameters, but we would like to only display the zoom controls on the toolbar.  Can I do this with an FDF file or some other way?

    Hi,
    You mentioned that "JavaScript in the PDF can hide toolbar buttons."
    According to the Javascript docs for Acrobat 7 the App.HideToolbarButton function only runs at AppInit.  Which means that I would have to have the javascript in a file.  How can I do that from within the document?  Is there another way to to do set this from our web application?
    Rob

  • How to trigger javascript in parent window which opens a pdf in iframe after event (didPrint)

    My main goal is the following:
    1. PHP generates PDF using fpdf <-- OK
    2. javascript: PDF opens in an IFRAME <-- OK
    3. PDF prints silently using emb java <-- OK
    4. After print, call a function in my javascript <-- Problem
    I tried window.onload() in java, but this seems to fire once the window is loaded. Means, that the pdf itself is not loaded and hence the print process has not started.
    I'm currently exploring to use setAction(didPrint, action) to create a robust trigger -
    function AutoPrint($dialog=false)
    //Open the print dialog or start printing immediately on the standard printer
    $param=($dialog ? 'true' : 'false');
    $script="print($param);";
        $script.="setAction('DidPrint', app.alert('test2'))";
    $this->IncludeJS($script);
    So, this prints and generates the alert box.
    But, I'm clueless on how to fire a command to call a function in my java script....
    Help is appreciated.

    If you are using Forms 9i or Patch 9 and above of 6i you can use Jinitiator 1.3.n With this version of Jinitiator you can submit URLs containing JavaScript commands as well as http:// URLs.
    The syntax is web.show_document('javascript:<command>','<target>').
    e.g) web.show_document('javascript:history.back();','_self');

  • Trouble making the iPod classic manual/user guide open in PDF..

    I'm just trying to learn the basics--like how to stop the iPod from running an audiobook until I tell it to; how to make it stop; etc. But when I click on 'User Guide' or 'Manual', the page goes black and Preview, which usually shows my PDF's, doesn't open with the manual.
    Anybody know why?
    Thanks,
    Karen

    Thanks, planb. It took me a bit to translate 'right click' since I'm on a MacBook Pro, but I discovered I need to press the 'Option' key when I click the link to the User Guide/Manual. It does then download, enabling me to open it on Preview and save it.
    Appreciate the help.
    Karen

  • How can I create a form for users wherein the text field will expand to accommodate additional text?

    How can I create a form for users wherein the text field will expand to accommodate additional text?

    You need to use LiveCycle (PC Only) to create a dynamic form like that.
    The best you can do with Acrobat to view all of the text in a field is to set the field to multiline, and set the size to "Auto" (If you don't set the size to 'Auto', you can enter as much text as you wish, but the user will need to use the scrollbar to view all of the text.)

  • Javascript to enable button and open popup needed

    Hello all,
    I have a form with a report that contains a checkbox. The user is to provide a document id which is applied to all checked items in the report. The problem is I need them to view the document referenced first and verify it is correct.
    My approach has been ...
    1) disable the apply button
    2) create a validate document button
    3) when validate is pressed open popup with document displayed, as well as enable apply button
    4) Provide button on display screen to close the popup window
    5) When apply button is pressed use a cursor to update all marked records
    The problem I am running into is I can get the javascript on button press to open the new window, or to enable the button, but not both. I have tried with inline javascript as well as with a function in the page header.
    Any help would be greatly appreciated.
    --Adam Cumming, Marion County, OR ([email protected])                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Wouldn't you know it. As soon as I post to the forum I figure it out...
    FYI here is the function that works...
    function html_EnableItem(a)
    var Elem_1 = document.getElementById(a);
    Elem_1.disabled = false;
    var LF_View = window.open('f?p=&APP_ID.:120:&SESSION.:::::', 'LF_Preview', 'width=800, height=600, toolbar=0, status=0');
    }

  • Preview can't open any pdf file

    PDF documents are greyed out in the open menu.
    Setting Preview as the "open this document with..." app in the get info window gives the message that "it's not known if this application can open Adobe PDF files"
    At the same time, Safari started crashing on being asked to open a PDF file.
    I've reinstalled Safari, grabbed Preview from a Time Machine backup from when it worked, reinstalled the developer tools in case they wrote over webkit, trashed all preferences and rebooted. No joy.
    I looked at the document types list in Preview's info.plist and the entry for com.adobe.pdf is in there. I've opened an eps file in Preview and saved it as a pdf; I can then open that pdf in Acrobat, but not in Preview (even though it appears in the "recent documents" list.)
    What am I missing?

    Create a new admin user account, log into it, and see if the problem persists. If not, report back. If so, download and install the 10.6.3 COMBO update. If that doesn't fix the problem, reinstall SL, and if fixed, run Software Update until you're back to 10.6.3. If still no go, run this one-line Terminal command and restart:
    */System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user*

  • Adobe Reader XI - Force menu to display when viewing PDF

    Hello,
    We run adobe reader XI in a citrix xenapp deployment.  With older versions of adobe, users would open a PDF and the top menu bar would be displayed which would allow them to print fairly easily.
    With the newer XI version, that menu does not show up unless you press F8.  So users are forced to either press F8 to bring up the menu, or right click within the document and select print that way.
    Is there a preferences setting, or a registry key change that could be made to force this menu to come up every time?  I took a look around and didn't notice anything that stood out.
    Thanks for any assistance.

    We ended up finding a registry key which forces this menu to come up each time:
    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\AVGeneral]
    “bBrowserDisplayInReadMode”=dword:00000000

  • Opening PDFs in Acrobat XI Outside Chrome Browser

    Acrobat XI
    From Google Chrome, I would like to open a PDF which automatically opens Acrobat outside Chrome i.e. inside Acrobat itself.
    I do not want to first save the PDF and then open it.
    I want Chrome to download and then open the PDF in Acrobat.
    Acrobat 9 would do this. How do you do this in Acrobat XI?
    Thanks in advance.

    Windows 7 Pro 64-Bit SP1
    Chrome Version 37.0.2062.103 m
    Acrobat XI v11.0.08
    Chrome Browser & Acrobat
    "To have Chrome download PDFs instead of displaying them in the browser,
    shift-click Disable for the currently enabled viewer.
    This leaves both viewer plug-ins disabled so the PDFs won't display in the browser."
    There are two plugins shown via "chrome://plugins/".
    Adobe Reader - Version: 11.0.8.4
    Adobe PDF Plug-In For Firefox and Netscape 11.0.8
    Only one plugin can be enabled at a time.
    If you disable one, the other automatically becomes enabled.
    This behavior is not intuitive.
    If either is enabled, the PDF will appear in the Chrome browser.
    To open PDFs in Acrobat XI outside the Chrome Browser, you must disable both plugins.
    To disable both plugins, Shift-Click Disable the enabled plugin.
    This will disable both plugins.
    Using Shift-Click Disable is not intuitive behavior.
    Now when you click on a PDF on a web page, the Chrome browser will not have a plugin to handle the PDF so it will bring up a Save dialog box.
    Go ahead and save the PDF somewhere like Downloads.
    The Chrome browser will show at the bottom of the browser window a reference to the downloaded PDF.
    In the drop-list, select "Always open this file type".
    Now PDFs open in Acrobat XI outside the Chrome browser.

Maybe you are looking for

  • If my ipod shuts off my calender and the time defaults back to January 1st. Help on how to fix this please :)

    I need help

  • Mass Approval of leave

    Hi All, I am santosh chauhan, responsible for a gamut of SAP functions. of late, i am faced with an error. Being an administrator, we are often reported a variety of leave problem wherein we come across one issue of Mass Approval of leave. Now this l

  • OnSubmit - setInnerHTML - won't work!

    Hi, im newbie to Spry. I want to make a dynamic page with a form that submit without refreshing the page. I've tried to find out by reading til source code to the example (sample) called "Form submissionvia Ajax". I've made this just to try it out, b

  • HELP PLEASE n97 connectivity with pc

    Hi.I just got an n97 and i'm trying to connect it with ovi suite to restore my security copy but it doesn´t work. It says that my device is connected in the file transfer mode but I choose pc suite mode on the phone all the time... I have restarted t

  • Setting up Mail in Mountain Lion

    I have just bought a new MacBook Pro and am trying to set up my Mail. I have a 3 year old MacBook Pro that is also running Mountain Lion and I thought this would be easy. The only account I am having problem with is my iCloud accounts. In the account