Automatically create file name based on information in image

Hi,
I have a requirement to scan 100 documents into a single tiff file. I need a software that can split the images (inside the big tiff file) into individual tiff files afterward. I need to extract a number appearing in each of these tiff image to become the filename of each individual tiff file after splitted. Finally, I have a process to upload and attach these files to the corresponding table rows in Oracle.
Does anyone know any software that can accomplish this?
Thanks.
Andy

Use the file dialog box function to get the file name/path.
To save the file , use appropriate write function ( as per file type that is being saved..text file,datalog , binary ..)

Similar Messages

  • How can I auto export a PDF File using the "Smallest File Size" preset and set the Exported File Name based on information from an Imported PDF?

    Greetings all,
    I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it helpful in putting this code together.
    We have an inDesign template file and then use the Multi-page PDF importer script to import PDF files. We then have to export two version of each file that we import, then delete the imported file and all of the pages to reset the template. This has to be done for nearly 1000 pdf files each month and is quite tedious. I’m working on automating the process as much as possible. I’ve managed to piece together code that will cleanup the file much quicker and am now trying to automate the PDF exports themselves.
    The files are sent to us as “TRUGLY#####_Client” and need to be exported as “POP#####_Client_Date-Range_North/South.pdf”
    For example, TRUGLY12345_Client needs to be exported as POP12345_Client_Mar01-Mar31_North and POP12345_Client_Mar01-Mar31_South.
    There are two templates built into the template file for the north and south file that are toggled easily via layer visibility switches. I need to get a code that can ideally read the #s from the imported Trugly file as well as the Client and input those into variables to use when exporting. The date range is found in the same place in the top right of each pdf file. I am not sure if this can be read somehow or if it will have to be input manually. I can put North or South into the file name based on which template layer is visible.
    I am not sure how to go about doing this. I did find the following code for exporting to PDF with preset but it requires me to select a preset and then type the full file name. How can I set it to automatically use the “Smallest File Size” preset without prompting me to choose and then automatically input some or preferably all of the file name automatically? (If the entire filename is possible then I don’t even want a prompt to appear so it will be fully automated!)
    PDF Export Code (Originally from here: Simple PDF Export with Preset selection | IndiSnip [InDesign® Snippets]):
    var myPresets = app.pdfExportPresets.everyItem().name;
    myPresets.unshift("- Select Preset -");
    var myWin = new Window('dialog', 'PDF Export Presets');
    myWin.orientation = 'row';
    with(myWin){
        myWin.sText = add('statictext', undefined, 'Select PDF Export preset:');
        myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});
        myWin.myPDFExport.selection = 0;
        myWin.btnOK = add('button', undefined, 'OK');
    myWin.center();
    var myWindow = myWin.show();
    if(myWindow == true && myWin.myPDFExport.selection.index != 0){
        var myPreset = app.pdfExportPresets.item(String(myWin.myPDFExport.selection));
        myFile = File(File.saveDialog("Save file with preset: " + myPreset.name,"PDF files: *.pdf"));
        if(myFile != null){
            app.activeDocument.exportFile(ExportFormat.PDF_TYPE, myFile, false, myPreset);
        }else{
            alert("No File selected");
    }else{
        alert("No PDF Preset selected");
    So far my code does the following:
    1) Runs the Multi-Page PDF Import Script
    2) Runs PDF Export Script Above
    3) Toggles the Template
    4) Runs #2 Again
    5) Deletes the imported PDF and all pages and toggles template again.
    It’s close and much better than the original process which was almost 100% manual but I’d like to remove the Preset prompt from the PDF script and have it automatically select the “Smallest File Size” preset. and then if there’s a way to have it auto-fill in the file name so no user input is required at all other than selecting each file to import. (If there’s a way to setup a batch action for the multi-import script that would be even better!)
    Thanks in advance and if there’s anything else I can provide that would help please let me know! Even a nudge in the right direction will be a big help!

    If you hold down the option key, it will typically show the location. Or you can often hit option-return on the file and it will reveal the file in the Finder, instead of opening it.
    Final option is to open it, and just option-click the filename in the toolbar of Preview and it should show you the location.
    It's probably an attachment to an email you've received. If you have Mail set to cache emails and their attachments it'll be stashed in a subdirectory of ~/Library/Mail. Which is fine.

  • Is it possible to automatically create file names?

    If i do a set of measurements and i want to save each measurement in own file is it possible to automatically create filenames? For example XXX1.vi XXX2.vi ... XXXn.vi

    Is the n in XXXn a counter or a test number? See my attached example Create Report File from Serial Number. It creates a report file name starting with the serial number of the UUT and then appending a counter. You don't have to save the counter: the program looks for the next available filename on disk.
    Your question shows file names ending in .vi. You may not have intended it, but don't use .vi for data files: save that extension for real VIs. If each measurement has its own VI and you want to name the datafile based on the name of the calling VI, see my attached example Create Report File from Calling VI. It gets the name of the calling VI and creates a .txt file with the same name as the caller (with the new extension .txt).
    Attachments:
    Create_Report_File_from_Serial_Number.vi ‏58 KB
    Create_Report_File_from_Calling_VI.vi ‏46 KB

  • How to create folder names based on Excel values or Txt files?

    Hi there,
    I often need to create large numbers of folders based on names I have saved in an Excel spreadsheet. I know in windows there is a way to create a macro within excel that automatically generates folder names based on cell values.
    I was therefore wondering how to do the same on a Mac operating system. The main thing is to find a way to automate the process. I understand this may involve copying the values to a text file.
    Below is an example of the names I need to create folders for (copied from the excel spreadsheet):
    Wash Bowl Small 600
    Deck Mounted Wash Bowl 500
    Wash Basin - 866 - 2 Shelves
    Wash Bowl Large 800
    Built-In Wash Basin With 1-Taphole
    Deck Mounted Wash Bowl 625
    Would really appreciate a simple step by step approach to an explanation. As my understanding of using Automator, Apple Script, Terminal, etc, is extremely basic.
    Thanks and Best Wishes,
    Graham

    Hi Niel,
    Thanks again for another superb response. I have another question. Is it possible to automatically generate sub-folders along with the folder.
    For example:
    Folder                                                Subfolder
    Wash Bowl Small 600          >            2D CAD
                                                               3D CAD
                                                               BIM
                                                               Images
                                                               Brochures
                                                               Specifications
                                                               Technical
                                                               Case Studies
                                                               Operations
    Deck Mounted Wash Bowl 500    >   2D CAD
                                                              3D CAD
                                                              BIM
                                                              Images
                                                              Brochures
                                                              Specifications
                                                              Technical
                                                              Case Studies
                                                              Operations
    Above shows the 9 generic sub-folders I need to create within each folder that is generated.
    Best Wishes,
    Graham

  • My Mozilla Firefox Browser v15.0 open then some file loading and my desktop display automatically created folder name is old Firefox data then ask me chose two

    ''duplicate of https://support.mozilla.org/en-US/questions/936244 - locking this one''
    '''My Mozilla Firefox Browser v15.0 open then some file loading and my desktop display automatically created folder name is old Firefox data then ask me chose two option 1st is Safe Mode or 2nd is Restore so i chose Restore and then open Mozilla Firefox Browser page Blank Black display page,
    How can i do solve this error plz plz plz plz help me out what you say troubleshooting,error or issue.'''

    Did you perform a Firefox Reset either by clicking the button on the Help > Troubleshooting Information page or via the Safe mode start window?
    You may have gotten the Safe Mode start window as the result of not being able to start Firefox more than once after crashes.
    See:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes
    If you have submitted crash reports then please post the IDs of one or more crash reports that have this format:
    *bp-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
    *You can open the <b>about:crashes</b> page via the location bar, like you open a website.
    See:
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter
    *https://support.mozilla.org/kb/Mozilla+Crash+Reporter
    If you can't open Firefox then see:
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter#Location_of_crash_reports
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter#Viewing_crash_reports
    "Reset" creates a new default profile with a time stamp appended to identify it and tries to recover settings like bookmarks and history and passwords and cookies and auto-fill data from the old profile, but you lose data like extensions and other customizations.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Firefox 15+ versions will move the old profile folder to an "Old Firefox Data-##" folder on the Desktop that gets a number appended if you use reset more than once, so you can no longer use the profile manager to revert to the old profile.

  • File name based routing

    Hello All,
    Here I have a scenario where based on the source file name PI should route it to corresponding Business system.
    There is no IR part as it is a pass through Interface. Instead of creating multiple channels can I check the condition(file name based condition) at Receiver determination level in ID part?
    Thanks,
    Regards,
    Moorthy

    Hello,
    There is no IR part as it is a pass through Interface. Instead of creating multiple channels can I check the condition(file name based condition) at Receiver determination level in ID part?
    Yes, you can use context objects and then select fileName, I'm not sure if you'll be able to use the extended xpath conditions. Probably that approach is limited to the approximately equals, equals, not equals condition.
    Corrections are welcome
    Hope this helps,
    Mark

  • "unable to create *file name*" error

    I imported videos from ipod touch to iphoto. Then i try to export the videos on either desktop or external hard-drive and it gives me the "unable to create *file name*" error in both cases. To export videos i go FIle-Export, choose kind "original". Tried to do it with several different albums, and it doesn't work on any of them. Didn't have an issue for exporting pictures though.
    Please help!
    Nina

    What exactly was selected when you did the test?
    Regards
    TD

  • Changing file names in the Information Pane

    Why doesn't changing the names of photographs in the Information Pane also change the name of the files in the iPhoto Library folder??
    If I import photos direct from my camera, the photos are stored with generic file names (like DSC_006) in the Original Folder and the Data folder in iPhoto Library folder. Once stored there, I understand that if you move, delete or "rename" any of those files "in the Finder" that iPhoto may not thereafter be able to see them.
    But I don't understand why if you change those file names in the Information Pane from within the iPhoto application, why the actual file names in the Original and Data folder aren't correspondingly changed.
    I would prefer to eliminate the generic file names and presently the only way that I can do that is to simply transfer the photos from the memory cards, change the file names and then import the files into iPhoto.
    This seems like an unnecessary step.
    Am I missing something here?

    If you want the capability of editing the original file names they you'll need to upgrade to a more professional application like iView MediaPro. Aperture doesn't let you change the original file names from within the application.
    If you need to the use file outside iPhoto with the same name as the Title in iPhoto then you can do just as PhillyPhan pointed out, export to the Desktop using the User Title option.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • REALLY long files names shortened by Bridge's Image Processor

    I have images from a PHPBB forum website that during creation of a post to the forum have been auto renamed by scripts and then inserted into the database. The images are huge in file size and have used up the webserver disk space meaning no more images can be uploaded!
    I decided to download all images and process them down to 800 pixel wide images using Bridge's image processor to reduce the file size. This worked OK for image size reduction, but it did change the name of the file to a shorter name which has broken the link to the images.
    The files names are huge! Here's an example:
    45_1c039812422e7d6b9d29589ffb7a44a545_1c039812422e7d6b9d29589ffb7a44a545_1c039812422e7d6b9 d29589ffb7a44a545_1c039812422e7d6b9d29589ffb7a44a545_1c039812422e7d6b9d29589ffb7a44a545_1c 039812422e7d6b9d29589ffb7a44a545_1c039812422e7d6b9d29589ffb7a44a545_1c0
    ...and yes, it doesn't have a file extension!
    How can I overcome this problem of shortening file names?
    Thanks

    "Use another image processor?"  Why? I've noticed this same thing lately as I use Bridge/CR do basic image adjustments on files renamed to even shorter character strings. Bridge just ignores everything after x number of characters. This is a solid bug in my book as it screws up any kind of workflow between Bridge and Photoshop and, well just about anything...

  • Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground frame st

    Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground frame still there. Is there a "apply change" or similiar command that I simply cannot see.

    brings the image back, straightened, but with the skewed back ground frame
    PSE did what you told it to do. Choose the Straighten and crop edges or fill edges options when you use the straighten tool if you want it to do more than just straighten the contents of the image. Many people prefer the plain straighten because they'd rather crop themselves than let PSE do it.

  • Create a file name based on message

    hi
       suppose the message consists of
    <header>
        ibm
    i want to have a file name created as ibm in recie ver side in file 2 file scenario.
    i.e whatever name i get under header i want to create the same as fle name.
    please suggest me.
    regards
    raghu.

    If youe message structure look like this:
    <MT_VENDORMASTER>
    <RECORD>
    <Header>ibm</Header>
    </RECORD>
    </MT_VENDORMASTER>
    Then you can use variable substition in the Receiver Communication channel as following
    variable name:
    filename            
    Reference: payload:MT_VENDORMASTER,1,RECORD,1,Header,1
    and use the follwoing parameter  in the file name: %filename%.txt
    Regards.
    Jeet.

  • File Based logging: Control file name based on calling service

    In the file logging, I need to change the "Prefix" and "Suffix" that I can type in, from page "FILE Transport Configuration" while creating
    business service with transfort: File. I need to be able to supply these values for the file name from proxy service activity.
    I am creating as logging proxy service which will be called from all the other proxy services. I am planning to use logging to File System based on
    BS for achieving this. I need to be able to create a new file with name that corresponds to the calling service. How can I achieve this?
    Also this service should be able to turn logging on or off based on the calling service. I should be able to turn off the logging completely or
    turn off the logging only for few services.
    What is the best way to achieve this?

    HI
    That means your file name would be decided at run time . so u can use adapter specific mesage attributes in ur communication channel
    please refer tto the same here
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    Dynamic File Name Part 2
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

  • Acrobat registry keys to create file name and path

    Hi,
    I need to find a way to get my Acrobat to create a pdf with the same name as the drawing file it's created from and in the same folder as the drawing file. The folder path will vary from drawing to drawing.
    I need this to happen automatically, without prompting for the file name or the destination.
    I see there is a way to set a pre-defined path using registry keys but is there a way to use registry keys to set the filename and path of the drawing, please?
    I would rather not use scripting as I don't really know how to do it.
    Thanks,
    Barnaby

    I think it will use the path and name of the original file if you do not prompt for a file name. I always ask, so I am not sure.

  • File name based routing in Receiver determination

    Hi experts,
    I have a requirement to do receiver determination based on file names which are dynamic.To put it clearely, i will be having two files in my source File location and i need to route it based on the file name to two target systems.
    The file name are like Month(changes everymonth)_TargetSys1 and month_targetSys2.
    I dont need any conversions ,so i am not using any IR objects.
    To pick files i kept *.txt in sender channel, and in receiver determination  condition i was trying to use context object called 'Filename'.But it doesnt work asthe file name changes every month.
    Is there any option to take substring from the input file name (say targetSys2 from month_targetSys2.) and put it as a condition for receiver determination.
    There is not DT or structure of the incoming file , as there are no modification to be done with the content.
    Regards,
    Anika

    you need to have the structure in case you want to route it via the xpath.
    Else another option is to code the enhanced receiver determination and using a java mapping with dynamic configuration read the filename and then dynamically create the receiver determination.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm

  • Creating Files Dynamically based on Condition

    Hi Experts,
    I want to create a scenario in which I want to have N number of target files based on some condition.
    Suppose I have following Source structure .
    <ns0:MT_Employee_Src xmlns:ns0="urn://FileToFile_ERD">
       <Details>
          <EmpId>1</EmpId>
          <Name>Rabi</Name>
          <Designation>ABAP</Designation>
       </Details>
          <EmpId>4</EmpId>
          <Name>Satya</Name>
          <Designation>ABAP</Designation>
       </Details>
    </ns0:MT_Employee_Src>
    My requirement is I want to have 2 different target files based on EmpId.
    And this should be dynamic that means N number of EmpId in my source will create N number of files.
    Can anyone help me to solve this?
    Any kind of suggestion will be appreciated.
    Thanks
    Rabi

    Hi All,
    As my requirement was to create N files dynamically based on some condition so I first used 1:N multimapping without BPM.
    Then I followed RP's steps.
    Follow those steps
    1) in the message Mapping go to Signature T..Outbounded.
    2)later go back to main tab . you shoud create a mapping like this:
    3)<EmpId>--> change the context to MT_Employee_Src. to do that press right button on the field and go to context menu option.
    map this field to the proper header target structure E.X: MT_Employee_Tgt
    4) doing this you will create as many target files as <EmpId> you receive.
    5) map the rest of the fields
    This is great.And  this helped me a lot and finally gave solution.
    I want to share one thing that I faced.
    when you are doing 1:N multi-mapping then you have to change the occurrence of target .
    Then your source and target structure will be changed .If you are taking the source schema from mapping then remove the extra tags those got generated due to multi mapping such as
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    </ns0:Message1>
      </ns0:Messages>
    And then use the file and it will work fine.
    Thanks
    Rabi

Maybe you are looking for

  • Error while creating cluster view

    Hi all, Requirement is to create cluster view copying cluster view VC_TABWU01  into custom view. CV VC_TABWU01 has two data base views V_T093C_10 and V_T093U_01 I copied them both in to ZT093U_01 and ZT093C_10 and created a CV Z_TABWU01. Field depend

  • Adobe Acrobat 8 Standard Question - Converting PDF to word document

    Question:  I currently have Adobe Acrobat 8.  I need to convert a PDF to word document.  I know how to do that but the outcome of the word document sometimes varies as to retaining the exact formatting.  How can I retain exact formatting?  Is there s

  • What is the difference between Org. Unit and Work Center?

    When there are Org. Units, then what is the purpose of Work Centers? Can there be an organization without Work Centers? Or Work Centers should exist for every Org. Unit? How are Work Centers different from Org. Units. How can it be identified that th

  • Lock Data: Enqueue and Dequeue

    Im trying to lock data from vb.net but it didnt work out. I pass the variable to my function module and inside the function contains below codes. eg: CALL FUNCTION 'ENQUEUE_EZCOL06'    EXPORTING      MODE_ZCOL06          = 'E'      MANDT             

  • How to Edit Custom Fields of Project Server 2010 Programatically

    Hello, I want to change the Custom field value of Project Server 2010. I am following the brain article. My problem is the code run successfully but the changes did not reflect to the Project server. Following is my code, Any Help?? private void Upda