Write the keywords of the open image

Hello

The "Photoshop JavaScript reference" document says the document.info.keywords is a read/write property.

I've opened an image in Photoshop which has 2 keywords. I can read it normally, but it seems that I can't write or delete these keywords

I need to delete all the current keywords and add just one called 'Treaty '. I m try:

var doc = app.activeDocument

var k = "Processed."

doc.info.Keywords = doc.info.keywords.splice (0, doc.info.keywords.length)

doc.info.Keywords [0] = k

He gets no errors but does nothing :/

What Miss me?

Thank you very much

Gustavo.

It work?

var doc = app.activeDocument;
var k = "Processed";
doc.info.keywords = [k];

Tags: Photoshop

Similar Questions

  • He cannot write the TIF Images to the DVD player.

    Original title: can not write on the DVD player.

    I'm trying to save several TIF Images on my DVD burner, but it does not work.

    When I go into my computer and look at the properties, it says there is 0 space used.

    space free 0-0 ability to the new blank DVD disc.

    It will play DVD movies.  Thanks for your help.

    Windows XP does not write on DVD, you can use another software.
    Your dvd player should also be a dvd burner, not just a cd burner.
    You should have software installed with the dvd burner, you have nero or roxio, this will do it for you.

  • Images JPG, stored in DB, are not displayed on the screen/image.

    Hi friends,

    I have a form to save and retrieve images (JPG, GIF, TIF) to and from the DB, using WEBUTIL_FILE_TRANSFER. CLIENT_TO_DB and CLIENT_IMAGE. WRITE_IMAGE_FILE respectively.
    It works fine, but with few JPG images, it stores in DB, but not displayed on the screen/image.
    Second, if I try to retrieve and write the JPG to the operating system (using CLIENT_IMAGE. "" WRITE_IMAGE_FILE), he invited error "FRM-47101: cannot write the file image.

    Environment:
    Forms [32 bit] Version 10.1.2.0.2
    Operating system XP Pro 2002 SP3
    Oracle DB 11 g Enterprise Edition rel. 11.1.0.7.0 - 64 bit

    Any help will be much appreciated.

    Hello

    Some recent JPEG formats are not supported by the forms. I can't tell you exactly what, but I have already noticed that some images could be made only by the forms. The only solution is to save the images with another program to transform the internal format to a recognize an or use a Java Bean able to read all of these formats.

    François

  • 'Install' is corrupted and cannot be opened. You must eject the disk image.

    Downloaded Photoshop CS5 several times and keep getting this warning: 'Install' is corrupted and cannot be opened. You must eject the disk image. Help!

    When you ask a question you will need to provide some basic information

    -Forum quick start https://forums.adobe.com/docs/DOC-5601

    Mac or Windows and EXACTLY what version of the operating system?

    Recent Mac AND Windows operating systems have been known to cause problems "weird."

    Using a full account of computer administrator with read/write permission?

    IF El Capitan Mac read below

    CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan

    -which means you are trying to use CS6 and earlier at YOUR risk of having problems

    -You can get CS6 and previous programs to install and run, or you can not (some do, some don't)

    -Java https://helpx.adobe.com/dreamweaver/kb/dreamweaver-java-se-6-runtime.html can help

    Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)

    -also a TEMPORARY security change https://forums.adobe.com/thread/2039319

    -http://mac-how-to.wonderhowto.com/how-to/open-third-party-apps-from-unidentified-developer s-mac-os-x-0158095 /

    -the guardian https://support.apple.com/en-au/HT202491

  • I opened a picture with preview and all pixels become white. Is it possible to recover the original image?

    I just opened the photo and every pixel in it became white. There is no way to return to a previous version of the image, as if she had initially being that color. The size of the image remains the same, but each pixel is white.

    This is the second time that's happened, but the previous one, I was able to recover the deleted original file on my SD card, which is not an option at this time.

    I would like to know if there is an app or option on Preview that allows me to recover the original image.

    White preview screen glitch

    back-

  • Impossible to define the action of opening image/jpeg in Firefox

    I want to just open and display a jpg in a firefox tab, but instantly, link it asks me if I want to save or open by another application. Fine. I go into Options - handling jpg action change requests. There are 2 types of jpeg, one is "JPEG Image (image/jpeg) and the other"JPEG Image (text/html). I can change the action "text/html" to serve the action by default for Firefox, but for "image/jpeg", no matter how many times I tried, it just does not allow me to choose Firefox but any other actions or requests. Precisely, I choose Firefox in the 'Select Helper Application', but after I clicked 'OK', she returned to the old stock. I tried restarting Firefox and tried again, but not good at all. It frustrates me so bad.

    Are you sure that these images are to be sent with the right kind of MIME for images and not with the generic MIME type that makes Firefox view the 'Open with' dialog box?

    You can watch this extension:

  • When I open the thumbnail images in another tab they are pixelated, what's the problem?

    When I go to a website with pictures they are pixelated. Placing the cursor over each image the gives me the ability to press 'alt' and 'r' to refresh the image or 'alt' and 'a' and refersh the entire page. When I open an image of thumbnailed in a new tab, if yes or no I refreshed the page or the image beforehand, the image is pixelated and I can not 120 Hz it. What is going on?

    This has happened

    Each time Firefox opened

    Looks like you are using a dial-up with a 'Accelerator' connection If this is the case, it's a feature of this ISP web accelerator. They accelerate the loading by initially providing lower quality images and giving you the option of loading the original image, full resolution in their cache with shortcuts for the page. Other ISPS with a web Accelerator feature using elements of context menu, which are added to Firefox via an extension installed in Firefox.

    Insofar as not having is not able to load the image quality when you open it in a new tab, I don't know why that option does not appear. You must contact your ISP support for questions on this issue.

  • MacBook Pro stops when the lid closes, loses the open tabs and background image...

    Hi all

    I recently had a new hard drive installed in my 2012 13-inch MacBook Pro. I am running El Capitan 10.11.2. Since then, my computer cuts automatically to the bottom when the lid is closed, losing all Web pages, and for some reason, some background, I've saved. (My browser is Mozilla Firefox and it prompts you to restore me the tabs lost, which he will).

    The led standby does not blink or light up when the computer is turned on, it will turn on only at startup. At startup, the login page is displayed, and after that I entered my password it takes about 15 to 25 seconds to load and open my account. What is going on?!

    Summary:

    Stop when the lid is closed,

    Loses the background image & open Web pages.

    Standby blinks only when starting,

    Time of loading extended after logging into my account.

    Any help would be greatly appreciated! Thanks a lot for reading.

    uhlexia wrote:

    Hi all

    I recently had a new hard drive installed in my 2012 13-inch MacBook Pro. I am running El Capitan 10.11.2. Since then, my computer turns off automatically when the lid is closed.

    Take it back to the repair as well as your receipt of repair shop.  Apple has a 90 day warranty on all repairs.

  • My cd-writer/DVD disc tray does not open when I press the Open button. He is not blocked and has no disk in it. How can I me t to operate?

    Cd-writer/DVD disc tray does not open when you press the Open button, or when you use the buttons to control the media on the keyboard. How can I restore it to its operating state?

    Hi John,.

    Please let me know exactly what happened when you tried my suggestions of first and second.

    Of your most recent post, looks like you're watching the wrong part of the Device Manager. Optical drive is listed under "readers of CD-ROM/DVD-ROM". The info you gave appear under "drives". If the drive is not listed under "readers of CD-ROM/DVD-ROM" or there is no such section in Device Manager, then Windows do not see. If windows can't see it then this means that there is no power or that the drive is broken.

    When you pushed the drive back in, the player no longer has much of the book or did you have to push all the way. If the latter, it means that the drive has no power or is broken.

    With respect to the opening of the case, I guess I should ask first if it's a laptop or desktop?

    Tricky

  • I don't see pictures to the owner/documents without opening each file individually. I just see the same image of a mountain and the Lake for each file.

    I don't see pictures (jpeg images) to the owner/documents without opening each file individually.  I just see the same image of a mountain and the Lake for each file.  When I look in windows XP, the JPEGs under 'my computer' and select 'film' or the 'miniature' I can see the image.  Why can I not see the image using Vista?

    I don't see pictures (jpeg images) to the owner/documents without opening each file individually.  I just see the same image of a mountain and the Lake for each file.  When I look in windows XP, the JPEGs under 'my computer' and select 'film' or the 'miniature' I can see the image.  Why can I not see the image using Vista?

    Start button > in the search box, type options records > press the Enter key > click on view tab > uncheck " always show icons, never thumbnails " > click OK for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • When I open a folder with pictures an icon shows for all content, it allows to view the actual image

    When I open a folder with pictures an icon shows for all content, it allows to view the actual image

    Button start, in the search box, type folder options... Enter... click on view tab... turn off always show icons, never thumbnails... OK when finished.

  • Message "Windows Explorer has stopped working" after the opening of the "Images".

    Hello.
    I have Windows Vista 32 - bit home basic OS with SP2.
    When I open "Images", I get a message saying "Windows Explorer has stopped working" with an option to restart the program, which just closes. The details of the message are:

    Signature of the problem:
    Problem event name: InPageError
    Error state code: c0000185
    Type of media loopholes: 00000003
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033
    Information additional 01:40 d 4
    More information 2: 4062ad41ec8067256aa4c5e2b56d3c79
    Information additional 03:40 d 4
    Additional information 4: 4062ad41ec8067256aa4c5e2b56d3c7

    This error message comes just out of nowhere I do not install anything or make updates when this issue was raised. I tried to restart the computer, but it did not help.

    I checked for viruses, but none came.

    Then, I tried to do system restore, but it could not solve the problem.

    In addition, I used the command line to find the problem and found a few corrupted files, it has been unable to remedy.

    Details of SFC are:

    «2010-11-17 11:38:44, Member's file Info CSI 00000160 [SR] cannot repair [01:24 {12}] "settings.ini" in the sidebar of Microsoft Windows, Version 6.0.6002.18005, pA = Process_Architecture_Intel <0>...» »
    and there is more like that, but I don't know how to copy and paste these messages.

    I don't know what to do from here.

    I don't want to reinstall all of Vista. In addition, Vista is PREINSTALLED on my computer.

    Oh and I am not an expert in using the command prompt,-j' found how to do this in other forums.

    Please help on how to solve this problem.

    Thank you!

    Hello

    Norton search spyware however your question may be caused by or to the less aggravated
    by Norton.

    Norton/Symantec is known to cause strange problems and aggravate others. Better is to uninstall
    for a test by simply disabling will still allow pieces of it to install. Uninstall it and run the Norton
    Removal tool to avoid problems causing leftovers being left behind. The following recommendations
    to use when testing, even better all the time.

    List of tools to clean/uninstall anti-malware programs
    http://social.answers.Microsoft.com/forums/en-us/msestart/thread/407bf6da-C05D-4546-8788-0aa4c25a1f91/

    Norton Removal Tool
    http://us.Norton.com/support/kb/web_view.jsp?wv_type=public_web&docURL=20080710133834EN&LN=en_US

    ------------------------------

    Here's what I use and recommend: (these are all free and very effective versions.)

    Avast and Prevx proved extremely reliable and compatible with all I have
    launched on them. Microsoft Security Essentials and Prevx have also proven to be very
    reliable and compatible. Use MSE or Avast and Prevx, Prevx 3 but not all.

    Avast Home free - stop any shields is not necessary except leaving Standard, Web, and
    Operation of the network.

    Prevx - Home - free

    Windows Firewall

    Windows Defender (is not necessary if you use MSE)

    Protected IE - mode

    IE 8 - SmartScreen filter WE (IE 7 phishing filter)

    I also IE always start with asset if filter InPrivate IE 8.
    (It may temporarily turn off with the little icon to the left of the + bottom
    right of IE)

    Two versions of Avast are available 5.x and 4.8 x

    Avast - home - free - 5.x stop shields you do not use (except files, Web, network, &)
    Shields of behavior) - double click on the icon in the Notification area - real time Orange - click on the
    Shield that you want to stop - STOP. To stop the Orange icon to show an error indicator-
    Click on the Orange icon - top right - settings - click on the status bar - uncheck shields you
    disabled - click OK
    http://www.avast.com/free-antivirus-download

    Avast 4.8 x - home - free - stop shields, you don't need except leaving Standard, Web,.
    and the network running. (Double-click the blue icon - look OK. - upper left - Shields details
    Finish those you don't use).
    http://www.avast.com/free-antivirus-download#TAB4

    Or use Microsoft Security Essentials - free
    http://www.Microsoft.com/Security_Essentials/

    Prevx works well alongside MSE or Avast

    Prevx - home - free small, fast, exceptional protection CLOUD, working with other security
    programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here
    or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    PCmag - Prevx - Editor's choice
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Also get Malwarebytes - free - use as scanner only. If you ever think malware and that
    would be unusual with Avast and occasional Prevx running with the exception of a low level cookie
    (not much), to UPDATE and then run it as a scanner. I have a lot of scanners and they
    never find anything of note that I started to use this configuration.

    http://www.Malwarebytes.org/

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • No display of the thumbnail image only box just logo of the program used to open it?

    When I open one of my photo folders the thumbnail view of all the photos in the particular folder will come with the logo of the particular show used to open it, but there is no display of the particular image. What should I do so that the images will show (in box) picture of the folder with images makes it explicit. Thank you!

    The solution to the problem where I selected systems in conrtrol Panel; checked the systems developed and then, under performance settings I checked Show thumbnails and not icons. In fact, it was already ticked so I don't know why it was a problem in the first place.  Thank you!!

  • Open XML, how to write the path

    Hello

    I'm new to the Blackberry development and I hope you can help me with my problem. I try to work with an XML file, and so far, all that does very well as long I had the xml file, I work on, in the folder of my java application and deyployed using the desktop software. Now, I tried to put the file somewhere else on the Blackberry and I don't know how wirte the path to the source code. I tried the following, but it seems to be bad:

    private static String _xmlFileName = "file:///store/home/user/documents/test.xml";
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                DocumentBuilder builder = factory.newDocumentBuilder();
                InputStream inputStream = getClass().getResourceAsStream( _xmlFileName );
                Document document = builder.parse( inputStream );
    

    I hope you can give me a hint, how I write the correct path?

    Thank you very much!

    Best regards, jtr87

    PS: Sorry for my bad English, but I did not use it very often.

    You need to do something like that to get your InputStream:

    /** * @return an open InputStream for a file, or null if file does not * exist. * @throws IOException if there is an error opening the file */InputStream getInputStream(String name) throws IOException {
        FileConnection fc = null;
        try {
            fc = (FileConnection) Connector.open(name, Connector.READ);
            if (fc.exists()) {
                return fc.openInputStream();
            }
        } finally {
            if (fc != null) {
                try {
                    fc.close();
                } catch (Exception ignored) {
                }
            }
        }
        return null;
    }
    

    Notice that you must close the FileConnection at some point, regardless of if the call to openInputStream worked.

  • Well when I transfer my videio and/or photos from my camera sd card, when the transfer images will open in Windows Live Photo Gallery with pictures showing as a large icon.

    Well when I transfer my videio and/or photos from my camera sd card, when the transfer images will open in Windows Live Photo Gallery with pictures showing as a large icon. My photos are stored on my HP-Pavilion(E:).) drive

    But after that when I click on the drive C: E: MyPictures they open as a flower tile. I can go to the top, then click on view and then large icon and they will change to display an icon of the photo. But the next time I go in this same folder they showup new slot-shaped sticker flower. I can go through the same process and click the show the big icon and they will change to a large icon image.

    It was that all of my photos, at all times, remained as a large icon all the time. Something has changed this feature.

    Now I can go to the libraries, photos, My Pictures(E:) et cliquez sur n'importe quel dossier et le dossier s'ouvre avec les images dans ce dossier, montrant une image de grande icône.)

    Something has changed at the sight of my photos in the folder that contains photos. I can't stay on display large icons.

    Thank you

    Hey

    Follow article

    http://www.SevenForums.com/general-discussion/75911-how-can-i-keep-all-folders-changing.html

    Good luck

Maybe you are looking for