Automatically populate metadata field with file name?

Hi, I'm not sure if this is possible...
I'm working with many large batches of .jpg files, and am running them through Bridge in order to add metadata according to my client's guidelines.
For every single file, my client requires that the "Description" field in the IPTC Core section of the metadata is filled with the full filename, as it would appear in the Finder, including the .jpg extension.
Currently I'm copying every file's name and pasting it into the Description field. Does anyone know of a good way to automate this task? Since each file name is different, a standard metadata template isn't meeting my needs.
If anyone knows of a good way, I'd be very glad to know! Thank you.
Chad
Adobe Bridge CC 6.0.1.6  /  Mac OS X 10.9.1

Awesome, That works really well.
I found this on the forum based on your answer.
Puts the file name in the field and takes off the .pdf extention.
var
fileName = event.target.documentFileName;
//removing the file extensionvar vDot = fileName.length-4;
//apply the value to the TxtFieldthis.rawValue= fileName.substring(0,vDot);

Similar Messages

  • How to allow user to select pdf file on local machine and populate field with file name only

    Folks,
    I have a project requirement that I am stumped on.  I am admittedly a novice, so forgive questions that may seem obvious.
    My requirement is a form running on a client system where the user can click a button and select a PDF file name from a PDF on their local machine and then populate a form field with that file path & filename.  The file names vary between all machines, so there is no static list.  Note that the PDF is not embedded, nothing is executed, I simply need the file name.
    There are several of these on a form (20+), so manual name entry is too error prone.   I would like to use a 'browse' type dialog, but can not figure out how to implement it.
    I've looked at app.browseForFile, but the users can not install a javascript file in their adobe folder or any other files;  the functionality has to be integral with the original PDF. 
    Functionally, this is no different from the image object file browse, except that I need a PDF instead of an image file, so there doesn't seem like there should be a security issue that is any different from those surrounding the image object.
    I've been stumped on this for the entire week, and I have a deadline rapidly approaching, so any examples or suggestions (please remember I'm a novice) would be greatly appreciated! 

    Thanks for the reply Paul - do you have any sample code of how to attach the PDF?  Or how the user can select a PDF to open?  I might be able to attach it, retrieve the file name, and then un-attach it.
    Alternatively, do you know how to retrieve the file name from the imagePath object?  It will let you select PDF files, but I can't find info on how to retrieve the file name.   It should be the way you would retrieve the file name for an image.
    As a novice in this, thanks for your help and patience!

  • Populating descriptive field with itresource name?

    Hi everyone,
    After my AD account is provisioned i need to update request description with resource name. but when i map the descriptive field it populateds descriptive field with key but not the resource name. How can we populate descriptive field with resource name?
    Thanks,
    doki

    ASAIK, you can not see the resource name in map descriptive field. But you can do a workaround like, create a hidden field(UD_ADCS_RESNAME) in AD Process Form and use pre-populate adapter to populate this field with your resource name.
    Now in Map Descriptive Field of AD Provisioning, select the field UD_ADCS_RESNAME under the Process Data. You will be done.

  • How to copy the photo with file name at window 7 and search specific one in iphone 4s?

    How to copy the photo with file name at window 7 and search specific one in iphone 4s?

    Clendenen02 wrote:
    2) It would be equally helpful if there was something that would take the name of the picture file and spotlight comment, copy and paste it to a movie file's comments with the same name but obviously has different extention. For an example
    In a Pictures folder
    Name: Dark Knight, The.jpeg       Comment: (2008) Genre: Action...             <- copy comment
    In a Movie Folder
    Name: Dark Knight, The.m4v       Comment:                                               <- paste 
    and do this for all 700 files
    This Bash script will do it.
    Edit "PicDir" and "MovDir" to the location of your Folders
    (Note: The comment is written to the m4v file using xattr, so the Spotlight comment field appears blank in Finder, but the comment metadata is still indexed by Spotlight (If you add a Spotlight comment from Finder, it is stored both as an extended attribute and in a .DS_Store file)
    #!/bin/bash
    PicDir=$HOME/Desktop/Pictures
    MovDir=$HOME/Desktop/Movies
    for f in $PicDir/*
    do
         if [ ! -d "$f" -a "${f##*.}" == "jpeg" ]; then
              comment=$(mdls -raw -name kMDItemFinderComment "$f")
              if [[ $comment != "(null)" ]]; then
                   picname=${f##*/}
                   movname=${picname%.*}.m4v
                   if [ -e "$MovDir"/$movname ]; then
                         xattr -w com.apple.metadata:kMDItemFinderComment "\"$comment\"" "$MovDir"/$movname
                   fi
              fi
         fi
    done

  • Auto populate text fields with a trigger such as entering text into input fields in ADF

    Hello all,
    I am not able to auto populate text fields with a trigger such as entering text into input fields in ADF.
    I tried AdfFacesContext.getCurrentInstance().addPartialTarget(val); in the back end using setter method of input text field.
    its not working ..
    is there any way to achieve it
    Regards,
    Shakir

    Hi,
    Always mention your JDev version.
    The valueChangeListener would fire only when you set the autoSubmit property of the field to true. Can you elaborate your requirement? What do you mean by related data? Are you performing some sort of search?
    If you want to get the value you entered on the field, just set autoSubmit to true and get the new value from the valueChangeListener. If your requirement is something like as and when you type, do something, you need to check out this approach :https://blogs.oracle.com/groundside/entry/auto_reduce_search_sample
    -Arun

  • How to get multiple image resoultion and paste it in new ms word doc or ecxel with file name

    Hi any one help me to get the imge resolution and paste it in new ms word or excel
    i have 100 file i fixed the sizing for all the file by downsample using javascript
    i want to get the resolution of all the image and paste it with file name
    anyone please help me
    Thank you

    Hi any one help me to get the imge resolution and paste it in new ms word or excel
    i have 100 file i fixed the sizing for all the file by downsample using javascript
    i want to get the resolution of all the image and paste it with file name
    anyone please help me
    Thank you

  • Received File send with file name to destination side

    Hi All,
    Here I have used FILE adapter in Receive location and WCF-BasicHttp adapter in send ports.
    Requirment is should be able to send the file name also along
    with the file to destination from BizTalk.
    No orchestrations in this project. DynamicSendPassThru sendport. Please find the below screenshot for send port properties.
    How can i fix this please assist me on this.
    Thanks & Regards,
    Vasu

     Hi Osman,
    below code is custom pipeline code. and what code and where can i add the code.
    regarding send the file with file name from BizTalk to OutBound transport location.
    Please assist me on this.I'm not aware coding part. 
    publicMicrosoft.BizTalk.Message.Interop.IBaseMessageExecute(Microsoft.BizTalk.Component.Interop.IPipelineContextpc,
    Microsoft.BizTalk.Message.Interop.IBaseMessageinmsg)
                System.Diagnostics.
    Debug.WriteLine("Inside
    SendFileRenameWithDate Pipeline",
    "SLNG.BizTalk");
    IBaseMessageContextmessageContext = inmsg.Context;
    // if the transport type is file for outbound, then change the add in the date in the file name.
    stringadapterType = (string)inmsg.Context.Read("OutboundTransportType",
    "http://schemas.microsoft.com/BizTalk/2003/system-properties");
    // The file name in the file adapter must contain '%SourceFileName%', e.g. CB_%SourceFileName%.xml
    if(adapterType ==
    "FILE")
    // Retreive the file name from the message context
    //object obj = messageContext.Read("FileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties");
    //string customSendFileName = obj.ToString();
    //System.Diagnostics.Debug.WriteLine("FileName:" + customSendFileName, "SLNG.BizTalk");
    // Append with date in ddMMyyyy_HHmmss format
    stringcustomSendFileName =
    if(string.IsNullOrEmpty(DateFormat))
                        customSendFileName =
    DateTime.Now.ToString("yyyyMMdd_HHmmss");
    else
                        customSendFileName =
    DateTime.Now.ToString(DateFormat);
                    System.Diagnostics.
    Debug.WriteLine("FileName:"+
    customSendFileName, "SLNG.BizTalk");
    // Write back with new file name to the message context
                    messageContext.Write(
    "ReceivedFileName",
    "http://schemas.microsoft.com/BizTalk/2003/file-properties",
    customSendFileName);
    //if (messageContext.IsPromoted("ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties")
    == false)
    //    messageContext.Promote("ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties",
    customSendFileName);
    //messageContext.Write("FileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties", customSendFileName);
                System.Diagnostics.
    Debug.WriteLine("Going
    off SendFileRenameWithDate Pipeline",
    "SLNG.BizTalk");
    returninmsg;
            #endregion
    Thanks & Regards,
    Vasu

  • How to print contact sheet with file names

    I want to print a photo contact sheet with file names. Is this possible with any standard Mac app?

    I'd like to print the Album name at the top of each contact sheet I produce from that album - is this possible within iphoto '08 or do I need to print to a pdf and then edit that pdf with acrobat pro for example.

  • How can I have a checkbox that a user checks and populates a field with read only text, then if another checkbox is checked it will allow user text input

    Hi
    How can I have a check box that a user checks and populates a field with read only text, then if another check box is checked it will allow user text input into that same field, her is my javascript
    var a ="Not Applicable"
    if (this.getField("Do").value == "Yes")
    a=""
    if (this.getField("DoNot").value =="Yes")
    a=a + ""
    event.value=a
    say if the "Do" cb is checked, Not Applicable would populate the text field, and if the "DoNot" cb is checked it would allow user input into the same text field, the javascript I have will not allow user input,
    thanks for any help I am new to javascript

    Are these fields mutually exclusive?

  • Set metadata field with current user

    I would like to have a Response that would set a field with the current logged in user. (This would be triggered by a Subscription)
    I am using a Response Action of "Set Asset Metadata".
    I have tried entering:
    [Name]
    [USER_NAME]
    [Username]
    and so on but the field just puts in the text not the user. Is it not possible to copy from one metadata field to another in a Response Action?

    Variable insertions only work for fields that are part of the Asset, Production, or Job that is triggering the Subscription. The only one of those that would reference a user is a Job Subscription. Jobs have a field called \[Owner] that lists the user that caused the job to happen. Of course, this is only viable for actions that cause a job to occur, such as downloads, exports, analysis, archive, or recovery.
    Unfortunately, Set Asset MD will not be of any use in a Job Subscription since there is no asset to set metadata upon when you are subscribing to a job. Long story short, you will not be able to do what you are describing automatically.

  • Automaticly print to pdf without file name prompt

    Hi,
    I am building an aplication that uses "Report Generation Toolkit". I am creating a "word" report with a template. After I am done with word creation I want to convert this "word" report to "PDF" format. I need that this process will be an automatic one. I understand that I can use print to PDF software, but the problem with it is that every such software prompts me to choose file name and destination.I need to avoid this.
    Please help me.
    Regards,
    Jenia.

    Jenia wrote:
    ... I understand that I can use print to PDF software, but the problem with it is that every such software prompts me to choose file name and destination.I need to avoid this.
    Jenia,
    There is a lot of PDF software available and some do provide the means to avoid prompts when saving the PDF.   PDFCreator has the advantage of being open source and free, has its Autosave option and had a COM interface added to recent versions. Alternatively you could look at pdf995 which has similar capabilities.  I'm sure there are others.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."
    Attachments:
    PDFCreator_Autosave.jpg ‏44 KB

  • Bug v4.0 - no input field for file name in export dialog

    Hello,
    I run a query, right click in the result grid and choose "Export". There is no input field to provide a file name. I can only export to the default file.
    Version 4.0.0.13 on XP
    Edit: Seems to be an issue with the settings (maybe those migrated from 3.2.2). When I install without migrating settings I get the full dialog. I will try some combinations and update this post.
    Edit: I installed again without migration my settings. When I set the preferences manually I cannot reproduce the bug. Maybe some bug in the import for the preferences? Maybe it only happens on German XPs.
    Regards
    Marcus

    Thank you, 5p given.
    However this is what I execute and in my file chooser dialog the filename field is still blank.
      ExampleFileFilter filter = new ExampleFileFilter();
        filter.addExtension("html");
        filter.addExtension("csv");
      JFileChooser chooser = new JFileChooser(new File("REPORT_ONE_"));
        chooser.setDialogTitle( "Save Report" );
        chooser.setFileSelectionMode(chooser.FILES_AND_DIRECTORIES);
        chooser.setFileFilter(filter);
        int returnVal = chooser.showSaveDialog(this);
        ...It is in try-catch, no errors are returned.
    Operating System: WindowsXP
    Java Version: 1.3.1

  • .PDF file transfer(SAP XI ) along with file name to SAP R3

    I would like to transfer a .PDF file along with its file name to target system.I need to have target structure like,
      <Target>
        <field1>
        <Field2>
    /Target>
    Field1should be mapped to file name( i can do this by using dynamic configuration and a UDF).
    Field 2 should me mapped to .PDF imae (.ie) i need tp pass the whole image to one target field
    How can i do this.
    Please suggest.

    Hi as mentioned by you the structure is
    <Target>
        <field1>
        <Field2>
    </Target>
    Field 1 Contains The dynamic File name UDF
    Just make This File name which is sent Thru Source side as "Filename.PDF" to be passed to the target end
    For example If the File name is XYZ
    Field 1 has XYZ--
    Pass The Field 2 as "XYZ.pdf" (i.e. File name Followed By .pdf as extension(Field1.pdf))

  • Acrobat 9: Auto-Populate Subject line with Attachment Name

    Hello,
    I am trying to auto-populate the subject line of an email with the .pdf attachment name. I don't care either way if this functionality is available or not. I just need a difinitive yes or no answer. And, of course, if yes I need to know how to do it. Email client is Outlook 2007.
    Thanks in Advance,
    Matt

    In that case, I don't believe so.
    You could set up in Acrobat a custom menu item or toolbar button that uses the doc.mailDoc JavaScript method, which is able to set the subject line text. The script could get the current file name and set the subject of the email to the same. More information here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.505.html

  • Can I automatically populate one field from another?

    I have two fields on a form (airport_name and airport_code). When the user picks a specific name from a combobox(i.e. Philadelphia International Airport) i want the airport_code field to automatically populate the 3 letter code (PHL). Can anyone help?

    Joseph,
    This question is best suited to the Oracle9iAS Portal Applications Forum.
    Thanks

Maybe you are looking for

  • How can i rotate and crop a lot of images (tiff) automatically?

    I have over 5000 images scanned. How can i tranform this image in this image?

  • Updating contract document extension fields from workflow

    I have a multi-step contract document workflow which routes first to an attorney and then through a series of business approvers.  The business approvers might reject the workflow for a number of non-legal related reasons which would not required the

  • Unable to connect iPhone5 to my car audio.

    I had an IPhone 4. I have a Toyota Corolla 2011 S with a bluetooth audio system. In the past I was able to connect my iPhone 4 to the audio system hansdfree and use it for calls. However, I recently bought a new iPhone 5. I am able to pair the iPhone

  • No facetime, imessage, notifications on my wifi!!!

    facetime, imessage, notifications work at my friends wifi, but when i get home i get no notifications at all. What should i do? im running ios 5.1.1

  • Coherence startup APIs

    hello I have some questions regarding the usage of certain Coherence APIs (fyi, we currently run the cache server as part of the application's JVM). 1) Are the APIs listed below the proper ones to call in order to bring up the cluster and to shutdown