Remove quotation marks from a keyword

Hi, need a help on this....
I build a whole tree for my keywords and in some of them, I used more them one word in the same keyword, separated by comma.
eg:  whale, whales
The problem is when I do that, it creates a quotation mark and the other softwares dont understand it as 2 words and can not slipt it.
Is there any way I can get rid of the quotation marks?
Thanks in advance for any help.

So it looks as if it can't be done the way you want it to work.
There is a work around but requires a little more work.
Insert the keywords as you are doing at the present.
Then run a script on the selected documents to sort the keywords removing the quotes.
Here is 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 into ExtendScript Toolkit
This gets installed with Photoshop and can be found:-
PC: C:\Program Files\Adobe\Adobe Utilities
MAC: <hard drive>/Applications/Utilities/Adobe Utilities
Start Bridge
PC: Edit - Preferences - Startup Scripts
Mac: Adobe Bridge menu - Preferences - Startup Scripts
At the bottom click the "Reveal Button" this will open the folder where the script should be saved.
Close and restart Bridge.
Accept the new script.
To use:-
Select the documents to update
Tools - "Update Keywords"

Similar Messages

  • How to remove quotations marks  from csv file

    Hi
    My input file is a .csv file which contains each value in quotation marks
    ex: - "123456778","jakob","grade10"
    Also each record in the input file contains 333 values .
    i am reading these records and using stringtokenizer to fetch value by value for that record .
    i want to remove the quotation marks before i put the values back into an output file with .txt extension .
    those output files will be bcped later into sybase db.
    Should the quotation marks be removed in the java code or is their anyother way to remove the quotation marks from the output file while bcping them .
    Thank You

    njb7ty wrote:
    I also suggest if possible, you use tab delimited cvs files rather than comma delimited cvs files.That would be TSV, LOL...
    If there are commas inside your data elements, you will not be able to tell if they are part of the data or are delimiters. Tab delimited files avoid this.What if your data contain tabs? Although there's no CSV specification, the common standard practice is to use two double quotes to escape a quote.

  • Removing quotation marks from channel names

    Firstly - I am new to both DIAdem and VB so please forgive my ignorance!
    I have a large data set containg many groups with (almost) identical channel names in each group. For reasons not worth going into some of the channel names have quoation marks around them, while others do not.
    I am trying to remove the quoation marks to make all channel names consistent throughout the groups, for this I was hoping to loop through the groups renaming channels as appropriate
    I think this should work:-
    For
     i = 1 to GROUPCOUNT
    Call GROUPDEFAULTSET(i)
     CN(""ChannelName"")="ChannelName"
    Next
    Where ChannelName is the name I am trying to replace, But I get the following error:- Expected ')'
    Can anyone point out where I am going wrong?
    (Note - I also tried using triple quotation marks ("""ChannelName"""), but I get this error instead - CN(""ChannelName""):=ChannelName Close bracket ")" expected for field index)
    For bonus points - how to I get the loop to skip over any groups where the channel I am referencing already doesn't have quotation marks in it, rather than giving me an error that the channel can't be found?
    Many thanks in advance for any assistance!
    Dan
    Solved!
    Go to Solution.

    Hello Dan,
    You are using an old script syntax to manipulate the data. Please find below the current way to replace quotation marks with an underscote:
    dim iLoopG, iLoopC, oGroup, oGroupChns, sQM
    sQM = chr(34) ' the " character
    set oGroup = Data.Root.ChannelGroups
    for iLoopG = 1 to oGroup.Count
    set oGroupChns = oGroup(iLoopG).Channels
    for iLoopC = 1 to oGroupChns.Count
    'msgbox oGroupChns(iLoopC).Name
    oGroupChns(iLoopC).Name = Replace(oGroupChns(iLoopC).Name, sQM, "_")
    next
    next
    Greetings
    Walter

  • How to remove esclamation mark from itunes

    how to remove esclamation mark from itunes???

    See these...
    -> One computer using multiple iTunes Store authorizations
    -> About iTunes Store authorization and deauthorization

  • Remove quotation mark

    I am using LSMW to upload material. Text file are tab delimited with material code and description. If description contains comma, uploaded data has quotation marks enclosed. That is [description, one] become ["description, one"].
    Can I remove the quotation marks in LSMW project?

    As an additional follow up to this question I have tried everything you have suggested and I still can't seem to replace the quotation marks. I know I'm getting the quotation marks because my data has a coma in it, so for example it is Gagnon,Annette and it will show up at "Gagnon,Annette". To make matters worse I'm really really new in this world and I also have an if statement in this wonderful converting attempt. This was my final attempt of about 20 different ones I found online...
    if not CUSTOMER-NAME1 is initial.
      XD02-NAME1 = CUSTOMER-NAME1.
    endif.
    REPLACE ALL OCCURENCES OF '"' in CUSTOMER-NAME1 with ` `.
    CONDENSE CUSTOMER-NAME1.
    Any suggestions? What am I missing?
    Thank you so much!
    Annette
    Nevermind... somehow asking for help made it work.... thanks anyways!
    Edited by: Annette Gagnon on Aug 9, 2010 11:23 PM
    Edited by: Annette Gagnon on Aug 9, 2010 11:45 PM

  • Remove crop marks from AI CS2 doc?

    Hi,
    I resized my document from a 8.5 x 11 to a 11 x 14 and then scaled the business card on it up 280% to fit in the new document size in Adobe Illustrator CS2. Everything is working fine except that my existing crop marks for the business card stayed the same size as the business card 3.5 x 2 so how do I remove these? I don't need them anymore.
    I will be having this printed so do I need to insert print marks or anything like that?
    Thanks in advance,
    ashmic19

    It worked! Thanks so much ScottW. I have no idea what it did but it worked. Thanks again!
    ashmic19

  • Best method to subtly remove scuff marks from white floor in a pic?

    I shot a model in a studio using a white backdrop. The backdrop under her feet is all scuffed up with marks. These marks are in a shadowed area, so I cannot just clone stamp clean areas from the background, since that is lighter and without shadow. Nor do I want to remove the shadow of the subject.
    These scuff marks ruin the shot, so I am really hoping there's a solution to this.
    My Photoshop skills are best described as advanced beginner.
    Thanks!

    Clone Stamp Tool, Healing Brush Tool, maybe also the Brush Tool (on a Layer with a noise Pattern Overlay to match the noise/"grain" of the image), … and as much time as it takes.
    You could also try Content Aware Fill etc.
    If you want to discuss editing approaches to a particular image not posting (the relevant section of) said image may make the discussion difficult.

  • Remove bleed marks from a PDF with creation tool unknown.

    I have a PDF that was given to me for use on our wensite.  This PDF contains bleed marks that I want to remove, is it possible to remove these using Acrobat 9 without cropping the pages?

    Perhaps with the redaction tool.
    Be well...

  • Remove water marks from sepia photo

    I have Elements 7.
    I wonder if anyone can direct me to the best way of dealing with a large sepia photo. About 25% of the photo has been spoiled by being in a damp area and under glass. This has turned large areas of the photo from shades of brown to mottled grey over the original brown tones. I have been trying for some while to find the best way of improving this with the healing brush and cloning but because some parts of the photo are significantly spoilt, it is difficult and inticate work. I don't mind that at all but I would hate to think that there was a quicker and easier way?
    I'd be grateful for any advice
    Thank you

    That's a tough one. I tried various things to remove the stain but no decent results. Might I offer this alternative:
    1. Copied the Background layer.
    2. I thought color was a bit too olive in tone so I converted to sepia for an antique look. To do this I made a Hue/Saturation change. In the H/S dialog window checked the Colorize box, set Hue to 30 and Saturation to 25.
    3. Made a Brightness/Contrast change to increase the Brightness a bit.
    4. Created a portrait-like background to cover some of the stains around the subject. To do this, set the Foreground/Background colors to light and medium shades of brown, added a blank layer at the top, and applied the Render > Clouds filter. Then applied a Gaussian Blur to soften the cloud effect a bit.
    5. Added a layer mask to the cloud layer and painted with black & white to create background around the subject.
    6. Did some cloning to fill out the knee and arm.
    7. Painted with brown over some of the stain still showing next to the arm.
    8. Linked the background and subject layers.
    9.  With the Elliptical Marquee, drew out an oval centering the subject, inverted and deleted the selection.. This created the oval on transparent background.
    10. Since the 2 layers are linked I used the Move tool to center the portrait/background on the canvas.
    11. Added a Solid Color adjustment later and set to brown for the "matte".

  • Remove book marks from old computer

    I have transferred bookmarks from foxfire on old computer to foxfire on new computer.
    I wish to give the computer away to a relative and want to remove bookmarks and password information. When ever I delete information from bookmark, the new computer's information is changed accordingly. What do I do?

    Are both of your computers connected to the same Firefox Sync account? If so, you may need to disconnect the old one from the account. One option is to change your account password using your new computer, and then not update the password on the old computer. This article has the steps for that: [[Disable Firefox Sync on a lost phone or tablet]].
    Assuming you have all your information on the new computer and no longer need any data on the old computer, you can uninstall Firefox and use the option to remove your personal information. This will delete your settings folder that includes your bookmarks, passwords, and history.

  • To remove check marks from the polist

    i am using 'BAPI_PO_CREATE1' to create a Purchase Order.The purchase order gets created but the problem is that when the purchse order list is displayed the "Goods Reciept" and "GR non-valuated" check boxes int the delivery tab are clicked which is not a requirement.
    i have tried top remove it by altering the BAPI_POITEM by making the feilds GR_IND = ' ' and GR_NON_VAL = ' ' but it doesnt work.
    Could you please help me to find a solution at the earliest.

    Hello,
    Have you also set the following fields:
    BAPIMEPOITEMX-POITEM = '00010'. "The Item number in PO
    BAPIMEPOITEMX-GR_IND = 'X'.
    BAPIMEPOITEMX-GR_NON_VAL = 'X'.
    BAPIMEPOITEMX-IR_IND = 'X'.
    along with
    BAPIMEPOITEM-POITEM = '00010'. "The Item number in PO
    BAPIMEPOITEM-GR_IND = ''.
    BAPIMEPOITEM-GR_NON_VAL = ''.
    BAPIMEPOITEM-IR_IND = ''.
    Also FM BAPI_TRANSACTION_COMMIT is to be called after the above BAPI is called to make a DB commit.
    I assume you have filled necessary fields in PO Header Structure.
    Let me know still if this does not work. Hope this helps you.
    Best Regards, Murugesh AS

  • How can i get the correct text from a string like it show in the original source with the quotation marks in the right place ?

    The text is in hebrew so the problem is that sometimes the quotation marks not in the right place.
    For example i have this text: תווית
    על בגד: ''תן לאישה לכבס. זה תפקידה''
    This is the source original text you can see the quotations marks and they are not in the right place and all i did is copy paste.
    And this is a screenshot of how this text looks like in the website in the original:
    You can see now where the quotations marks should be.
    Now this is how i'm using the text in my program:
    First of all i'm using a webclient to download the page from the website and i'm also encoding it to windows-1255 since it's in hebrew.
    using (var webClient = new WebClient())
    webClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    byte[] myDataBuffer = webClient.DownloadData("http://rotter.net/scoopscache.html");
    page = Encoding.GetEncoding("windows-1255").GetString(myDataBuffer);
    Then i'm extracting the places i need by reading the html file lines and parsing the right text and it's link.
    string loc;
    List<string> metas = new List<string>();
    List<string> metas1 = new List<string>();
    List<string> lockedLinks1 = new List<string>();
    string text = "";
    string mys = "";
    public List<string> LockedThreads(string filename)
    lockedThreads = new List<string>();
    lockedLinks = new List<string>();
    Regex textRegex = new Regex("ToolTip.*?(?=','<)");
    string[] fall = File.ReadAllLines(filename);
    for (int i = 0; i < fall.Length; i++)
    if (fall[i].Contains("http://rotter.net") && fall[i].Contains("locked")||
    fall[i].Contains("locked_icon_general") ||
    fall[i].Contains("locked_icon_anchor") ||
    fall[i].Contains("icon_anchor") ||
    fall[i].Contains("locked_icon_fire") ||
    fall[i].Contains("locked_icon_sport") ||
    fall[i].Contains("locked_icon_camera") ||
    fall[i].Contains("locked_icon_movie"))
    Regex linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    foreach (Match m in linkParser.Matches(fall[i + 2]))
    if (m.Value.Contains("><b"))
    loc = m.Value.Replace("\"><b", string.Empty);
    lockedLinks.Add(loc);
    string txt = fall[i - 1];
    string text = textRegex.Match(txt).Value.Replace("ToolTip','", String.Empty);
    if (text.Contains("&rsquo;"))
    text = text.Replace("&rsquo;", string.Empty);
    lockedThreads.Add(text);
    Already here on the List lockedThreads you can see the quotation marks not in the right place as in the original:
    After i'm parsing the text and links and adding them to the Lists in another class i'm doing a comparison using this Lists:
    foreach (List<string> l_branch in ListsExtractions.responsers)
    TreeNode l_node = treeView1.Nodes.Add(l_branch[l_branch.Count - 1]);
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    l_node.ImageIndex = 0;
    l_node.SelectedImageIndex = 0;
    for (int l_count = 0; l_count < l_branch.Count - 1; l_count++)
    TreeNode l_subnode = l_node.Nodes.Add(l_branch[l_count]);
    if (ListsExtractions.lockedThreads.Contains(l_subnode.Text))
    l_subnode.ImageIndex = 0;
    l_subnode.SelectedImageIndex = 0;
    The problem is in the line:
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    When it's getting to the line with the quotation marks it's never equal.
    Now there are more quotation marks.
    In general the problem when comparing both text if it's having quotation marks it's not the same.
    So i have two options:
    1. To fix it somehow so the quotation marks will be the same in both variables when comparing and also the same like in the original as they show in the html page.
    2. To remove the quotation marks from both variables.
    What should i do ? And how ? I was prefer to use the original quotation marks like in the original since they have a meaning in the place they should be. The question is how can i do it ?
    This is example of the block from the html file where the text with the quotation marks is:
    <TD ALIGN="RIGHT" VALIGN="TOP">&nbsp;<font size=-1 color=#ff9933><b>9418</b></font>&nbsp;</TD></TR><TR BGCOLOR="#eeeeee">
    <TD ALIGN="RIGHT" VALIGN="TOP">
    <body onmousemove="overhere()">
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();" onmouseout="deActivate()" href="javascript:void(0)">
    <img src="http://rotter.net/forum/Images/new_locked_icon_general.gif" border="0"></a></TD><TD ALIGN="right" VALIGN="TOP" WIDTH="55%">
    <FONT CLASS='text15bn'><FONT FACE="Arial">
    <a href="http://rotter.net/cgi-bin/forum/dcboard.cgi?az=read_count&om=189696&forum=scoops1"><b>
    <font color="898A8E">תווית על בגד: ''תן לאישה לכבס. זה תפקידה''</b>
    </a></font></TD>

    Ok, it is unclear on what is happening here.
    Are you saying that when the webclient gets the data that it is not honoring the quote characters? Or the processing of the data buffer is causing issues?
    This is what I see the of your example text which is trying to be parse out:
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();">";
    It appears to me that the  escapes `&rsquo;` does not have matching `&ldquo;` anywhere within the tooltip. So it appears that the page properly places left quotes in when processing the page, but the raw html has broken text.
    Hence a garbage in, garbage out situation.
    William Wegerson (www.OmegaCoder.Com)

  • How can I remove marks from the screen?

    I inadvertently touched the screen with the tip of a black permanent marker, and now have 2 little black dots spoiling the view! Is there anything I can (safely) use to get rid of them?

    YES there is a solution!
    I had this happen several years back to a new laptop. Someone borrowed my laptop at a business meeting to do a powerpoint presentation and had a permanent sharpie in their hand while they presented. In reaching over to press the "next" button during the presentation, they accidentally wrote on the screen. This put about a 1" blue mark across my screen. I totally freaked out!
    Anyway, in researching a solution, I discovered that there is a chemical solution used to remove permanet marker from photographic negatives without damaging/discoloring the surface or coating. I had a recommendation to try this as it would not damage the laptop screen. It worked great!!! The permanent marker wiped off as if it were a whiteboard. In the years using this laptop, I never noticed the mark again and never noticed any sort of discoloration or damage to the surface or screen coating.
    The chemical is used is a photographic emulsion cleaner called PEC-12. If you do a google search you'll find it all over the Internet. You may also be able to get it (or a reasonable substitute) at a local professional camera shop. You'll also see wipes for sale with these, which I also purchased. It's a lint free cloth that you spray the cleaner on and then wipe the film (or screen).
    I hope this helps you out.
    shepherdboy

  • Removing printer marks

    how do you remove printer marks from your PDF
    document?

    ChrisMercianLabels wrote:
    In case it helps find the solution, the issue can be re-created by:
    1) Create a new Illustrator document with 1 artboard (number not important) and add some random shapes to it.
    2) Save the document as a PDF and under the Marks and Bleeds section tick the "All Printer's Marks".
    3) Create a new Illustrator document (again the number of artboards is not important).
    4) Place your previously created PDF in step 2 into your new document.
    5) Embed the PDF.
    Okay, all is normal up to this point.
    6) By either using the Direct Selection Tool and clicking down into the grouped image, delete the printer marks so you are just left with the random shapes created in step 1.
    This is where the discrepancy must creep in. The placed PDF with printer's marks comes in as a "clipping group" contained in a rectangle the size of its original artboard + printer's marks. It's possible the printer's marks themselves bring along some nested clipping paths too. How certain are you that you are deleting everything but the "random shapes created in step 1"? If you are not releasing the clipping path(s) and/or un-grouping anything, it's very possible you're leaving frames which have no stroke and no fill.
    7) Now try centring the artwork to the artboard and depending on which alignment option you choose the artwork will shift to the right or down.
    Do you work with "edges" or "bounding box" visible? When you select the artwork to align, does the bounding box tightly surround the objects, or is it still the size of the original placed PDF?

  • How to un do highlighted marks from a text

    Please tell me anybody how to remove highlighted marks from a pdf text

    You can add multiple favorites for a contact - based on the numbers entered and available for the contact in the address book.
    I have a home and a cell phone favorite for my Mother as an example, and you can remove a favorite from the Favorites list.
    Go to Phone and select Favorites. Select the Edit button at the top left to remove a favorite from the list. Select the + button at the top right to select a different favorite number for a contact from a number available with the contact in the address book.

Maybe you are looking for

  • ALBPM Directory Service: Hybrid Configuration - MSAD Problems

    I've successfully configured the Directory Service of an ALBPM (Enterprise Standalone) v6.0.4 #94069 installation to use a MS Active Directory (MSAD) service for ALBPM organization infomation. I can view participant, group and organizational unit inf

  • Opening Works documents

    I am sorry if this is the wrong forum but I am not sure where else to post this question. I was wondering if there is any free or cheap program that would open documents made with Microsoft Works not word. I do not wish to purchase Works but have lat

  • "Installer failed to initialize" and Adobe Support Advisor HELP!

    I have tried downloading a trial of Photoshop Elements 11 and previously a trial of Adobe Photoshop CS6. Each time I get to the step where I launch the installer for the application, a box shows up saying, "Installer failed to initialize. Please down

  • I've uninstalled and reinstalled Photoshop several times and I still get Error: 16 upon opening it. What can I do about this?

    So, my Mac OS recently crashed. I installed the newest OS after reviewing the problem at an Apple store. The Mac works fine now but Photoshop refuses to open. When I open it, it comes up with this error message: Please uninstall and reinstall the pro

  • Champaign for Raydamonster

    For some three weeks I had been stuck in the iTunes authorization loop; where when trying to play my purchased music old accounts were presented demanding passwords, current account password wouldn't even be accepted to play music, the whole roundabo