Setting User Preferences With Javascript In Acrobat X

Hi All,
Is there a way thru Javascript to programatically set a value in the User Preferences?
I am trying to create a batch sequence that exports PDFs to HTMLs. In the Acrobat X preferences, there is a conversion option that sets the option of "Run OCR If Needed" to true or false.
Edit --> Preferences --> Convert From PDF --> HTML --> Run OCR if needed (True|False)
Depending on conditions, I need to programtically set the value of this preference during the batch sequence before I export the document to HTML. Is this possible? Any help would be greatly appreaciated.
Thank you,
Teri

There are very few user preferences that can be controlled with JavaScript, and this isn't one of them.

Similar Messages

  • Set user preference Locale

    Dear all,
    I would like to set user preferences locale through a Java program.
    It seems that language locale is not part of the desktopsettings and I've not been able to find out what key to use with getProfileString (if any).
    Could you provide me an example of how to set the user preferences locale language? 
    Best regards,
    Francesco

    You can use "SI_LOCALE" as an argument to getProfileString() to retrieve a user's locale.

  • Set User preferences in oracle portal’s database in portal environment

    Hi All,
    I need to set User preferences in oracle portal’s database in portal environment.
    I need to get some oracle PL/SQL API for the said purpose.
    In user preferences I need to save Preference name and preference value.
    Can any one have idea?
    Regards
    Amit Tiwari

    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/index.html
    and http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwpre_api_name.html
    Patrick.

  • How to globally set user preferences in Infoview

    We desire the ability to globally set the user preferences in Infoview.  I've seen references to a macro or program but have been unable to locate it.
    Can someone either post a new link or point me in the right direction?
    Thanks,
    Kevin

    Ok guys, found it... (on my XI 3.0 machine... XI 2.0 is similar)
    \Business Objects\Performance Management xx.x\setup directory..
    prefsCopyUtil.jar and using the PrefsCopyUtil.properties file...
    1) Ensure that the following files are in the same folder, for example or example, C:\Program Files\Business Objects\Performance Management 11.5\setup:
    u2022 prefsCopyUtil.jar
    u2022 cecore.jar
    u2022 celib.jar
    u2022 ceplugins.jar
    u2022 cesession.jar
    u2022 corbaidl.jar
    u2022 ebus405.jar
    2) Set up a PrefsCopyUtil.properties file with the settings you want to use. Run "java -jar prefsCopyUtil.jar PROPFILE". Note: Replace PROPFILE with the path of the properties file with the settings you want to use.
    Comand Example
    cd "\Program Files\Business Objects\Performance Management 11.5\setup"
    java -jar prefsCopyUtil.jar PrefsCopyUtil.properties
    Example of properties file:
                       Use                                                         Example
    # Indicates the CMS to use                       CMS=van-r-01-ab
    # Administrator user's password.               AdminPassword=
    # User to copy preferences from.               SourceUser=administrator
    # All users in this group will have               TargetGroup=TestTarget
    their preferences changed to be
    a copy of the Source User's
    preferences.
    Found on page 51 onwards in...[http://help.sap.com/businessobject/product_guides/boexir2/en/pmxir2_deployment_guide.pdf]
    Regards
    Jacques

  • Need Help with Javascript for Acrobat Pro 9

    Hello,
    I am creating a PDF form in Adobe Acrobat Profession 9.  Not having a lot of experience with Javascript, I have found this forum very helpful and have used many of the script examples for other issues I have had.  I was hoping someone could help with the following script, I have tried many variations, cannot get it to work.
    var ratio = this.getField("ratio").value
    var concentration = this.getField("concentration").value
    var result = this.getField("result").value
    if(ratio.value>=50.00)
    {result.value ='PASS';}
    if(ratio.value".value>=40.00)
    {result.value ='PASS';}
    if((concentration.value ==61) && (ratio.value >= 49.25))
    {result.value ='PASS';}
    if((concentration.value ==61) && (ratio.value >= 39.25))
    {result.value ='PASS';}
    if((concentration.value ==62) && (ratio.value >= 48.50))
    {result.value ='PASS';}
    if((concentration.value ==62) && (ratio.value >= 38.50))
    {result.value ='PASS';}
    else
    {result.value = 'FAIL';}
    This is just a piece of the code  The concentration values run from 61 through 99 and the ratio value varies for each concentration value, there is a high ratio and a low ratio.  The result of this field with populate the results field with a PASS or FAIL.  This is not working......any help is greatly appreciated!

    Thanks George.  I updated the script to:
    // Get a reference to the result field
    var ratio = this.getField("ratio");
    // Get a reference to the result field
    var concentration = this.getField("concentration");
    // Get a reference to the result field
    var result = this.getField("result");
    if(ratio.value>=50.00)
    {result.value ='PASS';}
    if(ratio.value >=40.00)
    {result.value ='PASS';}
    if((concentration.value ==61) && (ratio.value >= 49.25))
    {result.value ='PASS';}
    if((concentration.value ==61) && (ratio.value >= 39.25))
    {result.value ='PASS';}
    if((concentration.value ==62) && (ratio.value >= 48.50))
    {result.value ='PASS';}
    if((concentration.value ==62) && (ratio.value >= 38.50))
    {result.value ='PASS';}
    else
    {result.value = 'FAIL';}
    However, I am still getting a FAIL result even when the ratio is 50.00 or equal to the passable ratio.

  • How can I set service preferences with Safari 5.0.5 and os 10.6.8?  Was working fine until combined update install.

    My service preferences won't set after installing combined update earlier this week and the security 2012-4 update that caused so much problem with mail. Is there a list of changes that was  made in safari with this latest update, because the bookmarking isn't working the same and the readling list page is  gone?

    because the bookmarking isn't working and the same and the reading list page is gone?
    Your profile indicates you have v10.7.2 installed yet your topic refers to v10.6.8 (Snow Leopard).
    Try this...
    Open System Preferences > iCloud
    Deselect the box next to Safari then reselect it.
    Give iCloud a few minutes to re sync your bookmarks and reading list.
    Safari 5.0.5 is an outdated version. You need to update Safari.
    Click your Apple menu icon top left in your screen. From the drop down menu click Software Update...
    Restart your Mac after the updates are installed.

  • Set User preference

    I seem to have some issues with setting the user preferece. I got the valued passed right but it won't set the value to the user. I am using java on 5.04. The code works with 5.02. Any ideas, any one?
    Syntax - Region is a new added property and has been added as User's proporty.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request,response);IPortletResponse portletResponse = portletContext.getResponse();IPortletRequest portletRequest = portletContext.getRequest();
    portletResponse.setSettingValue(SettingType.User, "Region", request.getParameter("RegionInput") );

    Never mind. I figured it out.

  • Set multiple items with javascript function in chart link

    Hi Folks
    I am able to use the javascript $s function to set the value of one item from a chart link. I need to pass values to multiple items.
    Is there a way to use javascript function to pass values for multiple items on a page from a chart link
    Appreciate your responses
    Thanks
    Gopal

    Hi Arnau,
    You need to surround your JavaScript code like this (without the spaces before and after script):
    < script language="Javascript">
      window.open("<%=ABAP_VARIABLE%>").focus();
    </script >
    Regards,
    Patrick.

  • In Hyperion Workspace 11.1.1.3 can you globally set user preference?

    In Hyperion Workspace 11.1.1.3, is there a way to globally set the Hyperion Reporting User Point of View to 'on' for all users?

    Yes, you can. I believe it is in the Hyperion\products\biplus\lib folder for 11.1.1.3, but you may have to search for it. Look for fr_repserver.properties. Change the "     Prompt User POV" property from OFF to ON. You will have to restart the following services.
    1.     Hyperion Financial Reporting – Print Server
    2.     Hyperion Financial Reporting – Report Server
    3.     Hyperion Financial Reporting – Scheduler Server
    4.     Hyperion Financial Reporting – Web Application (might be on different server)
    Kyle Goodfriend
    http://www.in2hyperion.com
    Please make sure to assign the post as answered and the responses as answer or helpful so others may benefit from your experience.

  • Set Checkbox Stype with JavaScript

    Hi..
    I have an issue in setting the checkbox style to "Cross" when the form load happens.
    Can anybody tell me how to write the script and what event to use in order to see the checkbox as crossed in the preview.

    Hi,
    First off, it would be better to set this at design time in Designer. See the Object > Field palette.
    If you need to dynamically change the mark style, then there is an example here where you can set the mark style of the checkbox using script: http://assure.ly/kp60nk (see the third set at the bottom of the page).
    The docReady event would be a good event to use for this.
    this.ui.oneOfChild.mark = "cross";
    Hope that helps,
    Niall

  • Wierd files in user preferences folder

    I found several folders in user preferences with names such as:
    7ıêê◊8øˇÀ‡†~a|êŸlè¿ö(ø
    They all showed nothing in them so I deleted them all, but they have come back again. Is this normal?
    TIA

    Tried your suggestion and found Photoshop Elements 4.0 created this file in user preferences:
    Y‡ê◊8øˇ‘†~a|êŸlè¿ö(øˇ’P
    ...and opening Photoshop CS2 created this one:
    Â@ê◊8øˇfi††~a|êŸlè¿ö(øˇfl
    The applications seem to work OK and I have other Adobe applications as well, but did not open these as well.
    Any suggestions on what to do next?
    TIA

  • Accessing Meta-Data with JavaScript

    Hi,
    In U3D one can add meta-information to the file.
    Could anyone access this mata-information with JavaScript in Acrobat?
    I could not find any documentation in the API or references on Internet, so far...
    Thank you for every hint!
    Felix

    Felix,<br />   Here's a hunk of code which will cycle through all the nodes, showing they're metadata. If the MD in the header is available, it will also be shown. Otherwise, no access to header info!<br /><br />//=========================================<br />console.println("scene.nodes.count = " + scene.nodes.count);<br />console.println ("----------------------------");<br />for (i=0; i<scene.nodes.count; i++)<br />{<br />   objNode = scene.nodes.getByIndex(i);<br /><br />   if (objNode == undefined)<br />   {<br />      console.println ("   *** node = undefined ***\n\n");<br />   }<br />   else<br />   {<br />      console.println ("Node [" + i + "] metadataString = " + objNode.metadataString );<br />   }<br />}<br />//=========================================

  • 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.

  • Setting own security handler with JavaScript

    Hi,
    I build the security handler plugin example (SecurityHandler.api) and installed it. Then I wanted to set this handler via JavaScript to a document but I have no access to it. If I list all handlers (security.handlers) in a trusted function only the standard handler occur. If I change the security settings via Adobe I have the handler listed in the drop down box. I am using Acrobat 8 Professional.
    Many thanks for your advice in advance!
    Regards
    Jörg

    Ian,
    As a general statement, wireless networks are inherently insecure.
    "I have now switched off the broadcasting of the name.
    What level of security is this?
    If this is all you have done, roughly speaking, your network is just as
    (in)secure as it was when you plugged in the router.
    Do you have file or printer sharing turned on? Are your Mac firewalls
    stealthed and refusing UDP packets? Will the router accept any inbound
    request for an internet connection? Have you changed the default password
    on the router?
    The answers to these questions speak to the relative (in)security of your
    Macs.
    Is your son using any form of encryption, say, WEP, or, preferably, WPA?
    If not, your network is less secure.
    "We live in a quiet cul-de-sac where any strange people or cars would be noticed immediately, so we are probably not so vulnerable to wireless-hackers as others might be. Or am I living in a "fool's paradise"?"
    Yes, and here's why.
    "Does anyone know where I might be able to get hold of some reasonably simple, step by step instructions."
    I was going to suggest reading the router's manual, but it is pure and utter
    fertilizer. Looks as though a marketroid (who knows some buzzwords but
    not their meanings) patched that monstrosity together using the user
    menu storyboard walk-through and a lot buzzword-laden filler "lifted"
    from the Web.
    Would it be humanly possible to run an ethernet cable from your router to
    where your son computes and turn off the wireless?
    Since I don't own one, I can't help with a primer on securing it. Sorry.
    -Wayne

  • How to set default User preferences in Analyzer for all users

    How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty

    I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH

Maybe you are looking for