Help with Batch Capturing, Timecode Issues?

Hi Final Cut Pro Pro's. I've just come over from Avid.
I have a problem with capturing - I have a lot of tapes to capture and there is no way I will make deadline doing it by individual capture - I need to batch capture. My tape shows no timecode breaks and I have already spent hours logging all the various clips. It shows it has registered all of the media start/end timecodes, but when I click on batch capture, it says
BATCH CAPTURE: TIMECODE ERROR: UNABLE TO LOCATE THE SPECIFIED TIMECODE. YOU MAY HAVE SPECIFIED A TIMECODE WITH INSUFFICIENT ROOM FOR A PRE/POST ROLL OPERATION.
I don't understand as there is clearly a functioning timecode? This is going to break my balls if I have to go through this individually, no time! Anyone? Any ideas?
Thank you.

I'm capturing from the camera directly, a Sony DSR-250...
It turns out that yes, if you have marked the in/out point too close to the head or the tail of the tape, or even if you have marked it okay and are currently at the start/end of tape when pressing on batch capture it cannot send the command to the device. If you move forward or backward accordingly by five or six seconds it doesn't come up anymore.
Thanks for all the responses, I'm going to make deadline now. Apple forums are my hot hot S€X.

Similar Messages

  • Online help with Batch Capture

    I'm trying to online a sequence in a tapeless workflow.  I'm using Log & Transfer along with Batch Capture but Batch Capture keeps looking for a deck.  How do I get it to look for my Hi-Res digital files?

    Yeah...that's the problem.
    You directly imported it and worked with it natively? What is this footage? From what camera?
    The only way to offline/online with tapeless is to bring in the footage via Log and Transfer.  Log and Transfer to ProRes Proxy...then you can Batch Capture to a higher data rate ProRes format.

  • Batch Capture : Timecode Error?

    So I am attempting to capture my first video onto FCP from my Canon XL. I have about 5 minutes of video and I have logged the info for each clip. They are all in my "Bin 1" and it is set as a "logging bin." The first logged clip that i want it to capture i have marked the "In Point" at 00:00:00;00 and the "Out Point" at around 00:01:09;24. The rest of my 11 clips just go in order (i.e. 2nd clip: In = 00:01:09;25 etc...). After doing all of this I click on "Batch" under the "Capture" option, a big black screen pops up over my FCP with the capture info underneath the black screen in a gray strip. My camera then rewinds to the beginning and STOPS. I then have to sit and wait for anythin to happen, my camera still saying "STOP," and then a message pops up reading the following:
    Batch Capture: Timecode Error: Unable to locate the specified timecode. You may have specified a timecode with insufficient room for a pre/post roll operation.
    I have no idea what this means and I am beginning to get impatient with capturing my video. In the Log and Capture window, the tab that says Logging, i did not mess with the "Markers." I don't know if this matters.
    Any help would be GREATLY appreciated so that I can start editing my project with this wonderful software otherwise.
    God bless,
    |-(|:^D
    `

    In standard trim, FCP needs at least 5 seconds preroll before capturing. The preroll is so the tape can get up to speed, the heads read timecode accurately and so on. You have discovered what happens when you give it no oppertunity to sort itself out.
    The simple answer for your current situation is to set your first in point 10 seconds after the start of the time code. Be sure to make sure your last clip's OUT point is 10 seconds or more before the end of time code or you can have problems at that end of the capture as well.
    The long term answer is next time let the camera run for a minute or two before you start recording anything you will want to keep. The same is true for the end of the tape - let it run for another half minute or so.
    Cheers,
    x

  • Help!  Batch Capture Changes My Logged Clips' Media Start & Media End

    I'd be very grateful for any help on this.
    I log a tape with about 40 clips ranging from 30 seconds to 4 minutes. I select the clips and start a batch capture. Everything appears to be capturing normally and I receive no error messages or dropped frame warnings - after my last clip is captured I get a "Successfully Captured" message.
    However, as soon as I click "Finished," all of my clip media start's, media end's, and durations in the log window arbitrarily change to weird times. All my media start points are 26 frames too early (I've tripple-checked that "Add Handles" is indeed deactivated), and the media end points make no sense at all.
    A clip that was once 44 seconds long is now only 12 seconds long, the media end point moved a whopping 34:03 too early. Another clip will become 2 seconds longer, the media start point still shifted back 26 frames, but with the media end now 31 frames too late. Checking the original files on my drive confirms that only these weird, unusable segments are what has been captured.
    What complicates things is that I just discovered today that if I capture locally to my internal hard disk, the clips capture normally (the times remain unchanged). But if I set my capture scratch to my external hard drive (a LaCie F800 2-TB RAID-5 using Firewire-800), that's when the clips start changing themselves. I ran disk utility and found no errors on the drive, and have never had a problem with it or any part of my configuration until the last month or so... the only changes to my system being the regular use of Software Update.
    On top of that, my colleague is experiencing a similar problem with batch capture changing his clip times, even though he is using a different computer (single-processor G5), a different video deck (Sony DHR-1000), and a different storage medium (Apple Xserve RAID).
    So my question is: What is happening! The only thing I can think of is that perhaps some update has a bug - but I can't find anyone with a similar problem online.
    Any help on this would be extremely appreciated! Thank you in advance for your advice.
    Dual 2.3GHz PowerPC G5 Mac OS X (10.4.4) Deck: JVC CU-VH1 / Storage: LaCie F800 2-TB RAID-5
    Dual 2.3GHz PowerPC G5 Mac OS X (10.4.4)

    Here's an update on this. Both my colleague and I have confirmed that if we capture to an internal or external drive that is not a RAID FCPro batch captures just fine.
    But, if the drive we are capturing to is a RAID (in my case a LaCie Biggest F800 and his case an Apple Xserve), then we get dropped frame reports and/or clip in's and out's changing after the batch capture is complete.
    We even tried reformatting one of the xServe's and rebuilding it as non-journaled, it didn't solve the problem.
    It seems impossible that we're the only ones to be experiencing this problem... does anybody have any help or suggestions!?

  • Hoping for some help with a very frustrating issue!   I have been syncing my iPhone 5s and Outlook 2007 calendar and contacts with iCloud on my PC running Vista. All was well until the events I entered on the phone were showing up in Outlook, but not

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

  • Help ! Batch Capture won't capture . FCP 5 & Kona 3

    When I select any offline clip and try to batch capture it - the machine seems to be working fine, cues up the deck at the start of the clip, rolls away - the capture screen appears but then everything just keeps rolling - ie it doesnt stop when it reaches the tc out point of the clip. I eventually have to abort and the offline clip remains offline.
    Capture Now on the fly works fine.
    This is a new G5 Quad running the latest OS with FCP5 capturing from a Digibeta PAL Sony deck with RS 422 control thru the AJA BOB to a Kona 3 Card. I havce full deck control as normal thru the Log & Capture window.
    Any help would be appreciated.

    Do you have the latest Kona drivers? What are you capturing to? What codec are you using?
    Patrick

  • Need some URGENT help with 3 DVD mastering issues PLEASE! :

    Hi there,
    Firstly, I am running DVD SP 3.0.2 on Mac OS 10.4.7 on a G5 Dual 2 GHz 3Gb Ram plenty of HD space...
    I am creating a DVD with: An intro sequence, a main menu, 4 sub menus, and 4 sections with around 12 chapters each.
    I am having some big problems, and a pretty stuck. I will lest them separately below, numbered. If you are able to help, please refer clearly to which number you are helping with. Any help is MUCH appreciated! Many thanks!!
    1. Each of the 5 menus (1 main, 4 sub) have a background video, and a separate audio track. I added the background videos by simply dragging them to the assests panel, then from there onto the menu editor window. They are created in FCP and are properly encoded. However, when I click the motion button, or use the simulator, the videos do not show up. The music plays, but all i see is plain black.
    What is going on?!?!?!
    2. I am really struggling with rollover buttons. I have custom created buttons, and I wand them to have a soft red glow around them when hovered over. HOW ON EARTH DO I ACTUALLY DO THIS??
    The buttons are in photoshop so can be exported with/without background/glow in any format.
    3. Is it possible, once I have got the above rollover working, to have an image to the right hand side of my buttons which changes with the the button rollover. i.e. hover over button 1, see image 1. hover over button 2, image changes to image 2.
    PLEASE PLEASE give any help you can, I have a deadline coming up and am quite stumped. Thanks again!!

    I am still having problems regarding issue Number 1. PLEASE ANYONE HELP?!
    Sorry, I'm not sure about the motion menus. I avoid those whenever possible. But you might click on the menu in the storyline tab (whatever it's called -- the hierarchical view with the disc, tracks, slideshows, etc.) and look at the properties and see if there's anything you have to enable specifically for motion. And be sure the motion button is on on the main display/preview area, but it sounds like you already know how that works.
    For your information, here is a screen grab of the menu I am trying to create:
    http://www.redhavoc.co.uk/stuff/menu.jpg
    I think it is obvious that when a button is hovered over, I want it to glow red, and the image to the right will change to match the respective button.
    IS THIS GOING TO BE POSSIBLE????
    Yes.
    First, your menus have to be layered menus. Unfortunately, there's no way to convert non-layered menus to layered menus, so if you already have non-layered, you'll have to just delete them and create new layered menus. The button (and menu item) to create a layered menu should be right by the normal new-menu item.
    Next, the graphical work is all in Photoshop.
    Side tip: You may already know this, but I found it's best to use 640x480 for the Photoshop document. When I do text and leave it as a text object in the Photoshop file, it resizes poorly in DVDSP. So this ends up being another 720x480 vs. 640x480 square/rectangular pixel conversion thing. DVDSP plays in the 640x480 world, at least as far as the designer can see. So I keep my images at 640x480, and it doesn't have to resize, and everything looks right.
    Moving on... Set up your basic background, the part that won't change (or will have other things covering it, like for your square image).
    Then put in all the buttons and images you'll be using, each part in a separate layer. This could have fifteen buttons (you have five buttons, and there can be three versions for each -- inactive, selected, and activated versions) and five or six square images (you said one for each button, and you might want a blank default if, say, you want to add a "back" button on the menu and want some blank or default image for the square when they're on the "back" button).
    Sometimes people don't bother with a separate "active" button state, but you usually want some visual feedback that they clicked the button. Also, I usually just build the default (unselected) button into the background; that's less hassle later on, and it will just draw the selected or activated buttons over that when the user is on that button.
    Line up all your buttons and images. All the square images lined up perfectly on top of each other, all the buttons in the right places (so you'll have three buttons stacked on top of each other in each spot). Give each layer a short but quickly recognizable name, and line them up in a consistent order. (button1-default, button1-selected, button1-active, button1-squarepicture, then button2-default, ... etc.) Photoshop and DVDSP don't care, but it makes it easier for you later.
    Note that earlier versions of DVDSP won't show Photoshop layer effects. (They handle layers, just not the effects, like inner glow, outer bezel, etc.) I don't remember when they changed this, but I think it was version 4.something. So if you're using that method to make your buttons glow, you may have to flatten each selected or active button layer, and you may even need to create a dummy blank layer underneath it first to give it something to flatten onto.
    Save the file as a standard Photoshop file (.psd). Drag the file onto your DVDSP layered menu and set it as the background.
    Now, in DVDSP, create all your buttons. Just drag boxes over/around the button pictures you have. Feel free to make them extra-big; users won't see the actual area you've selected, and bigger areas makes it easier for people to hit them if they're using a mouse on a computer to watch the DVD. You can point the buttons to their targets now if you want, and set the end jumps on the tracks if you want. (I tend to set the end jumps on the tracks so they automatically select the button for the next track.)
    Now's the fun part, since it will actually hook everything up and should be easy if your naming layer order were consistent. Click on the layered menu (in that hierarchical view) and look at the properties window. (Sorry I can't remember the technical names for all these windows; I'm doing this all from memory. So feel free to ask more questions if you can't find what I'm talking about.) One of the properties tabs should have a grid of checkboxes with a list of your layers. Make sure the background is checked for all of the states. Then check the layers you want to show for each button state, as well as the corresponding square image to show for each.
    Again, I'm doing this from memory, and I can't remember exactly how things are listed in that grid. But I remember it keeps your layers in the same order you put them in the Photoshop file and shows you those names, so it should make it easy to go down the list and check the right boxes.
    And another side tip: You can update the Photoshop file, but once you've put it in DVDSP, if you change the layer order, it will screw up the check boxes you checked. It always shows you the layer names correctly, but it keeps the checkboxes in DVDSP simply assigned to the layer number, so the fifth layer will keep the same checkboxes even if you juggle them so some other layer is now the fifth layer. So if you do juggle the layers in Photoshop, go back and fix the checkbox list in DVDSP.
    I put a sample Photoshop file based on yours in
    http://dan.black.org/layered-menu-sample.psd
    It's quick and dirty, but shows the layer layout, and you should be able to drop it on DVDSP to play with. (I also won't leave it there forever, maybe a few weeks, so anybody reading this in a month or more probably will get a 404 for that url.)
    Again, doing this from memory, so feel free to ask if anything doesn't work or doesn't make sense.
    G4/dual867   Mac OS X (10.4.5)   2GB/0.8TB

  • Help with batch processing

    Hi, I am having trouble with batch processing. I want to apply adaptive noise reduction (ANR) to several files from the same source tapes. So, following the help instructions, I create a script from one file. When I try to apply it to the other files, instead of applying ANR to them, it simply saves them as is. The steps I perform are as follows:
    I select the entire wave (I have also tried it without first selecting)
    I open the scripts box in the file menu
    I click on open/new script collection and create a new script
    I title the new script
    I click 'record'
    I close the scripts box
    I run ANR on the file
    I go back to the scripts box and click 'stop current script'
    I click add to collection
    I close the scripts box
    I open the batch processing box
    I select the files, then the script, then I click to start processing
    When I try to apply this to script to other files, it saves them but doesn't apply ANR.
    Can anyone suggest what I am doing wrong? Also, in the scripts box, there are three options for the type of script that I can create. One is highlighted: 'Scripts start from scratch.' Is that the correct one to use? If not, how do I select one of the others? I click on them but nothing happens. Finally, when creating a script, do I save the file before or after clicking 'stop record'? I have tried it both ways but don't know which is correct (neither seems to make a difference).
    Just to be as thorough as possible, below is the text of one of my scripts, in case that contains any clues. Thanks so much for any and all help!!
    Collection: doubletnr
    Title: d2
    Description:
    Mode: 2
    Undo: 0
    Selected: none at 0 scaled 109479495 SR 44100
    Freq: Off
    cmd: Channel Both
    Selected: 0 to 109479494 scaled 109479495 SR 44100
    Freq: Off
    Comment: Restoration\Adaptive Noise Reduction
    cmd: {EA93BBBE-0B8F-47D6-AC6D-B67B46524E41}
    1: 52,AAA€ÛÚZ€AAQ€ãýÇÛÚÚAAA€Ďč¸āĂ}úƒÓ~ip€k•iëåÁëåÁ
    2:
    3: 13
    4: 0
    5: 0
    6: 3190728
    7: 0
    8: 0
    9: 0
    10: 1
    Freq: Off
    End:

    This is what my script looks like. Although I was worried about the strange characters in the script, it does work.
    Make sure that the script you use is suitable for the sample rate and bit depth of the file. E.g. if you have 44100/32-bit files, then don't use a script that was recorded on a file with e.g. 48000/16-bit. If required, resample or make different scripts for different rates/depths.
    Collection: Test ANR AA Forum
    Title: Test ANR AA Forum
    Description:
    Mode: 4
    Undo: 1
    Selected: 0 to 9233563 scaled 9233563 SR 44100
    Freq: Off
    cmd: Channel Both
    Selected: 0 to 9233563 scaled 9233563 SR 44100
    Freq: Off
    Comment: Restoration\Adaptive Noise Reduction
    cmd: {EA93BBBE-0B8F-47D6-AC6D-B67B46524E41}
    1: 52,AAA€ÛÚZ€AAQ€ãýÇÛÚÚAAA€Ďč¸āĂ}úƒÓ~ip€k•iëåÁëåÁ
    2:
    3: 13
    4: 0
    5: 0
    6: 154705552
    7: 0
    8: 0
    9: 0
    10: 1
    Freq: Off
    End:

  • Troublw with Batch Capture

    I am currently reimporting a sequence I originally edited in ProRes Proxy from AVCHD camera originals. I have made an off line copy of the sequence in media manager with 1 sec handles. When I batch capture the new sequence log and transfer finds all the correct original clips and begins the re-import process. I can watch the mov files being created in the scratch capture folder. After each mov file is created it is then mysteriously deleted when Log and Transfer moves on to the next clip. At the end of the process the final clip is automatically deleted from the folder leaving it empty. Manually importing clips from the same mounted volumes work correctly. This problem occurs no matter what the drive array I capture to and no matter what ProRes resolution I capture in. I am on FCP Ver.7. Anybody have any ideas how to remedy this situation. Thanks.

    try capturing to your startup drive as a test. if that works, I would suspect a problem with the raid.

  • Can any help with my Xcode download issue?

    Hi all,
    Can anyone help with my Xcode issue? I downloaded it the other day but it is currently stuck saying waiting. I found this advice online http://scheyeniam.blogspot.co.uk/2011/08/how-to-revive-mac-app-store-when-its.ht ml and it seemed simple enough. However it tells me to go into activity monitor and quite 'storeagent'. The issue is that there is no process called storeagent. I have tried quitting other processes but it doesn't seem to be working.
    Does anyone know of a solution to stop the download saying 'waiting' and to get it started?
    Thanks

    Most likely it is downloading, although the App Store doesn't show the download progress. I had the same problem yesterday when I did the upgrade. It eventually finished, and it's quite a large download, so it might take hours, depending on your internet connection.
    If you open the Launchpad, and locate the XCode application icon, it should show a download/install progress, if you want to verify that it's actually doing something. Otherwise, just leave the App Store running, and it should eventually finish.

  • Help w/ batch capture?

    Hey guys,
    Just finished a shoot in the city this arvo. Got back to log and capture and have run into a short problem.
    I've logged all my clips, about 25 minutes worth, broken up into 7 seperate clips. The footage from today was recorded onto the second half of a 60-min tape. I shot 10 seconds of nothingness before todays shoot to give me a good buffer for batch pre-roll. The problem is, even if I try to batch capture starting at a point (let's say 2:00;00 in, for hypothetical), the camera insists on returning to the very beginning of the tape. So, because I have a timecode break, and theoretically 2 different 2:00;00 timecodes, I've run into trouble.
    Question is, is there a setting in capture settings that will make it not continue past my broken timecode. ie, I want to stay on this side of the break and not jump to that side! haha.
    Hope I was clear enough. If it makes any difference, I'm using a Sony Z1P for capture purposes.
    Thanks, Josh

    I thought Final Cut renames reels automatically when it detects broken timecode. No? At least this is standard behavior on my machine and I find it very useful. (I might have set it up myself without even knowing it - there are way too many settings in different menus.)
    Edit: I use "Capture Now" and seldom "Log and Capture" because my clients prefer to have all their footage on the hard drive. Probably when you do it in a proper way and log clips first, you do have to change the reel name manually.
    Message was edited by: George Bazhenov

  • Problems with Batch Capture

    I have a G5 Quad and Final Cut Studio (with FCP 5) and am running Leopard. Everything was running smoothly until about 2 months ago. I reinstalled Leopard ... from a clean install. I reinstalled FCP and everything worked well, EXCEPT. Now when I try a Batch Capture ... I set up 5 or 6 clips then tell FCP to capture all. It will rewind to the first clip ... the screen shows "go to cueing source material" ... less than a second of the clip shows, the screen then shows "go to cueing source material" ... then I get an error message - "dropped frames"
    This is the same camera that I used before the install. I am hoping that this is just some "dumb" thing I forgot to click.
    Any suggestions

    Which camera? Also post the last time you had it serviced... if the heads get dirty or the tracking is off one whit, you'll get these error messages.
    Jerry

  • Help with tethered capture in lightroom 4

    I want to do live tetherring from the camera into lightroom four. I need help with the procedure
    Riche

    Camera? Is it supported?  There is a tutorial here which may help http://www.youtube.com/watch?v=AYs8WbTbJCk

  • Can anyone help with the java applet issue

    Hello everyone,
    This is my first thread in this forum,
    I need a little help with the form developer...
    I have oracle 9i db , 9i form developer
    I don't want to run the form i created as a java applet
    HOW IS THAT DONE i.e NOT IN THE INTERNET EXPLORER?????????
    ***IF ITS POSSIBLE

    Hello,
    I don't want to run the form i created as a java applet
    No chance, because the Web Forms client is an applet and cannot be anything else.
    Francois

  • Help with Batch Labeler (extremely Urgent)

    Good Afternoon Eeveryone,
    I am in need of help to create a Batch file to stamp the filename of the PDF document in the document itself.
    This is for audit and control purposes.
    i have the following javascript to add the filename as a header.
    app.addSubMenu({ cName: "Header",cUser: "Set/Remove Header", cParent: "File", nPos: 20 });
    app.addMenuItem({ cName: "(Filename)", cParent: "Header", cExec: "SetHeader(1)"});
    app.addMenuItem({ cName: "-------------------------------", cParent: "Header",cExec: "{}"});
    app.addMenuItem({ cName: "(Filename)", cParent: "Header", cExec: "RemoveHeader(1)"});
    //Set/remove Header
    function SetHeader(ARG)
    var re = /.*\/|\.pdf$/ig;
    var FileNM = this.path.replace(re,"")+".pdf";
    var Path = this.path;
    var AcDate = new Date();
    var AcDateFormat = "yyyy/mmm/dd  HH:MM"
    var Box2Width = 50
    for (var p = 0; p < 1; p++)
      var aRect = this.getPageBox("Crop",p);
      var TotWidth = aRect[2] - aRect[0]
      if (ARG<=3 || ARG==9)
       { var fd = this.addField("xftDate", "text", p, [20,1600, TotWidth-30-30,30]);
          fd.value = "Nº:" + FileNM;
           fd.textSize=12; fd.readonly = true;
           if (ARG==1){ fd.alignment="left" };
           if (ARG==2){ fd.alignment="center" };
           if (ARG==3){ fd.alignment="right" };
      if (ARG==4 || ARG==5 ||ARG==9)
       {  var hStart=(TotWidth/2)-(Box2Width/2)
           var hEnd=((TotWidth/2)+(Box2Width/2))
           if (ARG==5){var hStart=(TotWidth-Box2Width-30); var hEnd=(TotWidth-30);}
           var fp = this.addField(String("xftPage"+p+1), "text", p, [hStart,30,hEnd,1450]);
           fp.value = "Page: " + String(p+1)+ "/" + this.numPages;
           fp.textSize=12;  fp.readonly = true;
           fp.alignment="center";
    function RemoveHeader(ARG)
    if (ARG<=3 || ARG==9) {var x = this.removeField("xftDate");}
    if (ARG==4 || ARG==9)
       {  for (var p = 0; p < this.numPages; p++)
          {var x = this.removeField(String("xftPage"+p+1)); }
    I found this on another Thread and made some changes to suit my needs, now i need this to reproduce to a large ammount of pdf files, and that works with adobe reader.
    i have this batch file that i also took from another thread, if i click on it it works fine, i change the directory where it sends the files but when i drop a file on it it gives a error saying it cant "create object acroexch.app"
    '//////  User settings /////////////////////////////////////////////////////////
    fileSaveDir = "c:\Temp"    '/->state an existing folder for saving changed files
    mode = 1         '/->  0=work hidden; 1= show acrobat
    test = 1             '/-> 0= don't show messages; 1=show messages
    '    // set WSH objects
    set oWsh = CreateObject ("Wscript.Shell")
    Set oArgs = WScript.Arguments
    Set fso = CreateObject("Scripting.FileSystemObject")
    '    // test basic files/folders
    if not fso.FolderExists(fileSaveDir) then : msgBox("Folder """ &fileSaveDir &""" don't exist") : wscript.quit : end if
    if oArgs.Count = 0 then :    MsgBox("Drag & Drop files on this") : Wscript.quit : end if
    '    // set acrobat basic objects
    Set App = CreateObject("Acroexch.app")
    if mode > 0 then app.show
    Set AVDoc = CreateObject("AcroExch.AVDoc")
    Set AForm = CreateObject("AFormAut.App") 'from AFormAPI
    '    // write  acro-js to a variable for later executing
    Ex = "  // set Date and filename as footer  "&vbLF _
      & "  var re = /.*\/|\.pdf$/ig;  "&vbLF _
      & "  var FileNM = this.path.replace(re,"""")+"".pdf"";  "&vbLF _
      & "  var AcDate = new Date();  "&vbLF _
      & "  var AcDateFormat = ""yyyy/mmm/dd  HH:MM"";  "&vbLF _
      & "  for (var p = 0; p < this.numPages; p++)   "&vbLF _
      & "  {   "&vbLF _
      & "    var aRect = this.getPageBox(""Crop"",p);  "&vbLF _
      & "    var TotWidth = aRect[2] - aRect[0];  "&vbLF _
      & "    var fd = this.addField(""xftDate"", ""text"", p, [30,15, TotWidth-30-30,30]);   "&vbLF _
      & "    fd.value =  util.printd(AcDateFormat, AcDate) + ""   ("" + FileNM +"")"";   "&vbLF _
      & "    fd.textSize=6;   "&vbLF _
      & "    fd.readonly = true;  "&vbLF _
      & "    fd.alignment=""left"";  "&vbLF _
    '    // kernel: batch processing of js-code
    for each xFile in oArgs
        if test = 1 then : OK = msgbox("Change file: " & xFile,1) : if OK = 2 then WScript.quit : end if
        If not fso.FileExists(xFile) Then : msgbox("File doesn't exist") : wscript.quit : end if
        If AVDoc.Open(xFile,"") Then
            set PDDoc = AVDoc.GetPDDoc
            AForm.Fields.ExecuteThisJavaScript Ex
            outFile = fileSaveDir &"\" &mid(xFile,InstrRev(xFile,"\")+1)
            if test = 1 then : OK = msgbox("Script executed"&vbCr&"SaveAs: "&outfile,1) : if OK = 2 then WScript.quit : end if
            If fso.FileExists(outFile) Then fso.DeleteFile(outfile)
            PDDoc.save 1, outFile
            App.CloseAllDocs
        else
            msgbox("Coudn't open file!") : wscript.quit
        end if
    next
    OK = msgbox("Batchjob finished!" &vbCr &"Close Acrobat?",1) : if OK = 1 then app.exit
    Set AVDoc = Nothing : Set PDDoc = Nothing
    Set APP = Nothing : Set AForm = Nothing

    thanks for all the replies, the documents are forms usage rights, the first javascript is running fine and dandy doing exactly what i want, all i need is something to run that javascript on multiple pdf at once.
    since this is for audit purposes i really could use this otherwise i would have to manually write over 400 document filename/numbers on eveyr piece of paper..
    =X

Maybe you are looking for

  • FILE Adapter (Key field)

    Hi, FILE-XI-FILE  scenario Msg Structure is like this <b>DT_HEADER</b>     - >COMPANY     - >LOCATION <b>DT_CONTENT</b>        ->FIRSTNAME     ->LASTNAME     ->DESIGNATION     ->LOGIN     ->LOGOUT     ->TIME I have given <i>company and Firstname</i>

  • How to display a binary file

    Hello, I am working on creating program that lets me display data I've collected and stored in a binary file. Here is the code (+pic of the program) for collecting and storing the data. Data will be recorded on multiple channels (possibly 4 channels)

  • CS5.5 Handles Previews Better?

    Is there any difference how CS5.0 and 5.5 handle render previews?  Is there any improvement?

  • HT201210 error code (6)

    trying to update my iphone when it close to the end to finish it error occured : error code(6)

  • Can you copy cahche files?

    Ok... I am basing this question on my experience with PCs... My question is specifically about QuickTime movies played in your browser like a Hi Def trailer and then wanting to save it. QT requires you to purchase the pro version... but on the PC you