Can we determine if Acrobat is running inside a browser?

I'm looking for a javascript property or method to determine if Acrobat is running standalone or in the browser, as I'd like to use that to made certain of my custom toolbar buttons available or not.
Is there anything available?
Thanks -

Here is the example from the Acrobat JavaScript Reference API: 
Detect whether this document is in a browser or not.
if ( this.external )
// Viewing from a browser
else
// Viewing in the Acrobat application.

Similar Messages

  • Not able to clear session of web application running inside wpf browser control

    Hi,
    I have used below code to clear session of web application running inside wpf browser control .   
    [DllImport("wininet.dll", SetLastError = true)]
       private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);
     InternetSetOption(IntPtr.Zero, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);
    This code is working in Windows 8 but it is not working in windows 7 and windows 8.1.
    I want to know why it is not working and how to make it work in windows 7 and windows 8.1
    Please help.
    Thanks & Regards,
    Pritesh

    Hi,
    I have used below code to clear session of web application running inside wpf browser control .   
    [DllImport("wininet.dll", SetLastError = true)]
       private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);
    InternetSetOption(IntPtr.Zero, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);
    This code is working in Windows 8 but it is not working in windows 7 and windows 8.1.
    I want to know why it is not working and how to make it work in windows 7 and windows 8.1
    Please help.
    Thanks & Regards,
    Pritesh

  • HT3696 how can I determine whether I am running 64 or 32 bit on my i7 mac

    I have a i7 that is 64 bit I want to run in 32 bit how can I view which bit its running ?

    If it's OS X 10.7 it's 64 bit OS, if you have 32 bit Intel programs they can run, but only use half the registers, swtich to 64 bit versions of your programs when avaialble.
    No need to worry about anything.
    Having a issue?

  • How can I determine which jobs are running on NT?

    Hello,
    How do I determine which processes are in execution on an NT box from a JAVA
    application? I figure it must involve runtime exec'ing some run32dll
    program, but which one?
    TIA

    Search microsoft.com, or MSDN. That isn't anything to do with Java Programming.

  • Can you determine the current phase running?

    Is there any API which you can invoke to tell you what phase the JSF lifecycle is currently in?
    For example, suppose I have a backend bean, receiving JSF invocations. I would like to be able to tell what phase the JSF is in? for example restore views or render response?
    Any help appreciated?
    Thanks.

    A google of your question reveals your question as result number 1 and the following as result number 2:
    "JSF <= 1.2 does not provide access to the current JSF phase through the public API. Seam, however, maintains the current PhaseId in a ThreadLocal variable on the class org.jboss.seam.contexts.FacesLifecycle and exposes it through the following static method call: PhaseId currentPhaseId = FacesLifecycle.getPhaseId();"
    "In JSF 2.0, the current PhaseId will be accessible from the getCurrentPhaesId() instance method on the FacesContext. "

  • JRE running inside custom browser (win32 - iwebbrowser2)

    Hello,
    I have created a browser using the IE browser control (iwebbrowser2) and its having some issues when trying to execute applets. When my browser encounters an applet on a web page - It does not load the Sun JRE which is set as the default in the IE options. IE on the same computer, however, does load the Sun JRE. The iwebbrowser2 hosted app first attempts to try to load the SUN JRE, then the Sun JRE appears to fail, and then the MS JVM loads (if it is installed on the computer).
    Making matters worse, if no MS JVM is installed, and the Sun JRE in the custom browser does load the Sun JRE, but some applets just hang. The same applets do not hang in IE with the Sun JRE.
    Is there something that needs to be done to tell the custom browser to load the Sun JRE? It looks like the Sun JRE fails after a call to:
    DllGetClassObject which is called from "SSV.DLL".
    Looking at the results of DLL loads with a debugger, IE seems to load and map SSV.DLL early on in its startup phase.
    Even more freakish. If I rename my browser to IExplore.exe - then the Sun JRE does become the JRE thats loaded. Of course, this is a bad solution and the same applets lockup, so certainly there is something more to do.
    Anybody have any idea about how to deal with this?
    Thanks!

    Here is the example from the Acrobat JavaScript Reference API: 
    Detect whether this document is in a browser or not.
    if ( this.external )
    // Viewing from a browser
    else
    // Viewing in the Acrobat application.

  • Determining path from applet running on IE Browser

    Is there a way (system property, etc) to determine the path used by an Internet Explorer browser from within an applet?
    I'm trying to dynamically download a dll from my web server for use by an applet stored in a signed cabinet file and I need a location to store this file that is in the runtime path.
    Thanks

    No I don't think there is a way. But you could prompt the user for the correct directory

  • How can I force an applet to run in a browser?

    It's simple, I have an application in my office that relies on an applet (cambozola). Now, thanks to the last security hole found in the last java revision, all the browsers blocks all the applets.
    Do you have any plan to release an security patch that definitively fix the problem?
    Thanks in advice.

    When the SW movie encounters the frame containing the movie clip, it simply skips over it and continues.  The video never plays.
    Presumably you have code to stop the playhead from moving while the video plays? You might want to post it.
    If you are testing this locally, you need a folder named "dswmedia" somewhere in the path or linked content, like your video file, won't be found. Check the docs for more details.

  • PLEASE HELP!! HOW DO I RUN A .EXE APPLICATION INSIDE A BROWSER!!

    hello everyone,
    i Run a website, named www.anarchywars.com and basicaly i made a mini game in a program called "Game-Make 6", basicaly when i save it to an .exe its very useful because all it needs to run is that .exe and you can play the game. Basicaly i want to put that game onto my website, the website is a PHP back MYSQL database, and i want this, when someone click "run" to be able to run inside the browser. It isnt a motion picture game, its just text based and has a few images.
    If i could just direct everyone attention to this site http://www.miniclip.com/games/en/
    they have that sort of things with there games, so can someone please help me out here? thank you. For a try of the game, it isnt up yet just to download to get an idea, go here. www.anarchywars.com/game.exe
    download and have a look!
    Thank you very much!
    Regards
    Jesse
    P.S Game Make 6 can be downloaded for free, by going here http://www.gamemaker.nl/

    the manifest file was used, and the jar file runs fine
    if I use the java command. I just can't get it to run
    with the jre.exe file. Any other ideas.The jre command is only for programs developed under the 1.1 platform. For programs developed with the 1.2 platform and higher we use the java command with the -jar option. And judging from the Java Tutorial lesson on Jar files, these commands are not interchaengable.
    Judging from the topic of your question, it seems to me that you think that the JRE does not contain the java command. It does if it is version 1.2 or higher.

  • Cant open PDF files..It says the adobe acrobat reader that is running can not be used to view files in a browser..plz suggest the solution.thanks

    Whenever i try to open a PDF file it says " The adobe/acrobar reader that is running can not be used to view files in a web browser. Plz exit adobe/acrobat readerand exit your web browser and try again." Wt do i need to do, plz suggest.
    Regards
    Aditya Bhargava

    Hi adityabhargava01-
    My first suggestion is to upgrade to the most recent version of Firefox by going to this link:
    http://www.mozilla.org/en-US/firefox/new/
    My second suggestion is to read this article on how to many your preferences on how Firefox deals with PDFs and all other file types:
    [[Options window - Applications panel]]
    I hope that helps!

  • How can I determine which machines have activated Adobe Acrobat Standard 9?

    How can I determine which machines have activated Adobe Acrobat Standard 9?

    Hi jrector3,
    You need to go to the respective machines and launch Acrobat and check if it prompts for serial number.
    You can also go to the help menu and check if 'Deactivate' option is highlighted.
    Regards,
    Rave

  • I can't see how to edit PDF inside Portfolio for Acrobat X. In Acrobat 9 Pro

    I can't see how to edit PDF inside Portfolio for Acrobat X. I can do this in Acrobat 9 Pro with the Document pull down menu. Did they take this away in Acrobat X?

    Whether it's maxed or not doesn't make any difference.
    The bottom part of the image/scroll bar is always under the Windows taskbar any time the URL is opened.
    It is always fixed by doing something, either switching to and back from another window, or turning on and off one or more toolbars.
    That shouldn't be necessary. The bottom part should be visible when the URL is opened.

  • I can't shut down my MacBook Pro.  I'm getting the following message: "The Finder can't quit because some operations are still in progress." How can I determine what is running?

    I can't shut down my MacBook Pro.  Each time I try, I get the following message: "The Finder can't quit because some operations are still in progress."  How can I determine what is running?

    Yea,
    I bought an original CRT iMac  two day's before  they were launched, which got the reseller into trouble, and had it replaced by APPLE.
    This was a great learning process for me dealing with the glitches. :-)
    I LOVE MAC. Now own 4 and on my 10th. in 15 years + 7  bought for family.
    Cheers,
    Tom

  • How can i determine what the most recent os my imac will run?

    How can i determine what the most recent os my iMac will run?
    Serial Number QP6*****VUW
    Processor 2.16 GHz Intel Core 2 Duo
    Currently running Version 10.5.8
    <Edited by Host>

    You CAN run 10.7, but I don't advise it, buy the 10.6.3 upgrade disk from the Apple Store online and then backup files off the machine and upgrade to 10.6.3., then Software Update to 10.6.8 would be the BEST option for your older hardware and it will run most all of your 10.5 software and be faster than 10.5 or 10.7.
    If you go to 10.7 it won't run nearly any of your 10.5 software and you will have to buy all new ones for a machine that's getting a little bit dated, near it's end of life stage. 10.7 will slow your machine down, especially with low RAM.
    http://roaringapps.com/apps:table
    At your machines stage, the hard drive is getting old, the vents are clogged up with dust and it's going to cost a bit to get the drive etc upgraded. You can if you wish, but 10.7 really needs more RAM (4GB) and a faster hard drive.
    But your still subjected to the video card going out etc.
    IMO upgrade to 10.6.8 and stay there until the wheels fall off, then buy a new 10.8 machine being released after this summer or 10.9 machine.
    Harden your Mac against malware attacks

  • How can I deactivate when Acrobat Pro XI wont load?

    I installed a purchased upgrade of Acrobat Pro XI on this computer but all I now get is a screen headed 'Sign in Required' inviting me to register my trial version but providing no links to do so.
    Much of Acrobat XI Pro did not work.properly but Adobe tells me I don't have sufficient memory despite the required 1GB being installed.
    An unsatisfactory product from a company now difficult to contact by email that hides behind an unhelpful 'Help' desk in India staffed by non-proficient English speakers incapable of providing any answers not on their crib sheets.
    I am directed here to get a user to do Adobe's work.
    What follows indicates Adoobe sens emails from non.valid addresses.
    Mail System Error - Returned Mail
    From: Mail Administrator <[email protected]>   |   Date: 25/09/2013 3:47 PM  |  Email  
    To: John Face<[email protected]>   View message details  
    Attachments: Part_0 (350b) (350b)  
            This Message was undeliverable due to the following reason:
    Each of the following recipients was rejected by a remote mail server.
    The reasons given by the server are included to help you determine why
    each recipient was rejected.
    Recipient: <[email protected]>
    Reason: No such user - psmtp
    Please reply to <[email protected]>
    if you feel this message to be in error.
    Causes nothing but problems.
    Just posted on your forums
    3:39 PM 25/09/2013
    http://forums.adobe.com/post!input.jspa?containerType=14&container=4714
    How can I deactivate when Acrobat Pro XI wont load?
    I installed a purchased upgrade of Acrobat Pro XI on this computer but all I now get is a screen headed 'Sign in Required' inviting me to register my trial version but providing no links to do so.
    Much of Acrobat XI Pro did not work.properly but Adobe tells me I don't have sufficient memory despite the required 1GB being installed.
    An unsatisfactory product from a company now difficult to contact by email that hides behind an unhelpful 'Help' desk in India staffed by non-proficient English speakers incapable of providing any answers not on their crib sheets.
    I am directed here to get a user to do Adobe's work.
    http://forums.adobe.com/thread/1303366
    From: Adobe <[email protected]>
    To: [email protected];
    Subject: Reuse content making tedious work easier
    Stop retyping and start reusing.
    See how
    >>http://www.adobe.com/au/campaigns/acrobat-xi-content-reuse.html?trackingid=KIKZR
    Read online
    >>http://click.mail.adobesystems.com/?qs=1fdac03698836d3f227a6f8e4faefabc020ad712061d8f58583 a1aeff2e2ddc999d80757db497536
    --=----=----=----=----=----=----=----=----=----=----=----=----=----=--
    Adobe(R) Adrobat(R) XI
    --=----=----=----=----=----=----=----=----=----=----=----=----=----=--
    Stop retyping and start reusing. Acrobat XI puts an end to the
    busywork when it comes to repurposing PDF file content.
    See how
    >>http://www.adobe.com/au/campaigns/acrobat-xi-content-reuse.html?trackingid=KIKZS
    It?s a breeze to reuse what you need from PDF files with Acrobat XI.
    When you need to grab important content from inside a PDF or reuse the
    whole thing, Adobe(R) Acrobat(R) XI software makes it easy to convert
    PDF documents to Microsoft Word, Excel, and PowerPoint?with no
    retyping and minimal reformatting.
    As simply as saving a file, you can get just what you need and get
    back to more important work.
    See how >>
    >>http://www.adobe.com/au/campaigns/acrobat-xi-content-reuse.html?trackingid=KIKZT
    PC magazine Editor's choice 2012
    --=----=----=----=----=----=----=----=----=----=----=----=----=----=--
    #Acrobat
    >>http://twitter.com/search?q=%23acrobat
    --=----=----=----=----=----=----=----=----=----=----=----=----=----=--
    PCmag.com Editors' Choice logo is a trademark of Ziff Davis, Inc.
    Used under license.
    Adobe, the Adobe logo, the Adobe PDF logo, and Acrobat are either
    registered trademarks or trademarks of Adobe Systems Incorporated in
    the United States and/or other countries. All other trademarks are the
    property of their respective owners.
    (C) 2013 Adobe Systems Incorporated. All rights reserved.
    This is an advertising message from Adobe Systems Pty Ltd, its
    affiliates and agents ("Adobe"), Tower 2, Level 27, 201 Sussex Street Sydney,
    New South Wales, 2000, Australia.
    If you'd prefer not to receive email like this from Adobe in the
    future, please click here to unsubscribe. Alternatively, you may
    mail your unsubscribe request to:
    >> http://click.mail.adobesystems.com/?qs=1fdac03698836d3f1ad59e785d5dc693562fd9325ddedc06b18 2523889dab970e16f0296df7a4a18
    UNSUBSCRIBE
    >> http://click.mail.adobesystems.com/?qs=1fdac03698836d3f1ad59e785d5dc693562fd9325ddedc06b18 2523889dab970e16f0296df7a4a18
    Adobe Systems Pty Ltd
    Tower 2, Level 27, 201 Sussex Street
    Sydney, New South Wales,
    2000,
    Australia
    Attn:
    Field Marketing Department
    Your privacy is important to us. Please review Adobe's online Privacy
    Policy by clicking www.adobe.com/au/privacy.html (Australia)
    >>http://www.adobe.com/au/privacy.html
    www.adobe.com/nz/privacy.html (New Zealand)
    >>http://www.adobe.com/nz/privacy.html
    For customer service issues please visit our web site at
    www.adobe.com/go/supportportal or call (AUS) 1 800 614 863 or (NZ) 0
    800 485 948 for more information.
    >>http://www.adobe.com/go/supportportal
    General enquiries about Adobe
    communications:[email protected]
    >>mailto:[email protected]
    If you have a complaint, send it to:[email protected]
    >>mailto:[email protected]
    This email has been sent to [email protected]
    Message was edited by: OQOroger to indicate Adobe uses invalid addresses to customers who have already purchased the subject product

    You can refer to :
    Acrobat Learn & Support
    Installing, uninstalling Acrobat X | Mac OS
    Adobe Acrobat X Pro * Activation and registration
    http://www.adobe.com/content/dam/Adobe/en/accessibility/products/acrobat/pdfs/acrobat-xi-p ro-accessibility-best-practice…
    They are useful resources.
    Regards
    Rajshree

Maybe you are looking for