Efficient way to export around 60K records

Hi Gurus,
I want to export around 60K records from Forms to Excel.
Can someone please send me code for the same.
The code i have written uses DDE and takes forever, it takes around 30 minutes minimum.
I am pasting my code for reference.
Please let me know if there is a way to improve the performance.
Thanks in advance,
Samir .
PROCEDURE SCA_EXPORT_TO_EXCEL_PROC IS
/*Code Added for Export the data to Excel*/
application OLE2.OBJ_TYPE;
workbooks OLE2.OBJ_TYPE;
workbook OLE2.OBJ_TYPE;
worksheets OLE2.OBJ_TYPE;
worksheet OLE2.OBJ_TYPE;
cell OLE2.OBJ_TYPE;
args OLE2.LIST_TYPE;
     cur_count NUMBER(5) := 0;
     --cur                                          VARCHAR2(100) ;
BEGIN
application := OLE2.CREATE_OBJ('Excel.Application');
workbooks := OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
workbook := OLE2.GET_OBJ_PROPERTY(workbooks, 'Add');
worksheets := OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
worksheet := OLE2.GET_OBJ_PROPERTY(worksheets, 'Add');
                         args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,1);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value','Project Number');
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,2);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value','Award Number');
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,3);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value','Capital Project Id');
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,4);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value','Occurrence');
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,5);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value','Created By');
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,6);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value','Creation Date');
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,7);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value','Updated By');
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,8);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value','Updated Date');
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
          Go_Block('B_CAPITAL_PROJECT_ID');
     Last_Record;
                    cur_count := TO_NUMBER(:system.cursor_record);
                    First_Record;
     FOR ctr IN 2..cur_count+1 LOOP
     args := OLE2.CREATE_ARGLIST;
     OLE2.ADD_ARG(args,ctr);
     OLE2.ADD_ARG(args,1);
     cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell,'Value',''''||:B_CAPITAL_PROJECT_ID.PROJECT_NUM);
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
                         OLE2.ADD_ARG(args,ctr);
                         OLE2.ADD_ARG(args,2);
                         cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                         OLE2.SET_PROPERTY(cell, 'Value',:B_CAPITAL_PROJECT_ID.AWARD_NUMBER);
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
                         OLE2.ADD_ARG(args,ctr);
                         OLE2.ADD_ARG(args,3);
                         cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                         OLE2.DESTROY_ARGLIST(args);
                    OLE2.SET_PROPERTY(cell, 'Value',:B_CAPITAL_PROJECT_ID.capital_project_id);
                              --Releasing Object handle Cell.
                         OLE2.RELEASE_OBJ(cell);
                         args := OLE2.CREATE_ARGLIST;
                         OLE2.ADD_ARG(args,ctr);
                         OLE2.ADD_ARG(args,4);
                         --cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
               cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);     
                                        OLE2.DESTROY_ARGLIST(args);
               OLE2.SET_PROPERTY(cell, 'value',''''||:B_CAPITAL_PROJECT_ID.occurrence);
                    OLE2.RELEASE_OBJ(cell);
               --     OLE2.ADD_ARG(args, TO_NUMBER(:B_CAPITAL_PROJECT_ID.occurrence));
                              --Releasing Object handle Cell.
                              args := OLE2.CREATE_ARGLIST;
                              OLE2.ADD_ARG(args,ctr);
                              OLE2.ADD_ARG(args,5);
                              cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                              OLE2.DESTROY_ARGLIST(args);
                              OLE2.SET_PROPERTY(cell, 'Value',''''||:B_CAPITAL_PROJECT_ID.created_by);
                                   --Releasing Object handle Cell.
                              OLE2.RELEASE_OBJ(cell);
                              args := OLE2.CREATE_ARGLIST;
                              OLE2.ADD_ARG(args,ctr);
                              OLE2.ADD_ARG(args,6);
                              cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                              OLE2.DESTROY_ARGLIST(args);
                              OLE2.SET_PROPERTY(cell, 'Value',:B_CAPITAL_PROJECT_ID.creation_date);
                                   --Releasing Object handle Cell.
                              OLE2.RELEASE_OBJ(cell);
                              args := OLE2.CREATE_ARGLIST;
                              OLE2.ADD_ARG(args,ctr);
                              OLE2.ADD_ARG(args,7);
                              cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                              OLE2.DESTROY_ARGLIST(args);
                              OLE2.SET_PROPERTY(cell, 'Value',''''||:B_CAPITAL_PROJECT_ID.last_updated_by);
                                   --Releasing Object handle Cell.
                              OLE2.RELEASE_OBJ(cell);
                              args := OLE2.CREATE_ARGLIST;
                              OLE2.ADD_ARG(args,ctr);
                              OLE2.ADD_ARG(args,8);
                              cell := OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
                              OLE2.DESTROY_ARGLIST(args);
                              OLE2.SET_PROPERTY(cell, 'Value',:B_CAPITAL_PROJECT_ID.last_update_date);
                                   --Releasing Object handle Cell.
                              OLE2.RELEASE_OBJ(cell);
                         next_record;
     END Loop;
--c:=c+1;
                         args := OLE2.CREATE_ARGLIST;
                              OLE2.INVOKE(application,'FileSaveAs');
                              OLE2.INVOKE(application,'FileClose');
                              OLE2.DESTROY_ARGLIST(args);
                         OLE2.INVOKE(application, 'Quit');
                         OLE2.RELEASE_OBJ(worksheet);
                         OLE2.RELEASE_OBJ(worksheets);
                              OLE2.RELEASE_OBJ(workbook);
                         OLE2.RELEASE_OBJ(workbooks);
                         OLE2.RELEASE_OBJ(application);
END SCA_EXPORT_TO_EXCEL_PROC;

Do you mean Tools > Forms > More Form Options > Manage Form Data > Export Data? Because that's the only place that I found "Export Data" not under "Forms" by itself.
But yeah, I've tried that, which gave me the three options of text file, XML file or FDF file. All of which have the issues I've mentioned in the first post. So I was hoping someone would let me know if there was a different way to do it, whether it be Javascripting, some options in the settings that might have to do with formatting of export data, or maybe a third-party tool that I'm unaware of.
It just seems the way I'm doing it now it too convoluted, I don't get why it doesn't let you just export in a "field:user-input" format.

Similar Messages

  • Is there a way to export what you record as sheet music?

    Maybe this is something simple I just haven't figured out yet. I recently recorded a melody in GarageBand. I'm wondering, is there any way to view the notes of what I recorded in the form sheet music? I would like to have the song translated into sheet music, so I can't print it out on a single page PDF or Word Document.

    HangTime wrote:
    mononoaware wrote:
    I recently recorded a melody in GarageBand.
    audio or MIDI?
    MIDI. I can see the notes written out when I go into that particular view mode, though I can only view the string of notes and measures extended horizontally in a non-page format. I'd like to be able to print it out or export it as sheet music if possible.
    Thanks!

  • Magazine 36 pages, exporting around guides help.

    So I designed a magazine in PS. And it's like a 3.5gb file (65"x88"ish). Typically I have taken all the folders (1 page per folder) into another document 8.5x11 and then centered each folder to the canvas, and then exported each one individually. It just takes WAY too much time doing that - I really like seeing the whole magazine as I design it. I need to export JPG 12, so when I compress I get decent quality through AcrbatPro9. It would be awesome if there was a way of exporting around the guides that I have set up.
    Thanks for the help.

    InDesign is the right tool for the job.

  • I have huge lag with Safari's Reading List using a rMBP. I have probably 80 articles saved, which is likely the cause of the lag. Is there any way to export that list of articles so as to be able to delete them from Reading List but still have a record?

    I have huge lag with Safari's Reading List using a rMBP. I have probably 80 articles saved, which is likely the cause of the lag. Is there any way to export that list of articles so as to be able to delete them from Reading List but still have a record of the articles I intend to read?

    I'm currently dealing with this issue myself, except that my rMBP has NO articles in the reading list.  It's a brand new rMBP too, purchased just this week, with the 2.6 Ghz Processor & 16GB of RAM.
    Let's see what we can find.  I may just take it back to the Apple Store.

  • Efficient Way of Inserting records into multiple tables

    Hello everyone,
    Im creating an employee application using struts framework. One of the functions of the application is to create new employees. This will involve using one web form. Upon submitting this form, a record will be inserted into two separate tables. Im using a JavaBean (Not given here) between the JSP page and the Java file (Which is partly given below). Now this Java file does work (i.e. it does insert a record into two seperate tables).
    My question is, is there a more efficient way of doing the insert into multiple tables (in terms of performance) rather than the way I've done it as shown below? Please note, I am using database pooling and MySQL db. I thought about Batch processing but was having problems writing the code for it below.
    Any help would be appreciated.
    Assad
    package com.erp.ems.db;
    import com.erp.ems.entity.Employee;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Collection;
    import java.util.ArrayList;
    public class EmployeeDAO {
         private Connection con;
         public EmployeeDAO(Connection con) {
              this.con = con;
         // METHOD FOR CREATING (INSERTING) A NEW EMPLOYEE
         public void create(Employee employee) throws CreateException {
              PreparedStatement psemployee = null;
              PreparedStatement psscheduleresource = null;
              String sqlemployee = "INSERT INTO employee (FIRSTNAME,SURNAME,GENDER) VALUES (?,?,?)";
              String sqlscheduleresource = "INSERT INTO scheduleresource (ITBCRATE,SKILLS) VALUES (?,?)";
              try {
                   if (con.isClosed()) {
                        throw new IllegalStateException("error.unexpected");
                            // Insert into employee table
                   psemployee = con.prepareStatement(sqlemployee);
                   psemployee.setString(1,employee.getFirstName());
                   psemployee.setString(2,employee.getSurname());
                   psemployee.setString(3,employee.getGender());
                            // Insert into scheduleresource table
                   psscheduleresource = con.prepareStatement(sqlscheduleresource);
                   psscheduleresource.setDouble(1,employee.getItbcRate());
                   psscheduleresource.setString(2,employee.getSkills());
                   if (psemployee.executeUpdate() != 1 && psscheduleresource.executeUpdate() != 1) {
                        throw new CreateException("error.create.employee");
              } catch (SQLException e) {
                   e.printStackTrace();
                   throw new RuntimeException("error.unexpected");
              } finally {
                   try {
                        if (psemployee != null && psscheduleresource != null)
                             psemployee.close();
                             psscheduleresource.close();
                   } catch (SQLException e) {
                        e.printStackTrace();
                        throw new RuntimeException("error.unexpected");
         }

    Hi ,
    U can use
    set Auto Commit function here ..
    let it be false first
    and when u do with u r all queries ..
    make it true
    this function take boolean values
    i e helful when u want record to be inserted in all or not at all..
    Hope it helps

  • Most efficient way to delete "removed" photos from hard disk?

    Hello everyone! Glad to have this great community to come to for help. I searched for this question but came up with no hits. If it's already been discussed, I apologize and would love to be directed to the link.
    My wife and I have been using LR for a long time. We're currently on version 4. Unfortunately, she's not as tech-savvy or meticulous as I am, and she has been unknowingly "Removing" photos from the LR catalogues when she really meant to delete them from the hard disk. That means we have hundreds of unwanted raw photo files floating around in our computer and no way to pick them out from the ones we want! As a very organized and space-conscious person, I can't stand the thought. So my question is, what is the most efficient way to permanently delete these unwanted photos from the hard disk
    I did fine one suggestion that said to synchronize the parent folder with their respective catalogues, select all the photos in "Previous Import," and delete those, since they will be all of the photos that were previously removed from the catalogue.
    This is a great suggestion, but it probably wouldn't work for all of my catalogues since my file structure is organized by date (the default setting for LR). So, two catalogues will share the same "parent folder" in the sense that they both have photos from May 2013, but if I synchronize May 2013 with one, then it will get all the duds PLUS the photos that belong in the other catalogue.
    Does anyone have any suggestions? I know there's probably not an easy fix, and I'm willing to put in some time. I just want to know if there is a solution and make sure I'm working as efficiently as possible.
    Thank you!
    Kenneth

    I have to agree with the comment about multiple catalogs referring to images that are mixed in together... and the added difficulty that may have brought here.
    My suggestions (assuming you are prepared to combine the current catalogs into one)
    in each catalog, put a distinctive keyword onto all the images so that you can later discriminate these images as to which particular catalog they were formerly in (just in case this is useful information later)
    as John suggests, use File / "Import from Catalog" to bring all LR images together into one catalog.
    then in order to separate out the image files that ARE imported to LR, from those which either never were / have been removed, I would duplicate just the imported ones, to an entirely separate and dedicated disk location. This may require the temporary use of an external drive, with enough space for everything.
    to do this, highlight all the images in the whole catalog, then use File / "Export as Catalog" selecting the option "include negatives". Provide a filename and location for the catalog inside your chosen new saving location. All the image files that are imported to the catalog will be selectively copied into this same location alongside the new catalog. The same relative arrangement of subfolders will be created there, for them all to live inside, as is seen currently. But image files that do not feature in LR currently, will be left behind by this operation.
    your new catalog is now functional, referring to the copied image files. Making sure you have a full backup first, you can start deleting image files from the original location, that you believe to be unwanted. You can do this safe in the knowledge that anything LR is actively relying on, has already been duplicated elsewhere. So you can be quite aggressive at this, only watching out for image files that are required for other purposes (than as master data for Lightroom) - e.g., the exported JPG files you may have made.
    IMO it is a good idea to practice a full separation of image files used in your LR image library, from all other image files. This separation means you know where it is safe to manage images freely using the OS, vs where (what I think of as the LR-managed storage area) you need to bear LR's requirements constantly in mind. Better for discrete backup, too.
    In due course, as required, the copied image files plus catalog can be moved bodily to another drive (for example, if they have been temporarily put on an external drive, and you want to store them on your main internal one again). This then just requires a single re-browsing of their parent folder's location, in order to correct LR's records inside this catalog, as to the image files' changed addresses.
    If you don't want to combine the catalogs into one, a similar set of operations as above, can be carried out for each separate catalog you have now. This will create a separate folder structure in each case, containing just those duplicated image files. Once this has been done for all catalogs, you can start to clean up the present image files location. IMO this is very much the laborious and inflexible option, so far as future management of the total body of images is concerned... though there may still be some overriding reason for working that way.
    RP

  • Any way to export to specified file size?

    Is there any way to export images so they are sized to fit within certain dimensions AND a specified file size? Similar to 'image processor' in Bridge/CS3 or the older Doc Brown's image processor.
    Example: (processing images for web use)
    I want to export a batch of RAW files to jpg,
    Size them to fit within 800px x 800px,
    And have them be a consistent file size of around 100kb
    (This has been possible to do in Adobe Bridge for years)
    I know I can edit Aperture's export preferences and adjust the image quality slider but final images have a range of file sizes and I find myself having to re-export some images over again after adjusting image quality to reach the desired size. This is a trial and error process each time.
    Another workaround is to export the images as .tif files, then open in Adobe Bridge and process into jpg's using 'image processor' to reach the desired size. But that effectively negates the use of Aperture in the first place for batch processing files for size. In this case, it'd be more efficient to take Aperture out of my workflow completely and do everything in Adobe Bridge.
    Has anyone found a plug-in or less tedious workaround for this?
    Cheers,
    J

    James, you said "my website provider places an upper limit on file size and dimensions per image."
    Aperture does take care of half of that, the pixel dimensions. If it was me, I would test out a few images at various levels of jpg quality (5, 6, 7 etc.) and see where both the file size ends up and how the quality looks. Then, just go with one your favorite combinations. Images with more detail will be larger and images with less will be smaller. In the long run, it should even out. If you had the ability to request a certain size, some of your images may look good and others bad. Personally, I would be more concerned with quality than a few k of pixels.

  • Any way to export with multiple presets at once?

    Hi! Is there any way to export with multiple presets at once? I do a lot of product photography, usually clients send me around 5 to 10 pieces to photograph, and from each photo requires to be exported to about 7 different formats and sizes for different uses. I have a preset for each export, but this requires multiple clicks per export, select the preset, the destination folder, etc.....   and at the end I end taking about 1 hour to just export files when if I could just select 1 time a folder of presets and the destination folder just once, then it will take no time to get all oft those exports.
    Thanks!

    Some of those other photographers have assistants they can task with doing the drudgery.
    I would describe what you're wanting scripted multiple exporting, not multiple export presets, because multiple-exports don't necessarily rely on presets, just initiating an Export and clicking on various things for each one.
    I assume you have a preset set for each of the 7 format-size-uses variations, and then most of the time consuming part is setting the Choosing the destination folder that gets mirrored to DropBox?  You can copy/paste most of the path into the Folder address area after clicking Choose.
    Without knowing what your master-photo folders and dropbox-mirror folder names and organization are it's hard to know if you've thought of all the shortcuts you might use or if things are organized in the most efficient manner.
    If you're on Windows, maybe something like AutoHotKey macros would help with what you're doing.

  • Efficient way of saving documents uploaded by users

    Hello Experts,
    We are looking out for an efficient way of storing of documents uploaded by the users. Below is the explanation of our scenario in detail.
    We are working on the SAP E-Recruiting module and have designed custom Interactive Adobe Forms & Web Dynpro Components for the client. An end user (initiating manager) would fill in the form & upload file(s) in support of his statement & click on the "submit" button. As of now we are achieving the upload functionality through WDA's FileUpload ui element & dumping the file contents into a field of type RAWSTRING.
    We now want to change our approach of using the RAW_STRING field & go for a more efficient one. I have been googling around and read a bit about approaches like:
    Class CL_BDS_DOCUMENT_SET
    Class CL_FITV_GOS
    Function Module BDS_BUSINESSDOCUMENT_CREATEF
    But all these 3 approaches seem to be targetted towards some particular business object. They expect some sort of class name or the other to be passed on to them as input. However ours is a complete custom requirement wherein the entire forms data is going into a Z-table so none of these approaches would hold good. (Please correct me if I am wrong when I say that coz I haven't personally worked on any of them till date!) Awaiting your expert opinions on this matter.
    Regards,
    Uday
    Any ideas please?
    Edited by: Uday Gubbala on Mar 4, 2010 10:56 AM

    See if this sample code helps....we hav DMS ( Document management System )
    MOVE: 'DRW' TO DOCUMENTDATA-DOCUMENTTYPE,
            'C:\Users\sci30\Desktop\test.doc' TO
             DOCUMENTDATA-DOCFILE1,
            'TEST DESCRIPTION' TO  DOCUMENTDATA-DESCRIPTION.
    *          move 'WR' to documentdata-STATUSINTERN.
      MOVE 'WRD' TO DOCUMENTDATA-WSAPPLICATION2.
      CLEAR : WA_OBJ_LINK.
      MOVE 'MARA' TO WA_OBJ_LINK-OBJECTTYPE.
      MOVE HEADDATA-MATERIAL TO WA_OBJ_LINK-OBJECTKEY.
      APPEND WA_OBJ_LINK TO GT_OBJ_LINK.
      CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
        EXPORTING
          DOCUMENTDATA               = DOCUMENTDATA
    *         HOSTNAME                   =
    *         DOCBOMCHANGENUMBER         =
    *         DOCBOMVALIDFROM            =
    *         DOCBOMREVISIONLEVEL        =
    *         CAD_MODE                   = ' '
    *         PF_FTP_DEST                = ' '
    *         PF_HTTP_DEST               = ' '
    *         DEFAULTCLASS               = 'X'
        IMPORTING
    *         DOCUMENTTYPE               =
    *         DOCUMENTNUMBER             =
    *         DOCUMENTPART               =
    *         DOCUMENTVERSION            =
         RETURN                     =    RETURN_DOCUBAPI
       TABLES
    *         CHARACTERISTICVALUES       =
    *         CLASSALLOCATIONS           =
    *         DOCUMENTDESCRIPTIONS       =
          OBJECTLINKS                = GT_OBJ_LINK
    *         DOCUMENTSTRUCTURE          =
    *         DOCUMENTFILES              =
    *         LONGTEXTS                  =
    *         COMPONENTS                 =
      COMMIT WORK.

  • Is there a way to export videos and retain geotag/time changes?

    I'm in the process of exporting all my photos & videos from one Mac to another (I want to avoid migrating everything with the migration assistant...) through an external hard drive, which will also serve as my central photo/video location - this way I can lend it to my friends so they can import events to their Macs.
    Anyway, I've made substantial changes to my photos and videos throughout the years, mostly around location geotagging and adjusting time and date info.
    When exporting my events, I'm choosing the following settings:
    Kind:              JPEG
    JPEG Quality: High
    Include:         Title and keywords (check)
                           Location information (check)
    Size:               Full Size
    File Name:     Use Filename
    This has worked great for all my photos, as they retain all the date/time and geotag changes I've made.
    However, this doesn't work for videos... a small file of a few hundred KB gets created for each video, but it's basically just an image of the first frame.
    The only way to export my videos in full has been to change the "Kind" option above to "Original".
    This works fine to create a file for each video in full, however none of the geotag or time/date changes are retained.
    It looks like iPhoto is simply dumping a copy of the original video files without updating the timestamp or geotag info.
    Is there a known way to do this with iPhoto? If not, how about other software?
    Thanks!
    -Marc

    I see, thanks for the clarification.
    Well that's my current problem actually, as I have a bunch of photos in my library that were imported at times when I did NOT have the "copy to library when importing" setting checked.
    The original files (the full-size photos themselves) are all over the place, and some are on my external hard drive. So in order to consolidate everything, I'd like to export ALL the photos from my library to just *one* location.
    Trouble is, I won't have enough space on the new MacBook to import everything into the internal SSD...
    I noticed when playing around with various export settings that the size of the exported photos vary dramatically based on the "quality" setting, even if the "size" setting is always "full size".
    It's even creating files that are larger than the originals if I select the "Maximum" quality setting! But if I select the next lower one, which is "High", the files end up being smaller than the originals by about 25-30%.
    Do you know if there's a significant loss i quality when I pick "High" instead of "Maxiumum? (FYI the original files are all JPEG images, taken with various cameras from 2G iPhone and several point-and-shoots, to high-end digital SLR with glass lenses).

  • Is there a way to export the coord data of AE objects in 3D space? (for programmers)

    Hey guys, we're making a video that will mostly be a fixed camera view but have objects animate around this view. The priority is the audio; the objects that animate will sound like they are flying around the camera's point of view (the user when they're using headphone). Since I will be animating the objects inside After Effects and already be assigning them X,Y, & Z coordinates during the animation, is there any way to take the data of the objects location through time to give to the programmers so they can assign the audio/attributes to the objects moving around in the scene? Sort of like how if I made a null object in AE, I can have it be the parent to another layer(s), I need to find a way to make this same concept work but for audio and other assigned attributes. It seems it would save us a lot of time if this is possible instead of figuring out where the sound is coming from later on by scratch and guessing. If there are other programs that can do this please let me know, I do use Maya and other 3D apps. Thanks!
    ~ Dave

    There is this reference:
    http://help.adobe.com/en_US/AfterEffects/9.0/WS3878526689cb91655866c1103906c6dea-7a38a.htm l
    Perhaps there is a way to export the javascript as a text file or some format useful to your programmers.
    Can you give more details as to your end result and starting point?  You mentioned you use other 3D programs.  Maya used to have in Maya 4.0 a way to dynamically animate according to audio.  Other 3D programs still offer this functionality through their scripting and/or interface.
    Flash Pro has 3D layers and if your animations are short enough you might be able to do the project in Flash and access the SoundChannel aspects of ActionScript 3.0 .  AE uses a version of Javascript.  There might be a way in the AE Scripting reference to read objects within the file and a method in the scripting to export these objects.  I'm only guessing since I don't know how to script in AE but I see no one has replied to this thread and I was curious myself.

  • Is there any way to get around having to use iDVD to burn DVD?

    Is there any way to get around having to use iDVD to export FCE to DVD?
    I've been trying to burn a FCE2 sequence to DVD. A friend of mine told me all I had to do was put a blank DVD in, click on the icon on the desk top, export the sequence to Quicktime and drag the QT sequennce into the DVD icon and click burn.
    Well something happened! But there's nothing on the DVD!! What am I doing wrong? I loathe iDVD. i don't want to author. I just want to burn the project on a DVD. Please advise. Thanks.
    Chuck
    iMAC 1.25 GHz PowerPC G4 Mac OS X (10.3.1)
    iMAC 1.25 GHz PowerPC G4   Mac OS X (10.3.1)  

    If you export a sequence at full resolution to can burn it onto a DVD as a data DVD, but this is for transportation purposes only. At full resolution the DVD, especially as it fills up, will not have sufficient throughput to sustain good playback of the material. That's why the material is encoded into MPEG-2 for DVD authoring. If you want to make a DVD for set-top playback it has to be authored to include the DVD format structure. There is no way around that. If you don't like iDVD, take a look at Final Cut Studio, you might prefer DVD Studio Pro. Or you might what to look at Roxio's Toast. It has basic authoring capabilities. Personally I don't think direct playback hardware solutions (except for seriously expensive ones) produce acceptable quality, but that's just me.

  • Most efficient way to place images

    I am composing a Catalog with a lot of images along with the text.  The source images are often not square (perfectly vertical, portrait).  I also want to add a thin line frame around each one in InDesign to spurce up the look.  I'm spending a lot of time in Photoshop straightening images, because rotating in Indesign to get the image straight results in a non-straight frame.
    Should I create a small library of frames that I place, then place non-straight images in them (and how do I do that) and rotate in InDesign?  Etc?
    What would be the most efficient way to do this?
    Thanks

    To tag onto what Peter said, when you click on the image with the Direct Selection tool you can also use the up and down arrow in the rotation Dialog (where you enter the angle, at the top) to easily change the rotation.
    Also, when you place images in InDesign you can select a number of images at once and continually click the document (or image frame) and place all the images you selected to import. To clarify, you can have a whole bunch of empty image frames on the page then go to file > place and select all your images, then continually click and place them inside each empty frame.

  • Most efficient way to apply Paragraph Style A to Paragraph style B?

    I'm looking for the most efficient way to all
    all aspects of an existing named paragraph style "A" to another named paragraph style "B". I'd especially like to find a keyboard-only way to do this.
    To my surprise,
    Copy Special >
    Paste doesn't seem to copy tab settings...(?) This leads me to suppose that other aspects of the source p'style may not be crossing the Great Paste Divide.
    Over the years I've used a variety of more or less clumsy multi-step, multi-tool "tricks" (including third-party plug-ins) to apply one named paragraph style to another, but knowing FrameMaker as I do I suspect there may be a truly efficient way to do what I want.
    Is there?
    Cheers & thanks,
    Riley

    Arnis:
    8.0p277.
    The Font family and style got Pasted -- that was immediately apparent. And based on all I know about F'Maker, I would've thought the tabs would go over.
    But when I opened the target p'style the Tabs area was completely blank.
    I'm not sure if anything else wasn't making it 'cross the Paste Divide: Once the Tabs weren't Pasted, I fell back to a different, brute-force strategy simply to get around the problem and return to work...
    Moreover, since the structured templates I inherited for this project are full of idiosyncrasies, I'll just file this one away under "The Templates Did It" and hope for better luck the next time I try the Copy Special thing...
    Cheers & thanks for your help,
    Riley

  • Most efficient way to make an ordered list?

    Hi all,
    I have a simulation where I have agents running around in an environment. These agents need to get the closest agent near them, and they have to do this a whole bunch of times each cycle -- closest predator to them, closest prey, closest mate, next-closest mate if that one isn't interested, etc. etc.
    I realized that it would be faster if I just got all the agents in the vicinity ONCE, kept them in a sorted list, and then everytime you want the closest agent of a certain type, just search from the bottom of the list up until you find the first one of that type.
    So here's the question: to make that list, I ask the environment for all the agents in the vicinity, and then go through them one-by-one. I find out the distance between myself and that agent. I then.... what?
    I could put them all into an ArrayList, and then apply some sorting algorithm to that ArrayList. Or I can try to insert them in the right order WHILE I'm making the ArrayList. Or maybe there's some better Collection object that would be even more efficient -- somehow pushing them in and out of stacks, or whatever else smart programmers think up.
    Can anyone suggest the most efficient way to do this? This is something that every agent has to do every step, so efficiency is key.
    Thanks!
    Edit: As a note, calculating the distance between two agents isn't free, and if I either sort or insert as I'm making it, the naive implementation (i.e. the way I would do it...) would require re-checking this distance for every agent in the list every single time a new agent was added. So maybe I could make some use of a HashMap, so that I can store these distances?
    Edited by: TimQuinn on Oct 15, 2009 9:35 AM

    TimQuinn wrote:
    Ok, thanks for all the great suggestions. I think that caching the distance in a wrapper object is a big plus, and then I can run some tests and see if using a built-in collections sorting algorithm or using a treeset is faster in my specific case. Thanks!
    Any thoughts as to the idea of creating one giant map of the distance from each agent to every other agent just once, rather than having each agent work out their own distances to each other agent? I feel like this would be faster (at the expense of memory), but don't know how I'd start approaching it.Well, your idea of the Map would probably work. You would have to make some object that pairs up two agents, something like this:
    public class AgentPair {
       private final Agent a1, a2;
       public AgentPair(Agent a1, Agent a2) { //...
       public boolean equals(Object other) {
          //if distance is a symmetric operation (a.distanceTo(b) == b.distanceTo(a)) then the reverse pair should also be equal
       public int hashCode() {
          return 37*a1.hashCode() + a2.hashCode();
    }This assumes either that you don't override equals or hashCode in Agent, or that you properly override both.
    Then you would have a map that you can populate, given an array of all agents:
    Map<AgentPair, Double> distMap;
    Agent[] agents;
    for ( int i = 0; i < agents.length-1; i++ ) {
       for ( int j = i; j < agents.length; j++ ) {
          distMap.put(new AgentPair(agents, agents[j]), agents[i].distanceTo(agents[j]));
    }Alternatively, if you're not sure you'll definitely use all of the computations, you could alternatively test to see if the computation result is in the map, and if not, perform it; otherwise, use the cached result.
    Any thoughts? Should I make a new post? Abandon the idea?As always, try it and see.  Essentially, it will be faster assuming these two conditions:
    1) You would have to do more than n ^2^ (well actually n choose 2) distance calculations otherwise, and
    2) Computing the distance costs more than retrieving from distMap (this +isn't+ a given!).  If each Agent had a sequential ID, you could do a two-dimensional array of doubles which would speed up lookups.
    Edited by: endasil on 15-Oct-2009 3:39 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Report for customers

    Hi gurus, we have categorised our customers as x, y and z in customer classification. We have some customers who fall under x category and y category and z category, no we want a report which shows their order values and invoiced values for a period

  • Memo doesn't display the "add" button on i Phone4 running iOs5th

    My Memo app called "Promemoria" in Italia, vannot display the "add" button, so .... I cannot add memo. Instead of that button there i the "Today" one. What's the problem? How can I solve it?

  • How to send array of bytes to a servlet and store it in a file

    Hi, How to send array of bytes to a servlet and store it in a file. I am new to Servlets. if possible for any one, please provide the code. Thanks, cmbl

  • Personal domain hosted at MobileMe - but not showing up.

    You guys have already helped me out so much on this forum, so thank you. Here's the problem. Several days ago, I transferred my domain to MobileMe and changed the CNAME info at Network Solutions (my domain registrar). But for some reason, when I visi

  • What the heck, can't hurt to ask

    Apparently it is okay that Flex 3.0 beta has a huge gap when using the 'disableddays' mxml function to eliminate the charting of blank days like weekends in a chart. So for every chart there is about 30% emptyspace when your horizontal axis are dates