Need Help Running a JavaScript in Acrobat Pro 4

How does one run a JavaScript in Acrobat Pro 4? I know it is an old version, but does someone still know?

Ok, I have figured out how to run a JavaScript file. What is wrong with the following code - are these commands not supported in Acrobat 4?
app.addMenuItem({ cName: "Collate Document", cParent: "Tools", nPos: 0, cExec: "collate()"});
Title: Collate Document
Purpose: User is prompted to select document to insert/collate.
Author: Sean Stewart, ARTS PDF, www.artspdf.com
function collate()
this.insertPages (0,"scan0002.pdf", 0);
// create an array to use as the rect parameter in the browse for field
var arRect = new Array();
arRect[0] = 0;
arRect[1] = 0;
arRect[2] = 0;
arRect[3] = 0;
// create a non-visible form field to use as a browse for field
var f = this.addField("txtFilename", "text", this.numPages - 1, arRect);
f.delay = true;
f.fileSelect = true;
f.delay = false;
// user prompted to select file to collate the open document with
app.alert("Select the PDF file to merge with; this should be the odd-numbered pages:")
// open the browse for dialog
f.browseForFileToSubmit();
var oddDocPath = f.value;
var halfOfPages = this.numPages;
// insert pages from selected document into open document
for (var i = 0;i < halfOfPages; i++) {
this.insertPages(halfOfPages-i, evenDocPath, i);
// remove unused field
this.removeField("txtFilename");

Similar Messages

  • What levels of Acrobat are needed to use forms created in Acrobat Pro 9?

    What levels of Acrobat are needed to use forms created in Acrobat Pro 9? I want to use my form as a job ticket but want to know what levels of adobe reader are needed for the end users to be able to fill out & submit the forms without any problems.

    Reader 7 and higher should be able to fill out forms and submit if the pdf format allows Reader 7 to fill out the form. However, without problems is a different issue. Submission of forms via email is ALWAYS a problem. It is always better to post the form on a website and have the form filled out on the web and have the data stored or sent to a database for further action.

  • JavaScript SaveAs: Acrobat Pro vs. Reader

    Hi Guys,
    My Privilaged / Protetected JavaScript SaveAs function works perfectly in AcrobatPro.
    The problem is that it will start to run in Reader, but the SaveAs won't execute.
    Ideas?

    Within Acrobat Pro I run the following code within the console, indicating
    the conversion to text and tiff is allowed in Acrobat Pro.
    How can I confirm the conversion to text and tiff allowed in Reader?  How
    to get to the Reader console?
    Here's the code:
    for ( var i = 0; i < app.fromPDFConverters.length; i++)
    console.println(app.fromPDFConverters[i]);
    And here's the results:
    com.adobe.acrobat.eps
    com.adobe.acrobat.xlsx
    com.adobe.acrobat.html
    com.adobe.acrobat.jpeg
    com.adobe.acrobat.jp2k
    com.callas.preflight.pdfa
    com.callas.preflight.pdfe
    com.callas.preflight.pdfx
    com.adobe.acrobat.png
    com.adobe.acrobat.ps
    com.adobe.acrobat.pptx
    com.adobe.acrobat.rtf
    com.adobe.acrobat.accesstext
    com.adobe.acrobat.plain-text      <---- This is what I need
    com.adobe.acrobat.tiff                 <---- This is also what I need
    com.adobe.acrobat.doc
    com.adobe.acrobat.docx
    com.adobe.acrobat.xml-1-00
    com.adobe.acrobat.spreadsheet
    true

  • Please i need help to install the HP laserjet pro 100 color MFPm175 series

    hello sir,
                 please i need a help how to install hp laserjet pro 100 color mfp m175 series drive.
                 i just bought the printer today.

    Hi, which operating system are you running?
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • Need help installing boot camp onto macbook pro

    I'm attempting to get Boot Camp to run on my MacBook Pro as I need to run several programs on windows for school. I purchased a Windows 8.1 download from Microsoft's website. The download from their website is not an ISO image and is not recognized by the Boot Camp Assistant on the "Create Bootable USB Drive for Windows Installation" screen. I am not a tech savvy person and I would appreciate any help/advice, it seems that I have to somehow convert the download?
    Thank you!

    You get an ISO using this method - http://www.cnet.com/how-to/how-to-download-the-official-microsoft-windows-8-1-is o/
    You will need the ISO to be able to build the USB that Bootcamp needs.

  • Need help connecting Audigy 2 ZS Platinum Pro to ATI All-in-wonder 9600XT to get sound from tv tu

    Recently purchased an Audigy 2 ZS?Platinum?Pro sound card. I need help figuring out how to get sound when I us the tv tuner for my?All-In-Wonder?9600XT video card. The audio output on the video card needs an audio input to connect on the sound card, but this sound card?does not appear have one.
    Does anyone know how I can connect the video card to sound card so I get sound when using tv tuner? Where is the micro In line?I have it on the front panel on the external unit!!? But I would don't use this In line for this application!On my old sound card SB Li've! Platinum, I had a line at the rear PCI card (Line In & Micro Line In) and I had two others Line In on the Front Panel, It's the best, but this old card work only with Win 98 or Win 2000.... ? My new system have WinXP Pro!!!!I buy a new SB card (Audigy 2 ZS Platinum pro), but How to get sound fromo the TV tuner and what's the best setup for my micro (for MSN, Skype) ??Help will be greatly appreciated.

    Anybody wants to help me ?I wait your answer for my question...!
    Thanks

  • I need to download a copy of acrobat pro 9.3 for mac

    I purchased CS 5 in the past but now need to re-install acrobat pro on a machine that does not have a CD drive. I need to find a copy online please ?

    Download it from http://prodesigntools.com/all-adobe-cs5-direct-download-links.html
    Make sure you follow the Very Important Instructions on that page.
    [topic moved to Acrobat forum]

  • Need help setting up a new k7n420 pro

    I just purchase the following for a budget computer and would like to know what procedures I should use to install the hardware with special attention to software and drivers.  I plan on using Windows XP Home + SP1 and the following:
    MSI K7N420 Pro ($67)
    Codegen Case with AMD approved 400 Watt PS ($63)
    1 x 256 Crucial PC2100 ($56)
    AMD Athlon XP 1800+ Retail ($74)
    Onboard graphics and sound for setup
    Sony CD-RW 48 x 24 x 48 CDU215A1 ($46)
    32X CD-ROM from old computer
    1.44 Floppy from old computer
    6.4 GB HD from old computer
    I plan on getting the following in the next week or two:
    AGP CARD
    -Geforce4 TI4200
    -Geforce3 TI200 or TI500
    -ATI Radeon 8500LE
    -ATI Radeon 9000 Pro
    and a
    40 or 60GB Maxtor 7200 RPM Drive
    any suggestions we the following requirements:
    The most value for the littlest amount of money.  Must support DX8.1.  I have $310.00 in the parts right now and don't really want to go over $450.00.
    Back to setup.  I need help with the order to install drivers and software and versions.  In addition, were can I get these versions.  Emphasis on stable computer,  I don't game very much but will venture into a few flight simulators soon.
    Any help greatly appreciated
    David Thomas

    David,
    The only change would be the Power Supply.  Get if you can an Antec TruePower.  You can get a True330W for around $55.00 and it is well worth it if you are going to upgrade from onboard graphics in the next week or so.
    The GeForce4 Ti4200 is the best bang for the buck at them moment, and they are getting hard to find in the 64Mb 4X Version.  If you can get one for $125.00 you are doing very well and will be very happy with your computer.
    Good Luck,
    Richard

  • What else do I need to purchase for the full Acrobat Pro subscription?

    I tried to purchase Acrobat pro but purchased the full creative cloud so I would have access to all the adobe software needed to create fill able pdfs. I paid for some additional pdf pack and I still do not have full access to acrobat?????
    How much more do I need to spend?

    Creative Cloud includes Acrobat Pro, unless you are on an incompatible system like Vista. PDF Pack isn't Acrobat and doesn't affect it.
    You say you don't have full access to Acrobat - have you tried to install it?

  • I need to know how to migrate acrobat pro X ver 10.1.10 to a new computer

    How do I migrate Acrobat Pro ver 10.1.10 to a new computer?

    If you have a serial number for Acrobat 10 than you can download and install it from Download Acrobat products | Standard, Pro | XI, X

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

  • Need help with video on older Mac Pro

    I have a 2008 Mac Pro that more than meets all of the specs for FCP X, except the Mac App store won't let me buy and download because the video card in the system doesn't meet specs.  I've found an apple support page that lists the compatible video cards for FCP X.  Here's my issues:
    1. Most of the cards on the list are older and not easily obtainable anymore.
    2. Even with models that are newer, it's had to find one labeled for Mac - so can I just use any old model of, say, a Radeon HD 5670 or do I need one specificlaly made for Macs?
    3. Bottom line is what card can  I use in a 2008 Mac Pro that will meet the specs and that I can actually purchase?
    Thanx...Jon

    jhyiesla wrote:
    I've found an apple support page that lists the compatible video cards for FCP X.
    . . . . . . . . . so can I just use any old model of, say, a Radeon HD 5670 or do I need one specificlaly made for Macs?
    A Radeon HD 5670 is a Radeon HD 5670 - if it's on the compatible list, it will work in your Mac.
    This is my pet checklist for questions regarding FCP X performance - you may have already addressed some of the items but it's worth checking.
    Make sure you're using the latest version of the application - FCP X 10.0.5 runs very well on my 2009 MacPro 2 x 2.26 GHz Quad-Core Intel Xeon with 16 GB RAM and ATI Radeon HD 5870 1024 MB. I run it with Lion 10.7.5.
    First, check that you have at least 20% free space on your system drive.
    For smooth playback without dropping frames, make sure 'Better Performance' is selected in the FCP X Preferences - Playback Tab.
    If you have not already done so, move your Projects and Events to a fast (Firewire 800 or faster) external HD. Make sure the drive's formatted OS Extended (journalling's not required for video). You should always keep at least 20% free space on the Hard Drives that your Media, Projects and Events are on.
    Check the spec of your Mac against the system requirements:
    http://www.apple.com/finalcutpro/specs/
    Check the spec of your graphics card. If it's listed here, it's not suitable:
    http://support.apple.com/kb/HT4664
    If you are getting crashes, there is some conflict on the OS. Create a new (admin) user account on your system and use FCP X from there - if it runs a lot better, there's a conflict and a clean install would be recommended.
    Keep projects to 20 mins or less. If you have a long project, work on 20 min sections then paste these into a final project for export.
    If you ever experience dropped frames, I strongly recommend you use ProRes 422 Proxy - it edits and plays back like silk because the files are small but lightly compressed (not much packing and unpacking to do) - but remember to select 'Original or Optimised Media' (FCP X Preferences > Playback) just before you export your movie, otherwise it will be exported at low resolution.
    If you have plenty of processor power, for the ultimate editing experience, create Optimised Media - most camera native files are highly compressed and need a great deal of processor power to play back - particularly if you add titles, filters or effects. ProRes 422 takes up much more hard drive space but is very lightly compressed. It edits and plays back superbly.
    Hide Audio Waveforms at all times when you don't need them (both in Browser and Storyline / Timeline). They take up a lot of processor power. (Use the switch icon at the bottom-right of your timeline to select a format without waveforms if you don't need them at the moment, then switch back when you do).
    Create folders in the Project and Events libraries and put any projects you are not working on currently, in those folders. This will help a lot. There's a great application for this, called Event Manager X - for the tiny cost it's an invaluable application.
    http://assistedediting.intelligentassistance.com/EventManagerX/
    Unless you cannot edit and playback without it, turn off Background Rendering in Preferences (under Playback) - this will help general performance and you can always render when you need to by selecting the clip (or clips) and pressing Ctrl+R.
    The biggest single improvement I saw in performance was when I upgraded the RAM from 8 GB to 16.
    Andy

  • How do I run my JavaScripts in Acrobat X?

    I have some JavaScripts that in Acrobat 9 are menu items available in the Tools Menu. In Acrobat X Pro I don't see them. The JavaScripts are in the C:\Program Files\Adobe\Acrobat 10.0\Acrobat\Javascripts. How do I runt the scripts in Acrobat X Pro?

    The menu item still exist, but is not displayed, but the items on the menu should still be available to JS.  You can use the  'exeMenuItem' to run the item to run the hidden item.
    You will see the missing executable menu items if you use JS to crate a list of menu items. This will show the menu items that have not been moved to the Tool Well.

  • I need HELP connecting a M-Audio FastTrack Pro USB with a Behringer 1202!!!

    i need some assistance wireing up my personal studio. Im running on a Mac Pro Tower Logic 8. I have a M-Audio FastTrack Pro USB interface and want to hook up a Behringer 1202fx mixer. How exactly do i do the wiring for this???what settings do i need to change in system preferences or in Logic.????? PLEASE HELP ME!!!!!

    It depends what you want to do, and what gear you are hooking up and what you want to do with it.
    How you hook it up really depends on your needs, which you don't specify.

  • Need help in decoding javascript tag for HTML5 output.

    Hello all,
    I am working on a project in Adobe captivate 7 64 bit which consists of around 500 slides with most of the slides being text and image. The problem I am facing is very unusual which I guess I am the first one to experience (as per my search on google and forums). So, after I publish my project the output works fine in html (local and online) BUT when I run index.html (i.e., HTML5 output) the course does not run and screen is blank.
    After spending a week on searching online and using the trail and error strategy I was able to find out that it was the URL text "F:\usrnew\purchase" placed in the the middle of the course which caused the whole damage. However the url was removed and the project was submitted.
    After spending some extra time I found out that the letter "\u" which is a javascript tag was causing the problem for the HTML5 output. I don't really know much about javascripting but found out that the tag can be decoded using some programming strategy. Now this is where my knowledge comes to a standby and needs a lift from you guys.
    Any ideas, help, knowledge sharing would be very helpful for me and all those who might face this issue in future.
    Looking forward for your views.
    Kind Regards,
    Mirza

    Voila! The issue is resolved.
    Solution: Change the single slash "\" to a double slash "\\".
    Cheers,
    Mirza

Maybe you are looking for

  • ITunes 6.0.3.5: Rips CDs then loses the tracks...

    iTunes is working fine on my computer with my iPod but my fiancee's machine will rip a CD, file away the music and never add it to her library to be listened to in any fashion. These songs are accessible on disk and can be listened to in anything but

  • How do I set individual properties for a column in report layout at runtime

    How do I set individual properties for a column in report layout at runtime? I need to change this based on a user's input. This is for v10g. I need to change either the "Read from File" attribute or the "File Format" attribute for one column based o

  • Is there a mac platform for Elements 12?

    When I go to checkout, it says Windows platform and does not give me a choice for mac. I don't want to purchase until I know for sure.

  • How to use BAPI_ACC_PRIMARY_COSTS_POST for KB61 reposting?

    Hello, in another thread here and other "googled" hits, I've found that BAPI_ACC_PRIMARY_COSTS_POST should be able to be used for reposting costs with reference to the original document (like reposting with transaction KB61). Unfortunately I can't fi

  • Linking Sheets in Numbers '08

    In Numbers '08, is it possible to link cells/columns between sheets; so that in the below spreadsheet selecting an item from Column A in "Hub Dimensions" sheet in the drop down box of the "Spoke Calculator" sheet would fill out the cells in Column D