Delete the quotes of a keyword

Hi, need help on this...

I am building a whole tree for my keywords and in some of them, I used them another word in the same keyword, separated by commas.

for example: whales, whales

The problem is when I do that, it creates a quotation mark and the other software does only 2 words and can't put it.

Is there a way I can get rid of the quotes?

Thanks in advance for any help.

Thus, it seems as if it can be done the way you want it to run.

There is a work around but requires a little more work.

Insert key words as you do right now.

Then, run a script on the selected documents to sort the keywords by removing the quotes.

Here's a script that will do just this...

#target bridge
 if( BridgeTalk.appName == "bridge" ) {
var menu = MenuElement.find ('updateKeywords');
if (menu == null){
updateKeywords = MenuElement.create( "command", "Update Keywords", "-at the end of tools",  "updateKeywords" );
}
}
updateKeywords.onSelect = function () {
if (ExternalObject.AdobeXMPScript == undefined)  ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
var sels = app.document.selections;
for(var a in sels){
var xmpf = new XMPFile(sels[a].spec.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);
var xmp = xmpf.getXMP();
var keys = getArrayItems(XMPConst.NS_DC,'subject').replace(/[";]/g,',');
keys = keys.split(',');
xmp.deleteProperty(XMPConst.NS_DC,'subject');
        for(var s in keys){
        xmp.appendArrayItem(XMPConst.NS_DC, "subject", keys[s], 0,XMPConst.PROP_IS_ARRAY);
        }
if (xmpf.canPutXMP(xmp)) {
        xmpf.putXMP(xmp);
         xmpf.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
         }
}
function getArrayItems(ns, prop){
var arrItem=[];
var items = xmp.countArrayItems(ns, prop);
   for(var i = 1;i <= items;i++){
     arrItem.push(xmp.getArrayItem(ns, prop, i));
                }
return arrItem.toString();
}
}

To install...

Copy and paste the script in ExtendScript Toolkit
It is installed with Photoshop and you will find: -.
PC: C:\Program Files\Adobe\Adobe utility
MAC: /Applications/Utilities/Adobe utilities

Starting point
PC: Edition - Preferences - Startup Scripts
Mac: Startup menu - Preferences - Adobe Bridge Scripts
At the bottom, click on the 'reveal' button it will open the folder where the script should be saved.
Close and restart Bridge.
Accept the new script.

Use: -.
Select updated documents
Tools - "update the keywords.

Tags: Bridge

Similar Questions

  • Delete the keywords input field after form submission web app search

    Hi all

    I work on a Web site and have a question about a specific page:

    http://tullystattoo.BusinessCatalyst.com/Raleigh-tattoo-portfolio

    My question is: did someone knows a way to erase the form input field "Keywords" after we submit the search form? By example, if I type in a word like 'colour' in the keyword and click the search button, I am presented with pieces of portfolio that include 'colour' in the description. However, the 'color' remains in the keyword form input field, so if I decide I want check the 'grey' and 'technical' rather than 'keyword' search, the color of the Word always remains in the input field. Dies, someone has any ideas on how I might be able to clear this form field whenever a search is performed?

    Thank you in advance - you guys and girls are always great!

    I found an example of a site that has done can be found here: http://planmyplay.co.nz/ but I don't know how they do?

    Hey,.

    It "should" work.

    You need to insert some javascript/jQuery in your scripts.js file

    on one of the empty lines before //Flex cursor init

    You must insert:

    if (jQuery('.webappsearchresults')[0]) {jQuery('#CAT_txtKeywords').val("")}
    

    Basically, it checks to see if there are some search results on the page, and then clears the value of the search box.

    I do not guarantee that it works, but I'm pretty confident that you may need to play a little with it.

    See you soon

    Pat

  • How to remove hyperlinks from copied text without deleting the text in the pages 08

    How to remove hyperlinks out of copied text without deleting the text in the pages 08

    One post is enough.

    I do not have Pages ' 08, but in Pages ' 09, you select the text with the hyperlink, click the link Inspector, and deselect the option enable as a hyperlink check box.

    Otherwise, rely on the search tool in your Pages ' 08 Help menu. Search for "remove link" without quotes.

  • After you export a photo library of backup, how to delete the photos in the photo library of the system

    Hi, I use the pictures 1.2

    Each year, I export my library on a backup drive and give it the name of the given year. My next task was to remove unwanted pictures (about 10 K photos) from that same year, then keep those 'important' for me (stuff of family, work and other landscapes and al. stuff: about 2 000 pictures.) I don't remember how I used to do with iPhotos, but it seemed obvious. Now, with Photos, I see only two choices: either watch the complete list of the photos, then click on those that I don't have anymore (I do not see me scroll 12 000 photos and videos) opening of the events at the time and the option click all photos to delete (and not just remove them from the event).

    Deleting events without opening it won't because I get a message telling me (for good or bad reasons) that the photos are always going to be there. But then, imagine that I could remove the same with content pictures, I have about 300 events to remove, and they can be deleted one at a time.

    So my question is (and I already put it as a feature request to apple, just in case) how I mass delete unwanted items and their photos, or better yet, how can we keep all the photos that I like (Favorites, for example, or photos with celebrities...) and delete the rest?

    My library contains more than 200 GB on my MacBook Pro 500 GB HDD. I can't let it grow to 150 GB each year. and I guess I'm not the only one with this problem. In addition, I travel a lot in many countries with bad Internet connections, so I won't use iCloud.

    Thank you!

    How are 'export' your photo of the backup library?  You create a copy of your current photo on the backup disk library or using "file > export" to export the photos? Just to be sure, that your photos are safe.

    My next task was to remove unwanted pictures (about 10 K photos) from that same year, then keep those 'important' for me (stuff of family, work and other landscapes and al. stuff: about 2 000 pictures.) I don't remember how I used to do with iPhotos, but it seemed obvious.

    You can quickly find the photos to delete by creating a smart album with the rule "the Photo is not favorite" and "Date is in the range...". »

    File > new Smart Album:

    You can add a rule "keyword is not 5 stars", if you have added the side star as well.

    Then, select a range of photos in this smart album and enter the ⌘⌫ (command + delete) key combination.

    This will completely clear photos of the library.

    You can use the same combination of keys to remove the photos from iPhoto event albums in the Album section.  If you simply enter the delete key, the photo will be deleted only from the album, but remain in the library.

  • downloaded updates of files can I delete the installation packages to free up disk space

    After having been to the bass and installed, can I delete the installation packages to free up disk space
    and how?

    This problem may occur if the Windows Update software distribution folder has been corrupted. We can refer to the following steps to rename this folder. Please note that the file will be re-created the next time we visit the Windows Update site.

    I. close all open windows.

    II. click on the "Start" button, click "all programs" and click "Accessories".

    III. - click on "command prompt" and click "run as administrator".

    IV. in "administrator: command prompt"window, type "net stop WuAuServ" (without the quotes) and press ENTER. "

    Note: Please, look at the cmd window and make sure that it is said that it was successfully stopped before we try to rename the folder.

    V. click on the Start button, in the "Search" box, type "%windir%" (without the quotes) and press ENTER.

    VI. in the opened folder, find the folder named "C:\Windows\SoftwareDistribution".

    VII. right click on the folder, select Rename and type "SDold" (without the quotes) to rename this folder.

    VIII. while still in the "administrator: command prompt" window, type the command "net start WuAuServ" (without the quotes) in the opened window to restart the service Windows updates.

    Note: Please, look at the cmd window and make sure that it is said that it has been started.

    Reset.

    UTC/GMT is 12:31 on Tuesday, October 25, 2011

  • I can't delete the post of WinRar on my files that were downloaded and now I can't get anything to open

    original title: open my files

    I can't delete the post of WinRar on my files that were downloaded and now I can't get anything to open

    Please describe your problem in more detail. Tell us that that "cannot delete" means. Exactly how do you try? What happens when you try? If you get an error message, please quote verbatim.

    Or do you mean 'change' expansion, rather than "delete." Have you tried?

    And one last point: If the files have the rar extension, what are rar files. The file format does not remove or change the extension.  If you remove or change the extension, they will always be rar files. A rar file can only be successfully opened by Winrar or a compatible program.

  • Jython script to remove the quotes

    All,

    I created the following script as an event script before import to remove the quotes around member names in our source file.  Everything seems to work except the last step of deleting and renaming the file (os.remove and os.rename).  I can see the ".out" file and it seems OK, but the original file is still there.  Any help is greatly appreciated.

    If fdmContext ["LOCNAME'] == 'TecLabor_TO_RSA ':

    fdmAPI.logInfo (fdmContext ["LOCNAME"])

    Try:

    filename = fdmContext ["FILENAME"]

    Inbox = fdmContext ["INBOXDIR"]

    #filedir = fdmContext ['FILEDIR']

    fdmAPI.logInfo (filename)

    fdmAPI.logInfo (inbox)

    file = inbox + '\\TecLabor_TO_RSA\\' + filename

    file_out = inbox + "\\TecLabor_TO_RSA\\" + file name ".out".

    #file = inbox '-' + filedir + "\\"+filename. "

    #file_out = inbox + "\" + filedir + "\\"+filename + «.out "»

    fdmAPI.logInfo (file)

    end = open (file, "r")

    who cares = open (file_out, "w")

    for the end line:

    Line = Line.Replace ('"'," ")

    care. Write (Line)

    end. Close()

    care. Close()

    except IOError, err:

    fdmAPI.logError ("My error" + str (err))

    OS. Remove (file)

    OS. Rename (file_out, leader)

    So you're saying that the os.rename and os.remove of commands do not work? If so make sure have included you the following import statement at the top of your script - import bones

  • so I deleted the pins and now my PC is fine. The number of images pinned to locations affect the performance of the PC?

    I converted to PSE10 to PSE14. I have a little more 14600 Images. Any fine at first, then I allocated 6400 to place pins and my PC slowed down of so many things that I deleted the pins and now my PC is fine. The number of images pinned to locations affect the performance of the PC?

    trevorgatley wrote:

    The reason why I asked is that my items Catalogue 10 has been somehow corrupted during the transfer of items 14 so I deleted and started re-marking all my photos, which many others who previously were not moved in elements

    You keep a copy of your old folder from catalog PSE10 somewhere? It is often possible to get a usable conversion by creating a new folder from catalog containing only the database file 'catalog.pse10db '. Who restores the keywords, ratings, the batteries of legends and notes, not version games or albums.

    I would also like to hear if there is a problem of comon or perhaps introduced by an error on my part.

    Other posts in this forum and the forum of comments, I'm willing to bet that there is a real problem and no error on your part.

    I talked about Internet connection because the geotagging feature is dependent on the Google Maps application.

  • Please note that the quote/cart has already placed an order and cannot be changed.

    Hi all

    Currently, we are trying to create an order istore and doing so when you add an item to the cart, shopping cart throws the error "Please note that the quote/cart has already placed an order and cannot be changed. What happens with a single user. We created an order earlier and this was achieved convert quote to order. Now when we created a new this error pops up. Also, there is no record in the IBE_ACTIVE_QUOTES_ALL table for this user for any active carts.  Please provide suggestions. I cleared the cache bounced the server istore and disconnected and connected and always the question already exists.

    Thank you

    Hello

    Please confirm that there is no basket of assets

    Confirm the data in ibe_active_quotes_all

    SQL > select active_quote_id, order_header_id, quote_header_id

    of ibe_active_quotes_all

    where party_id = & partyid

    and cust_account_id = & cust_id;

    To get values-
    Select customer_id from fnd_user where user_name = ==> set to 1
    Select person_party_id in the fnd_user where user_name =
    Select object_id from hz_relationship where subject_id =
    Select cust_account_id in the hz_cust_accounts where party_id = ==> value 2

    Confirm the data are synchronized in citing it table aso_quote_headers_all:

    SQL > select order_id aso_quote_headers_all

    where quote_header_id = & from above;

    If a basket of assets is found, you can remove-
    delete from ibe_active_quotes_all where party_id = and = cust_account_id and record_type = "shopping CART";
    > This will remove the active cart of the user, so you can proceed to the next cart.
    Reference for the discussion:
    How to remove Active iStore basket of a user (Doc ID 1261926.1)
    Thank you
    Debbie
  • iStore error: Please note that the quote/cart has already placed an order and cannot be changed.

    Hi all

    Please help with error - "Please note that the quote/cart has already placed an order and cannot be changed."

    I am able to search for items in the store but when add to cart we get error "Please take note that the cart/quote has already been placed an order and cannot be changed."

    We do not process returns in our iStore.

    Thank you

    Subin.

    Okay, okay...

    See if you have any folder for that user in the IBE_ACTIVE_QUOTES_ALL table, if so delete it and try again...

    IBE_ACTIVE_QUOTES_ALL is used to store the current active cart of a user.

    The user is identified by party_id cust_account_id reference HZ_PARTIES and the active carriage is identified by the quote_header_id referri

  • Deleting the same files of many virtual machines remotely

    Hi all

    I tried to delete the same file several virtual machines remotely using the following script PowerCLI:

    $a = Get - VM | %{

    foreach ($nic as $_.) Guest.Nics) {}
    Write-output $nic. IPAddress
    }
    }
    foreach ($i in $a)
    {$b = get-WmiOBJECT-query "SELECT * from CIM_DataFile where Name='C:\\test\\deleteme.exe'"-computername $i}
    $b.delete)

    }

    It works perfectly when I run the script on the host virtual machines while I am running the script PowerCLI. When I Connect-viserver to another host however and try to run the script, I get the dreaded "RPC server is unavailable error (HRESULT: 0x800706BA)" for Get-WmiObject.  Virtual machines don't have Windows Firewall and have all TCP/IP, RPC and WMI services started, so who could eliminate any possibility.

    I am also able to run other scripts that use the Get-wmiobject across all virtual machines such as scripts to change the DNS or Netbios name across many machines on different hosts.

    Any comments would be greatly appreciated and please feel free to comment if you know maybe other ways which can delete files on multiple virtual machines in any other way.  Installation PowerCLI to run the script locally on each host would be a laborious process to do.

    Thank you very much!

    Best regards

    To solve the problem with the quotes, you can use double quotes inside the string. Like this:

    «del "«c:\documents and settings\text.exe»»»

    Or you can use for the string single quotes and double quotes inside:

    "del"c:\documents and settings\text.exe"

  • Security error while deleting the LookUp value

    Hi Experts,
    I want to show my own values in the drop-down list user type create user screen. It is mapped to the definition of research: Lookup.Users.Role. I added my custom console design in this choice list values, but when I tried to delete the existing values of this consultation, I get this error:

    Keyword Error: DOBJ. INVALID_DELETE
    Description: The security level for this data element indicates that it cannot be deleted.
    Remedy:

    Action: E
    Gravity: M
    Help URL:

    Detail:

    Any ideas, please help!

    You can remove the value directly from the database table.
    HGLN and LKV tabales are used.

    LKV contains the values from the lookup function.

  • Can I delete the Organizer (8 items) and start all over again? Help, please.

    How can I start all over in the Organizer? I have so many duplicates in so many different places (as hidden and Unhidden) and even with the names of album and keywords. I jumped in before I took the tutorials, and now I'm paying for it. I'll blow the roof soon if I don't come up with a plan!

    Hello

    When you delete an Organizer file, it deletes the file from the catalogue (so from Albums, Tags). It also invites you to delete the file from your hard drive.

    Choose Yes it removes the hard drive as well. No. Chossing, will remove from the catalog, but the actual file will remain on the hard disk.

    Thank you/Cooman

  • Cannot delete the mailbox mailbox on my Mac

    Tried to import old email from another installation of OS X.  Did not work.  Now I find myself with a folder called 'Import' under on my Mac which won't be not clear.

    Mailbox refurbished

    Right click and delete the color wheel gives app for about 30 seconds, do not respond, then more nothing, mailbox not deleted.

    Machine to restart

    Ran disk first aid.

    Rinse, repeat, nothing changes.

    What now?

    Well, as usual.  Thanks for all the useful responses.  He's staring at me, but WHY this happens is still a mystery.  Well not really a mystery, the Sierra is a mess.

    Found the box of thugs in the folder ~/Library/Mail/v4.  Deleted.  Restarted mail.  Then, I could right-click and delete the box.  Probably a screw up through OS X permissions, but seems like no one wants to talk about how Sierra is.  I had at least 6 MAJOR issues this week, which should reinstall me Sierra for the 3rd time in a week.

  • Cannot delete the playlist pages

    I tried different ways to delete the pages of my playlist on Safari.  I looked at help and performed the steps to swipe left etc. nothing works.

    I have my iMac from Apple did not have for a long time and learn functions after the use of PCs.  El Capitan OS is installed on it.

    Don't know what happened.  Any ideas please?

    Right or control click on a page in your reading list, then click on remove an item.

Maybe you are looking for