App.listToolbarButtons() method in Acrobat X

The method app.listToolbarButtons() does not work in Acrobat X.
To test, try to execute this in the JS console. It shows No output.
If Adobe has discontinued this function in X, then it should have produced a "Function Not defined" output, but it does not say this.
However, it also does not return anything.
Is there a security or other option I need to enable or set..
Does anybody know anything about this.
Thanks
Vinay

Thanks George
There were several Toolbar buttons that were created using JavaScript. I wanted to get them all together to "organize" them at runtime.
Question, Is there someway I can get the Items from the "Tools" panel using JavaScript

Similar Messages

  • App.hideToolbarButton("Hand"); Crashes Acrobat 11

    I have a custom toolbar that i have created when i try app.hideToolbarButton("myCustomToolBar"); my Acrobat 11 crashes. I see adobe does not update there documentaion or they hide it in the most obscure places.
    If i use app.hideToolbarButton("Hand"); i get an undefined response.
    Can anyone help, has this method maybe been deprecated or has it maybe changed in some way because of the new custom tool menu feature?

    Hi mceniceros,
    We are sorry for the inconvenience caused to you.
    Have you tried uninstall and reinstall on any of the machines.
    All the users have admin rights ?.  If they dont have the admin rights please try one Test Admin user profile and check.
    Also please try to use repair disk permission using the Disk utility in Mac Os in safe mode. How to start Mavericks in safe mode please visit: http://support.apple.com/kb/PH14204
    Regards,
    Ajlan Huda

  • Using the app.setTimeOut Method

    Ok, I really need help here. Ive been trying to get the app.setTimeOut method to work to no avail. Ive tried accessing a script object that I have many functions in with no success. Then I just tried to place functions into the script where I editing thinking that maybe because the script object is part of the xfa form object I couldnt access them through the app object,(or I was just using the wrong syntax) so that maybe if I placed the functions onto the same script and called them from there via:
    app.setTimeOut(myFunction(),3000);
    No dice. Ive tried all kinds of arrangements in quotations, (single quotes, double quotes, no quotes, etc.) and nothing. What Im trying to do is have a web service perform a query and bring back a string from the database if an object is found, then Id like for Acrobat to wait for a prescribed time before checking if the database actually returned a string value, or if it did not and display a message indicating that either it did return something or it did not.
    I know that the app.SetTimeOut can see the function call Im making, because when I wasnt using quotes around the function (in the setTimeOut method) It was immediately displaying the messages. But when I put quotes around it nothing happens. Can someone help me?
    Mike

    Ok I just tried that, but it still didn't work. I've also tried writing the function code, under and above, the app.setTimeOut method and have had no success. When I do this the function runs, but does so immediately, no timeout. Thanks for your help on this.
    Mike

  • Understanding the app.batch method is CS2 JS scripting

    Hi,
    I'm a press officer in a fairly busy press office and I'm trying to automate my image-processing workflow for the images we put on our website...So far I've been using photoshop's (CS2) batch command to do this but it's not as performant as I would like it to be.
    For each of the pictures I have I need to produce
    - 'large'(1024px wide),
    - 'frontpage'(240px wide),
    - 'rollup'(85px wide) versions.
    I put all my original pictures in a source folder and the processed ones go to a destination folder. The only problem I've got is that I need to run the batch command three times for each format, plus photoshop asks me for JPEG options for each picture, so I can't really press a button and get away from my work station..
    So I've looked into scripting in javascript and have managed to automate some of my sipmle tasks but what I need to do here (producing images in three different formats with a specific file naming conventions) is obviously complicated.
    Now, reading the CS2 javascrip reference guide, I found that the app.batch method and all the options that go along with it (destinationFolder, fileNaming especially) might be what I'm looking for. The only problem is that i can't seem to find any examples (I've spent the last week searching) to help me using that method...
    Can anyone share an example of how you use this method so I can get my head around it?
    Thanks in advance!
    G

    Finding a version that works with CS2 might be a problem.
    xbatch may work. I haven't run it on CS2 in years.
    http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/apps/xbatch.jsx

  • My organization is looking to invest ipads for the employees to perform everyday tasks. just wondering what would apples recommendation be for as far as apps and method of distribution would be?

    my organization is looking to invest ipads for the employees to perform everyday tasks. just wondering what would apples recommendation be for as far as apps and method of distribution would be?

    Use VPP.  Select an MDM.  Read the google doc below.
    IT Resources -- ios & OS X -- This is a fantastic web page.  I like the education site over the business site.
    View documentation, video tutorials, and web pages to help IT professionals develop and deploy education solutions.
    http://www.apple.com/education/resources/information-technology.html
       business site is:
       http://www.apple.com/lae/ipad/business/resources/
    Excellent guide. See announcment post -- https://discussions.apple.com/thread/4256735?tstart=0
    https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?pli=1
    good tips for initial deployment:
    https://discussions.apple.com/message/18942350#18942350
    https://discussions.apple.com/thread/3804209?tstart=0
    Educational institutions in the USA can use the App Store Volume Purchase Program (VPP) to buy Apps.
    https://support.assistiveware.com/index.php?pg=kb.page&id=54
    There are three ownership models:
        *     Personal
        *     Institution
        *     Layered. combines personal & institution.
    Watch this apple video on layered ownership.  It education based, but that's OK.
    http://www.apple.com/education/resources/videos/#ios-layered-ownership
    More ways to transfer files and access Word documents:
    https://discussions.apple.com/thread/4044866?tstart=0
    All of the "Office" document editing applications on the iPad have limitations.  Best try them out to see if they meet your needs.
    iWork by Apple
        * Keynote
        * Numbers
        * Pages
    DocsToGo
    • VIEW/EDIT/CREATE Word & Excel files(Office 2007/2008/2010)
    • VIEW PowerPoint, PDF, iWork, Text, .RTF, and more!
    • Send & receive attached supported documents using the built-in Mail app
    • FREE desktop application with your purchase! Compatible on Win & Mac allows you 2-way file sync with a WIFI connection.
    • Open & Edit files within DocsToGo from any 3rd party app that supports the “Open In” feature
    • Supports iTunes File Sharing via USB cable for manually moving files
    https://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    Office² HD
    "Office² HD, the most intuitive and straightforward office document editor available on the iPad, makes it easy to open, view, create and edit Word (DOC & DOCX), Excel (XLS & XLSX), and PowerPoint (PPT & PPTX) files right from your iPad!"
    https://itunes.apple.com/us/app/office2-hd/id364361728?mt=8
    Quickoffice Pro HD
    Create and edit ALL Microsoft® Office -- document, spreadsheet, and presentation formats, as well as view PDF files, on the go. Our advanced file manager lets you manage local files, access Google Drive or other cloud accounts, and works with your iPad email attachments so you can work anywhere, anytime - online and offline.
    https://itunes.apple.com/us/app/quickoffice-pro-hd-edit-office/id376212724?mt=8
    nsdjoey presents ways to edit office documents in this web page:
    https://discussions.apple.com/message/21953221#21953221

  • Is it supported by Adobe to create an App-V package from Acrobat 12?

    I know there are many recipes in the web to create an App-V package from Acrobat 10 or 11, but is this officially supported by Adobe?
    I found this for Acrobat 11: App-V Deployment — Enterprise Administration Guide
    It´s stated explicitly there that Acrobat is not supported, only the Reader.
    Regards
    tuxhater

    Creating an APP is a very in-depth process. And getting the few people to be able to share it, can be difficult.
    You probably would do better with an interactive PDF. Your main concern would be finding a PDF reader for iPads and tablets that will play all your buttons. But that's not really a problem.
    If I can be so bold, you might want to look at my book, Digital Publishing with Adobe InDesign CS6. (Don't let the CS6 throw you, for your needs, everything is the same.)

  • How do i create a specific location in a document, that my sales personal will be able to paste in a price offer made in another app (they are using acrobat reader) ?

    how do i create a specific location in a document, that my sales personal will be able to paste in a price offer made in another app (they are using acrobat reader) ?

    Hi gadi b,
    It sounds like you may want to create a form field in your PDF file, which your sales personnel can paste text into. You can use either Acrobat or Adobe FormsCentral to create PDF forms. For instructions, see FormsCentral Help | Create a form or Acrobat Help | Forms.
    Best,
    Sara

  • My app got rejected as PayPal has been used as payment method. in-app purchase method was suggested by apple. My app charges yearly subscription from users. In-App purchase does not support it.  How do I proceed. Please advise.

    I had submitted my app to apple for approval. My app got rejected as
    PayPal has been used as payment method. in-app purchase method was
    suggested by apple. My app charges yearly subscription from users. In-App
    purchase does not support this type of payment process ( or, I could not
    get to it).
    Please allow me to use paypal or guide me on how can I charge yearly
    subscription from users using in-app purchase payment method.

    You're not talking to anybody from Apple here.
    We're all just users like you.
    But I can tell you without reservation that PayPal cannot be used in an iOS app.

  • After we ran the uninstall, app manager still detects Acrobat as being installed.

    Hi
    I am using a mac and had problems with my first install of Acrobat Pro. I used the uninstall with the intention of reinstalling the application. After this was complete, I opened the app manager again to download the acrobat application once again. The App Manager is listing Acrobat as already installed on this machine. It's been uninstalled and I have restarted numerous times. Please HELP!

    Steps that should resolve the issue:
    Run the uninstaller. On Windows from the Control Panel and on Mac OS X by double-clicking the Adobe Acrobat XI Pro link at Applications > Utilities > Adobe Installers.
    Check and see if the Install link appears in the Adobe Application Manager.
    Install and run the Adobe Cleaner Tool to remove any traces of Acrobat. Download from here http://www.adobe.com/support/contact/cscleanertool.html.
    Check and see if the Install link appears in the Adobe Application Manager.

  • App.openDoc works in Acrobat, not in Reader

    In a folder-level script I'm using app.openDoc to open an existing PDF and extract an icon from it. The following code works in Acrobat 11 but in Reader X I get a NotAllowedError: Security settings prevent access to this property or method error.
    this.disclosed = true;
    myIcon = app.trustedFunction(function (oArgs) {
         app.beginPriv();
         var pluginPath = app.getPath({ cCategory: "app", cFolder: "javascript" });
         var myDoc = app.openDoc({ cPath: pluginPath + "/MyImages.pdf", bHidden: true });     // <----- error happens on this line
         var oIcon = util.iconStreamFromIcon(myDoc.getIcon("myIcon"));
         app.endPriv();
         return oIcon;
    The MyImages.pdf exists in the same Javascripts folder as the javascript file. I created MyImages.pdf manually via the console and set disclosed=true before saving it.
    I've also tried modifying the call to app.openDoc to set oDoc:this (as recommended in other discussions) but that only caused the same NotAllowedError in both Acrobat and Reader.
    Any ideas?

    It gets called from the top level of the javascript file. Here's an example -- the exact contents of my javascript file -- where I simply load the icon and display the width in a pop up alert. If I open a PDF from the file system then this generates the same NotAllowedError during the call to app.openDoc(). But, if I launch Reader and wait before opening the PDF, the code runs fine and the correct icon width gets alerted to me.
    var myIcon = app.trustedFunction(function () {
          app.beginPriv();
         var pluginPath = app.getPath({ cCategory: "app", cFolder: "javascript" });
         var myDoc = app.openDoc({ cPath: pluginPath + "/MyImages.pdf", bHidden: true });     // <----- error happens on this line
         var oIcon = util.iconStreamFromIcon(myDoc.getIcon("myIcon"));
          myDoc.closeDoc(true);
          app.endPriv();
         return oIcon;
    app.alert(myIcon.width);

  • PDF App works fine on Acrobat 7 but doesn't work in Acrobat 8/9

    Hello,
    I have a PDF application that has been working fine in Acrobat 7 for years (for a Fortune 50 company). We had to upgrade our environments to Acrobat 8/9 and the same app either HANGS or Shuts Down when opened in Acrobat 8/9 (Reader and Professional). When I timed some sections of the code, I got down to the following statement (Click action of a button):
    xfa.host.resetData(Home.APHomeSF.somExpression)
    Where Home is a subform on page 1 and APHomeSF is a subform within Home form. This statement takes a fraction of a second in Pro 7 but 18 seconds in Pro 8. The APHomeSF subform has a checkbox, text field, date field and a button. Even when I changed the reset statement to resetting ONLY the checkbox:
    xfa.host.resetData(Home.APHomeSF.FCB.somExpression)
    Pro 8 still took 18 secs to reset the data.  My question is that have any BASIC things changed in Acrobat 8/9 from Ver 7 that are deprecated or not supported, which may cause our application to take longer to run or just shut down.
    I am using Livecycle Designer to edit the application. When I open the application in Livecyle and just save it, I get many "Argument mismatch in property or function argument" errors. Following is one of the places:
    Generating PDF Document...
    Font Service: Default font typeface is Myriad Pro.
    Script failed (language is javascript; context is xfa[0].form[0].CopyContent[0].#subform[0].SPOA[0].SPOAdataRow[0])
    script=viahScripts.noViahNulls();
    var groupsArray = Builder.variables.soScript.getGroupsArray();
    var name = CopyElementName.rawValue;  // PROBLEM LINE
    Error: Argument mismatch in property or function argument
    Now, when I delete the line "var name = CopyElementName.rawValue" with the comment PROBLEM LINE, the error goes away. CopyElementName is just a drop-down list.
    I don't understand what is wrong in this line for it to cause the Argument mismatch error.
    Any help will be appreciated.... THANKS!
    Sunny

    You should post this in the LiveCycle Designer forum.

  • Calling a method in acrobat plugin as COM obj method

    Hi all,
    I want to call a method from my acrobat plugin as a COM objects method. Can i import i.e. add reference of plugin and call the perticular method which accepts two PDDoc parameters. For this I can use any platform (JS, C#, VB.net or anything). Please help me out.

    Consider I have exported the below plugin method via COM as Irosenth mentioned above, will I be able to see the highlighting happening visually in the PDF document which is currently active when I call this COM method from my C# Winform application?
    Also consider I have the Adobe Reader plugin license, will this functionality work in Reader?
    static ACCB1 void ACCB2 HighlightWord(void *data)
        DURING
        //Create a HiliteEntry object and set its attributes
        HiliteEntry hilite;
        hilite.offset = 3;
        hilite.length = 1;
         //Get the page number of the current page view
        AVDoc currentAVDoc = AVAppGetActiveDoc();
        PDDoc currentPDDoc = AVDocGetPDDoc(currentAVDoc);
        AVPageView currentPageView = AVDocGetPageView(currentAVDoc);
        ASInt32 pageNum = AVPageViewGetPageNum(currentPageView);
        //Highlight the tenth word
        PDPage pdPage = PDDocAcquirePage (currentPDDoc, pageNum);
        PDTextSelect textSelection = PDTextSelectCreateWordHilite(pdPage, &hilite, 1);
        AVDocSetSelection(currentAVDoc, ASAtomFromString("Text"), (void *)textSelection, true);
        AVDocShowSelection (currentAVDoc);
        PDPageRelease (pdPage);
        HANDLER
            AVAlertNote("Error highlighting word");
        END_HANDLER

  • PDF App works fine on Acrobat 7 but gives compilation Errors in Livecycle

    Hello,
    I have a PDF application that has been working fine in Acrobat 7 for years (for a Fortune 50 company). We had to upgrade our environments to Acrobat 8/9 and the same app either HANGS or Shuts Down when opened in Acrobat 8/9 (Reader and Professional). When I timed some sections of the code, I got down to the following statement (Click action of a button):
    xfa.host.resetData(Home.APHomeSF.somExpression)
    Where Home is a subform on page 1 and APHomeSF is a subform within Home form. This statement takes a fraction of a second in Pro 7 but 18 seconds in Pro 8. The APHomeSF subform has a checkbox, text field, date field and a button. Even when I changed the reset statement to resetting ONLY the checkbox:
    xfa.host.resetData(Home.APHomeSF.FCB.somExpression)
    Pro 8 still took 18 secs to reset the data.  My question is that have any BASIC things changed in Acrobat 8/9 from Ver 7 that are deprecated or not supported, which may cause our application to take longer to run or just shut down.
    I am using Livecycle Designer to edit the application. When I open the application in Livecyle and just save it, I get many "Argument mismatch in property or function argument" errors. Following is one of the places:
    Generating PDF Document...
    Font Service: Default font typeface is Myriad Pro.
    Script failed (language is javascript; context is xfa[0].form[0].CopyContent[0].#subform[0].SPOA[0].SPOAdataRow[0])
    script=viahScripts.noViahNulls();
    var groupsArray = Builder.variables.soScript.getGroupsArray();
    var name = CopyElementName.rawValue;  // PROBLEM LINE
    Error: Argument mismatch in property or function argument
    Now, when I delete the line "var name = CopyElementName.rawValue" with the comment PROBLEM LINE, the error goes away. CopyElementName is just a drop-down list.
    I don't understand what is wrong in this line for it to cause the Argument mismatch error.
    Any help will be appreciated.... THANKS!
    Sunny

    You may try the forum LiveCycle Designer.

  • How to get codes for app.executeCommand() method?

    Hi There,
    I have used some command codes before to get at specific items AE's global menu before, but only because I was able to reference them here on the discussions.  For example, to bring up the General Preferences windows, I can use this:
    app.executeCommand(2359);
    How can I find the exact code to use for any other command?  Is there a comprehensive list somewhere?  Is there a method to debug AE so I can inspect for them?
    Thanks for your time and help!
    Best,
    Arie

    You can just use findMenuCommandId() like this:
    app.executeCommand(app.findMenuCommandId("Convert Audio to Keyframes"));
    Dan

  • APP- DTAUS0 method output- reg

    Hi,
    I am in configuration for a German Company, the requirement is, SAP has provided country specific payment methods like DTAUS0 for Germany, BACS for Great Britan and so,
    To configure DTAUS0 method for German company, the bank requires the output in text (string) format,
    I need help to configure APP payment through DTAUS0 (Data Medium exchange DME file ) method so that the SAP system of company can directly connect to BANK system for making payments.
    Kindly provide details how to configure the same.
    Thanks & regards,
    S. Habib Pasha.

    Habib
    You have already asked this question...
    Try this link:
    http://help.sap.com/bp_bblibrary/500/documentation/N70_BPP_03_EN_DE.doc
    Starts Page 8

Maybe you are looking for

  • How to read complete line displayed thru ALV report on double click? urgent

    Hi guys, An ALV report is displayed using 'REUSE_ALV_LIST_DISPLAY' and i have a requirement such that i have to read the line item on which double click is done. I have to fetch the line item, field by field and not by characters. I have attached the

  • Benefits of context in Oracle 11g

    I spent a lot of time doing R&D on benefits of context but was somehow was not able to really understand the benefit of context in Oracle 11g. I would try to explain with an example, I have seen an example of database session-based application contex

  • Locking phone or folder

    hi i am using the n95 8gb, everything is ok and i like it but there is a problem with me. as it is a new phone so many people and friend use to chek it and i am losting my privacy, i want keep my files and documents in some folder with password lock

  • How I use a Class added

    How do I use methods of a Class added in file>add>java source ? Ex: I add a java code Class1.java who has a Class Class1 who has a method method1. In my page1.java i need to use a method1 of class1. How I use this.

  • My hp windows 7 laptop will not factory restore

    when i try to factory restore my  laptop it gets to a screen saying restoring files and been saying that for over 10 hours