copy the name of the file of keywords in Bridge CS6

Hello

I need to create a process of copying the file to a jpg file name using keywords in Bridge CS6.  Ideally I need the script to parse the file name and use the words (not symbols such as '_' or '-') as the keywords of the file.

Here is an example:

entry

file name: jane_doe.jpg

Keywords:

output

file name: jane_doe.jpg

Keywords: jane doe

I don't know where to start with this script.  Any help or advice would be much appreciated! You may know a really similar that I can change?

Thanks in advance,

Claudia

Please try this on the selected files.

#target bridge
   if( BridgeTalk.appName == "bridge" ) {
filebits = MenuElement.create("command", "Add Filename bits to Keywords", "at the end of Tools");
}
filebits.onSelect = function () {
  var sels = app.document.selections;
  for (var i = 0; i < sels.length; i++){
var md = sels[i].synchronousMetadata;
var Filename = decodeURI(sels[i].name);
var nameParts = Filename.split(/-|_|\./);
nameParts.pop();
    md.namespace = "http://ns.adobe.com/photoshop/1.0/";
    md.Keywords = md.Keywords + ";" + nameParts.join(',').replace(/,/g,';');
    }
};

Tags: Bridge

Similar Questions

  • Images not appearing is not in the search by keyword in Bridge CS6

    I am using Bridge CS6, falling into persistent galleries of pictures (JPEG) and tagging them with keywords. When the time comes to do a search, a couple of these images are are ignored in the results. Other images with the same keywords are returned, but not these a few offenders.

    I tried to reset the bridge and purge central Cache.

    No idea why some files would be invisible to the search function?

    Well, after a reboot, purge central cache several times and reset bridge several times, I did apparently something in the right order and the problem is solved

    Looks like it was a bad file cache or preference.

    Thanks for all the suggestions, especially in regards to the caches purge!

  • Copy the file from one drive to the keyword one another &amp; missing tags

    Hello

    I use LR 2.7.  I want to copy a file from one disk to another disk with the same file name.  I thought that you could drag the file, but it is not copy the file into the other drive, can you explain what I need to do?

    Also, I tried to import the file to another drive, but it does not copy the keyword tags.  Is there a way to do this?

    Thank you

    Barb

    There is absolutely no problem with a lot of files. I think that most people are this way.

    To merge a catalog in another, open a catalog and then-> import from catalog and Lightroom point files to your catalog on the other.

  • ENVY of HP dv7: copy the file fails error on disk 2 to 58% HP recovery

    My hard drive in my dv7 ENVY dies for the second time in two years (it was under warranty last time and I was able to fix). I bought the hard drive same exact (Samsung, 1 TB), tested in BIOS, past everything. When I try to make the image recovery with the HP recovery discs I received the last time my hard drive died, I get an error then that 58% on two recovery disc that says:

    Reducer

    Copy the file fails

    From: d:\preload\base24. STORMWATER MANAGEMENT

    To: c:\RM\Image\BASE24. STORMWATER MANAGEMENT

    Press OK to retry.

    I press OK and it does the same thing over and over again. People who questioned him on this same type of error seem to get anywhere here, but what choice do I have? The hard drive is the same size, same manufacturer, same model, it should have the question of reimage the system on a hard drive more small, right?

    Am I just out of luck on that? So frustrated.

    englejas

    Hello;

    Let me welcome you on the HP forums!

    I read your post on recovery issues and wanted to help.

    Here is the link to the tool of creation of win8.1 media: installation media to create for Windows - 8.1 help Windows

    Understand, however, you might encounter a problem installing using the media created from this tool.

    You have a version of OEM HP of Win8 installed on your PC, and this means that the product key that is embedded in the motherboard UEFI firmware is OEM, not retail.

    While the media created from this tool SHOULD be activated using this key, there is no guarantee he will do.  If it is not the case, you can use this tool to recover your product key and try to enter it manually: Download Windows OEM Product Key Tool - MajorGeeks

    IF it still does not work, then your only recourse would be to order a new set of recovery from HP discs.

    You can look online for recovery from the paged media related: http://support.hp.com/us-en/drivers

    Once there, enter your product name or number. On your software page and download the drivers, select your operating system and version. Click on "Update".  If the HP recovery support is available for your computer, down near the bottom of the page, you will see an entry for the command Recovery Media-CD/DVD/USB. Click on the symbol '+' to expand this entty and click on order to press for more details.

    Or, if you prefer, you can do the same by contacting HP Customer Service:

    If you live in the United States or the Canada, details are on this page: http://www8.hp.com/us/en/contact-hp/phone-assist.html#section1

    If you live elsewhere, contact details are on this page: http://www8.hp.com/us/en/contact-hp/ww-contact-us.html

    NOTE: once you get through, stay on the line until you are finally able to talk to someone ' one - it can take a while!

    However, HP customer care is generally not available on weekends, so you will have to wait until Monday to contact them.

    Good luck

    ========================================================================
    I'm a volunteer and I do not work for, or represent, HP.
    ---------------------------------------------------------------
    If my post helped you, please click on the symbol of the thumbs-up to the left of the answer key to say thank you.
    If my message solved your problem please click on "Accept as Solution" - to help others to find the solution.
    ========================================================================

  • copy the file directory into an Excel sheet

    How can I copy the file names in a directory/folder to an Excel spreadsheet? For example, I have 200 files in a folder. I want to copy the title of all the files in an Excel sheet to better management and add notes. Thank you

    I received an email go, but I can't respond to this e-mail address.
    Here is my supplementary question:
    "Thanks a lot for your help."
    It's one more step.
    But I want just the names of files on each cell in the Excel sheet, without the path. »

    Open the folder, and then select all the documents in question.

    Hold the shift key while clicking the right mouse button (shift + right click).
    Choose "copy as path".
    Return to the spreadsheet and choose "Paste" to paste the list of documents in the worksheet.
    This will paste the full path, including file name, of each document, as shown below.

    Is that what you meant? Please let us know.
    Best wishes
    BookwormDragon
  • You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.

    You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.  They will have to copy the files in the folder to make changes and then copy a review of back in.  Locally and on the network

    Hello

    1. In Windows Explorer, right-click the file or folder you want to work with.
    2. In the context menu, select properties and then in the Properties dialog box, click the Security tab.

    3. In the name list box, select the user, contact, computer, or group to which you want to display permissions. If the permissions are grayed out, this means that the permissions are inherited from a parent object.

    https://msdn.Microsoft.com/en-us/library/bb727008.aspx?f=255&MSPPError=-2147217396

  • Import error "some operations not carried out. Could not copy the file to the location requested.

    I have the demo version of LR. I imported the pictures that were on my hard drive. Now, I can't import more photos when I want to add new ones. I get a screen that says that some operations have not been performed. Could not copy the file to the location requested.

    Help, please. I don't know what else to try.

    If these images are already on your hard drive, you must use the Add option.

    If they are on a USB key and you want to copy them to your hard drive during import, then the Destination you have select this option to copy them doesn't have the appropriate permissions for your user name. , Select a different Destination or change the permissions on the folder that you selected.

  • Copy the files along with folders

    Hi Forum!

    I have this little script to copy files which is located in the folder.

    My request of forum, is to get help, to copy all the content in the folder...

    contained in the record, may be *.indd, * .zip, *. TIF, *.eps, etc., and also the files in the folders and its contents..

    Currently, I can only able to copy only the files (*. *) in the folder and can not able to copy the file in the folder and its files...

    var copyFolder1 = file ('/ users/admin/Desktop/LZW/For General');

    var pasteFolder1 = Folder('/Volumes/CTC/Normal/MyFiles');

    var myFiles2 = copyFolder1.getFiles ("*.") *") ;

    for (i = myFiles2.length - 1; i > = 0; i--) {}

    Ditto var = myFiles2 [i] corresponding (pasteFolder1 + "/" + myFiles2 [i] .name);

    }

    Please can I get help to do this.

    Thanks & rgs.

    Just change the first line to choose the correct folders.

    copyFolder(new Folder("C:/Source Folder"), new Folder("C:/Destination Folder"));
    
    function copyFolder(sourceFolder, destinationFolder) {
        var sourceChildrenArr = sourceFolder.getFiles();
        for (var i = 0; i < sourceChildrenArr.length; i++) {
            var sourceChild = sourceChildrenArr[i];
            var destinationChildStr = destinationFolder.fsName + "/" + sourceChild.name;
            if (sourceChild instanceof File) {
                copyFile(sourceChild, new File(destinationChildStr));
            }
            else {
                copyFolder(sourceChild, new Folder(destinationChildStr));
            }
        }
    }
    
    function copyFile(sourceFile, destinationFile) {
        createFolder(destinationFile.parent);
        sourceFile.copy(destinationFile);
    }
    
    function createFolder(folder) {
        if (folder.parent !== null && !folder.parent.exists) {
            createFolder(folder.parent);
        }
        folder.create();
    }
    
  • Portege M400: cannot copy the files on the disk HARD - can't see any of my files in Word

    I bought the M400 a few weeks ago. There are a number of problems. Adobe reader gives "an internal error has occurred", manual installation of download gives "error occurred in the file zip", download or copy of the files on the hard disk gives error "there is no space" when there are only 8 gig used from 60 GB. Now, I don't see any of my files in Word.

    I can also copy the files from the cd or DVD. I'm in canada mississauga on Horus, usually resident in the United Kingdom, so I'm in a precarious situation because I can't in my office to sort out the issues.

    Can someone advise me please why all these problems are happening, do I have to use the recovery disk? Baz

    > Forgive me but how to put the hard drive in business.

    I think that the Johnny means that you connect the HARD drive to another computer using the external USB HDD controller. These external USB HDD cases can be purchase in every store of the computer.

    However, if you n t need data that are placed on the HARD drive, you could simply start installing the OS from the recovery CD. This will format the whole HARD drive and install the new operating system as well as all the drivers, utilities and software further.

  • Copy the file fails the Windows 7 recovery discs sent hp

    I have tried to solve this problem for a month now and I'm at the end of my home.
    I am now on my third set of recovery discs HP and all have the same problem. I insert disk 1 by following the instructions on the support forum. She's going through
    Reformat the hard drive windows partition - tick
    Copy of the files needed to restore the hard drive - tick
    And immediately as ending, this window appears:
    Reducer
    Copy the file fails
    From: E:\PRELOAD\BASE. STORMWATER MANAGEMENT
    To: C:\RM\Image\BASE. STORMWATER MANAGEMENT
    Press OK to retry

    Three series of drives have the same come.
    What the hell is happening?
    I'm so sick of this.

    Read a few other posts with similar problems, but can't seem to find the solution. I don't have an external hard drive, I can use... only the laptop I'm trying to fix. (G6-1305sa)

    Any help? It also doesn't help when the HP support is open on the phones until 5:30 from Monday to Friday. I'm at work so can't call. So frustrating...

    Aaaarrrrrgggghhhhh

    Hi Belj,

    Thank you for visiting the Forums HP's Support and welcome. I read your thread on your HP Pavilion g6-1305sa Notebook and not able to restore Windows. If the HARD drive is faulty, this can cause the restoration should not go well. You can try to run a test of material. Please note remove any and all USB devices and remove the memory card in the slot of the card reader. Disconnect all non-essential devices. What is the original HARD drive? Have you replaced all other parts? Have you tried to do a clean install of Windows 7. Try running sfc/scannow would scan your system to find errors on the command line. You can get to the command prompt by clicking F11 at startup. You can see this Microsoft document on the system recovery options.

    Hope this will help.

    Thank you.

  • I can restore the backup made by WHS v1. PP3 the WHS 2011? Or do I need to copy the files over the network of old serevr again?

    WHS backup

    You just bought a new WHS 2011. Question, can I restore the backup made by WHS v1. PP3 the WHS 2011?  Or do I need to copy the files over the network of old serevr again?

    Hello

    Because the problem is with Windows Home Server, I recommend you post this question in the Forums Windows Home Server.

  • Setup cannot copy the file hpinkins5412.exe

    Setup cannot copy the file hpinkins5412.exe

    Using full features software and pilot OJ6500_E710n - z_334.4

    When I use this version:

    full feature software and driver OJ6500_E710n-z_1315

    All software installs normally.  I get all the correct screens.  I connect to a network printer. He fined the printer. He asks me where (postcode), I use the software.  I re - start.  The drivers are not installed.  I have run the diagnostics.  He said that the drivers are not installed.

    HP Officejet 6500 has more 710n

    XP Pro sp3

    I solved the problem with the latest version of the software:

    full feature software and driver OJ6500_E710n-z_1315

    The pilot would not have installed.  I used this web page to fix:

    http://support.HP.com/us-en/document/c01084522

    Thank you

    Docfxit

  • Windows XP Professional Setup copy iaStor.sys then the OS says that it cannot copy the file iaStor.sys.

    After the RAID 0 disk partitioning, installing Windows says it will copy the files in the file system. The first file is iaStor.sys. My SATA CD drive runs for a few seconds, then there is a long pause, then the OS says that it cannot copy the file iaStor.sys. He goes on to say that I should check that there is a CD in the drive. Any ideas?

    Here's the solution to this problem:

    1. in the disk driver (a:\) root directory create a directory called holiday of $ $OEM existing files as they are, we will not delete or replace anything.

    2. in the directory $ $OEM you have created, create another directory called TEXTMODE

    3. copy all the driver files located in the root directory to the A:\$OEM$\TEXTMODE subdirectory, try to reinstall, it should now work.

  • I get an error "Setup cannot copy the file els.dll" during the installation of Service Pack 3.

    The installation fails every time with this error. I can see and select the file in the temp folder, but it won't work. Any help would be appreciated. '

    Original title: 'Setup cannot copy the file els.dll' during the upgrade to Windows XP SP2 to SP3.

    In fact, I corrected it an hour ago and was meaning that close the message. I cleaned with CCleaner temporary files, downloaded the SP3 Installer on its own (no windows update) and disabled the antivirus. I was able to complete the installation.

    Thanks for the reply!

  • I am trying to format my PC and when the installer loads of my key USB Kingston, he said: Setup cannot copy the file XPtspCom.inf.

    Setup cannot copy the file XPtsp Com.inf

    Hi all!
    I try to format my PC and what configuration is loading my Kingston USB key, said he: Setup cannot copy the file XPtspCom.inf.

    I use Windows XP Professional Edition SP3.
    How do slove this problem please to continue to work with my PC?
    Thanks in advance!

    You should not use these programs, but if you want a USB key to install then you should make an ISO file and then using Unebootin according to me this is a best software to USB for xp and if you have windows 7 installed in one of your system, then you can use tool usb windows 7.

Maybe you are looking for