How to find & replace in Javascript code?

Hi all!
I hope that this turns out to be an easy question! We recently updated several forms (about 50 of them) to alter a select set of field names per customer requirements. However, it turns out that one of these fields is a key field and is referenced in one or more places by JavaScript within the PDF.
In Acrobat 6 I'd select the option to edit all scripts which would give me a big document with all of the Javascript within the PDF. I could then do a find/replace on the code and save it. Now, using Acrobat Pro 9, I cannot find anything like this. Please don't tell me that I have to search through all of the different form fields and PDF objects to find all of the script pieces tied to objects or events! I'm really, really hoping that there is an easier way to do this since right now I'm out of ideas and really don't want to have to sift through all of the objects in over 50 PDF documents.
Thanks in advance for pointing me in the right direction!

Talk about not being able to see the forest for all the trees! I can't believe that I missed that -- I spent quite a while looking all over before posting. *sigh*
The exact menu sequence (for those interested) is Advanced -> Document Processing -> Edit All JavaScripts...  That is exactly what I needed. Thanks!!!

Similar Messages

  • How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    Hi hasvi,
    Need Template(.indt), textframes etc for the following script:
    var myFolderInd = Folder.selectDialog();
    var myFile = myFolderInd.getFiles("*indt");
    app.open(myFile)
    var myDoc = app.activeDocument;
    var myDocName = myDoc.name;
    var mySaveFile = app.activeDocument.save(myFolderInd.fsName + "/" + myDocName.split(".indt").join(".indd"));
    var myFolderDoc = Folder.selectDialog();
    var myFile1 = myFolderDoc.getFiles("*doc");
    mySaveFile.pages[0].textFrames[0].place(File(myFile1))
    //~ mySaveFile.place(File(myFile1))
    app.activeDocument.textPreferences.smartTextReflow = true;
    var myPDFFile = new File(mySaveFile.filePath + "/" + mySaveFile.name.split(".indd").join(".pdf"))
    myDoc.exportFile(ExportFormat.PDF_TYPE, File("~/Desktop/abc.pdf"));
    alert("Process Completed")
    Regards
    Siraj

  • How to find out Last T-Codes by a Users in Last 24 Hurs?

    Dear experts
    how to find out Last T-Codes by a Users in Last 24 Hurs?
    Please Help
    Regrads
    Is STAD is only solution (or) any other easy way?
    Regards
    PR

    Hi,
    Maybe it's easier with this path :
    ST03N --> Expert Mode --> Day  --> choose your day
    Under analysis view double click on "Memory Use Statistics"
    You will get the list of transactions run that day.
    If you double click on a transaction you will get the list of users who used this transaction.
    If you select the User view, when you double click on a user, you will get the list of transctions this user launched this day.
    Many ways to use this ST03N transaction...
    Regards,
    Olivier

  • How to find out your PUK code

    How to find out your PUK code for a iPhone 5c

    Ask your Carrier who gave you the SIM.

  • How to find all ORA error code and the message in Oracle10g?

    Does anyone knows how to list all ORA error code and message in SQL Plus or find a full list of ORA error code in documentation?

    If you want ALL Oracle ORA error codes in single page or even downloadable (html or pdf format) then check following post.
    http://www.oratraining.com/blog/2010/08/complete-list-of-all-oracle-ora-errors/
    Regards,
    Tushar
    Edited by: oratraining on Aug 18, 2010 12:20 AM

  • How to find a control with code

    I could find the control with the Test Builder, but now, what I want is achieve that by code. How could I define what the property
    to search? Any help would be appreciated.

    Hi mokpoju,
    Generally, I know that if we want to find a control by code, we will need to add the searchproperties or filterproperties to find this control in the UIMap.Designer.cs file.
    For example, you could use this searchproperties or filterproperties to find the control's ID, Name properties etc.
    For more information, please refer this following blog to check your issue.
    http://blogs.msdn.com/b/balagans/archive/2009/12/28/9941582.aspx
    http://blogs.msdn.com/b/mathew_aniyan/archive/2009/02/12/hand-coding-a-coded-ui-test.aspx
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Find unused programs / T-codes for the past three months

    How to find the unused programs / transaction codes for the past three months,
    I tried with the ST03 Transaction but it gives only the Tcodes, program used in last one monthu2026
    Regards,
    Purshoth

    This depends on the data retention time (in days) maintained in your system. In ST03, on the right hand side, check "Collector" tab, under that "Performance Database" and then "Reorganization" which will give you the details retention times  (in days).
    Also please check the link http://inet.tamko.com:8081/saphelp/helpdata/EN/c4/3a68d5505211d189550000e829fbbd/frameset.htm for more details.
    Thank You.

  • How can I delete all javascript code from a file

    We need to delete all the javascript code from our illustrator files. Right now I need to click on each element and check my SVG interactivity window for any javascript code, then trash it from that window. Very time intensive. Any ways to make a complete elimination of javascript code?

    sudo -u _cyrus /usr/bin/cyrus/bin/ipurge -d 0 -f user/mailboxname
    HTH,
    Alex

  • How to find out the T-code of a program

    Hi Experts,
      I want to find out the T-codes of some programs. For that I am passing the program name in  TSTC table and I am getting the T-code.
      But TSTC table gives T-code for only main program and not for the includes. Is there any way to find out the T-codes for include programs also?
    Thanks and regards,
    Venkat

    Hi,
    there wont be tcodes for include programs....
    u can find the tcode for a running program through  Menu->system->status (now a window opens,here u can see transaction ie.,tcode).
    Also when the program is not running,take se80 and put the program name,in the tree u can see the transaction attached.
    Regards
    Sajid

  • How to find out obsolete transaction codes?

    Hi,
    Is there any way we can find the obsolete transaction codes in a system.
    Thank you.
    Regards,
    Soumya

    You can try using these tables.
    PRGN_CORR2
    RODIR.

  • How to find out what t-code(s) a user executes most?

    Can anybody tell me how I can find out what transaction(s) a given user executes most from the all the transactions that given user has access to? For example if a user has access to 100 t-codes, but only uses 10 of them then, how can I find out that the user never executes rest of the 90 t-codes? Is there a report I can run to find out. Please help.

    Hi Amit,
    STAD is giving me nothing, even though I chose the date 05/03/2007. I also selected both radio  buttons at the bottom. Here's message I am getting "No statistical record for any server found with given criteria"
    Regards,
    Chandu

  • How to find out the company code given the customer number

    I am new to SAP please help me out? How do you find out the answer.

    Hi,
    Goto T.Code SE11/Se16/SE16n.
    Key in the table name as KNB1.
    Enter your customer number.
    Execute.
    You will get your company code here.
    Another way is Goto XD02/XD03.
    Enter your customer number.On company code press F4.Enter the customer number and press Enter.A list of company code in which your customer presents will appear.
    Regards,
    Krishna.

  • How to edit and reload JavaScript code without restarting Acrobat?

    As a programmer, I wonder if there is a better way to do things that I still cannot figure out.
    At the moment I write code in Notepad++, save it in Acrobat's Javascripts folder, open Acrobat, test the code and find out it doesn't work (no surprise there ).
    I then have to close Acrobat, edit the code in Notepad++, save, open Acrobat and find out again that it doesn't work.
    Rinse and repeat for an inordinate amount of times, especially at the beginning of a new "scripting project".
    The JavaScript Debugger is great but, unless there's something I don't know, doesn't let me edit the code directly in its window.
    As you have worked out already I'm referring to folder-level scripts, so the "Document JavaScripts", "Set Document Actions" and possibly even the "Edit all JavaScripts" buttons are in fact useless.
    Adobe Acrobat and Adobe Reader... ain't no Visual Studio and I don't want them to be but please tell me there's a way to write code a little bit more on-the-fly
    Thanks!
    Roberto

    Thank you both for your posts!
    I spent a few days working and experimenting with Javascript in Acrobat and my first impressions are sadly confirmed.
    try67, you are absolutely correct, but the console approach for testing and developing doesn't work if the add-on is heavily dialog box based (because debugging is disabled).
    Not to worry though, any difficulty can be overcome and frankly it doesn't take that long to relaunch adobe anyway
    Thanks for your time!

  • How to find/replace existing certificates before decommissioning certificate authority?

    We plan to decommission a multi-use server that also contains our internal certificate authority and replace it with new dedicated CA servers in a more secure design (offline root CA etc.).
    Before we decommission our existing CA servers, how do we find a list of all the issued certificates that are still valid?
    We would need replace all those old certificates with new certificates from our new CA so the applications that use them don't break when the old certificates are removed/revoked and before we remove the GPO setting that makes our current CA a trusted root
    CA for our domain computers. 

    on CA server you can filter issued certificates by "Certificate Expiration Date" column. In the Certification Authority MMC snap-in, select Issued Certificates folder, then click View -> Filter. Add a filter that would filter certificates
    where "Certificate Expiration Date" is greater than current date.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • How to find tables in transaction codes.

    hi guru,
    suppose i want to findout tables for mm01,xk01,t-codes.
    then how can we find tables from above t-codes.
    subhasis.

    HI,
    From the TCODE Use the menu option System-Status.
    There you can see the relevent program. Double click to navigate to the program.
    Then Goto the package of the program. The relevent table most probably will be there in this package.
    Also if you know the table name then goto SE11 and check the where used list by restricting the search to the package.
    Regards,
    Sesh

Maybe you are looking for