Suddenly unable to change script labels

All of a sudden, I can't change the labels of script for one of the images in a document that I'm putting in CS4. Or, to be precise - ID won't remember/honor the changes I made. I can type a new value in the Script label Panel and pass, but when I go back and look at this new framework, the old script label is always there - my change was scrapped / unknown.

Any ideas? I have restart ID, without change.

Try an export to .inx...

Tags: InDesign

Similar Questions

  • Change/save 'label' and 'author' of CR2 documentInfo scripted PSD

    I have a script which is function well and I created to save 2 jpg after having worked/changed CR2 images in Photoshop.

    When it's done, I didn't ' t to save the image of CR2 and I close without saving the original image at the end of the script.

    In the same script in photoshop and just before closing the CR2 (I already have the variable with the location and the name of the image of CR2) I want to:

    1. change 'bridge labelling' CR2 image;
    2. put (adding to the info already there) the name of the author (in the documentInfo from the original image of CR2).

    Is it possible to do without saving the CR2 in the end?

    Post edited by: Pedro Cortez brands

    I'm really not good at Bridge scripts. Maybe others can answer some of your questions, or you could ask in the forum script bridge.

    But to answer your first question. You send the file as an argument to the psRemote

    function psRemote( fileObject){
            function setLabel(file,label) {
            try{
                loadXMPLibrary();
                var thumb = new Thumbnail(file);
                app.synchronousMode = true;
                var xmp = new XMPMeta(thumb.synchronousMetadata.serialize());
                xmp.setProperty( XMPConst.NS_XMP, "Label", label );
                var newPacket = xmp.serialize(XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
                thumb.metadata = new Metadata(newPacket);
                unloadXMPLibrary();
            }catch(e){
                alert(e);
                unloadXMPLibrary();
                return -1;
            }
        }
        function setAuthor(file,author) {
            try{
                loadXMPLibrary();
                var thumb = new Thumbnail(file);
                app.synchronousMode = true;
                var xmp = new XMPMeta(thumb.synchronousMetadata.serialize());
                xmp.deleteProperty(XMPConst.NS_DC, "creator");
                xmp.appendArrayItem(XMPConst.NS_DC, "creator", author, 0, XMPConst.ARRAY_IS_ORDERED);
                var newPacket = xmp.serialize(XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
                thumb.metadata = new Metadata(newPacket);
                unloadXMPLibrary();
            }catch(e){
                alert(e);
                unloadXMPLibrary();
                return -1;
            }
        }
        function loadXMPLibrary(){
            if ( !ExternalObject.AdobeXMPScript ){
                try{
                    ExternalObject.AdobeXMPScript = new ExternalObject
                                                        ('lib:AdobeXMPScript');
                }catch (e){
                    alert( ErrStrs.XMPLIB );
                    return false;
                }
            }
            return true;
        };
        function unloadXMPLibrary(){
            if( ExternalObject.AdobeXMPScript ) {
                try{
                    ExternalObject.AdobeXMPScript.unload();
                    ExternalObject.AdobeXMPScript = undefined;
                }catch (e){
                    alert( ErrStrs.XMPLIB );
                }
            }
        };
        var f = new File( fileObject );
        setLabel(f,'red');
        setAuthor(f,'authorName');
    }
    var f = new File('/O/DCIM/100NCD80/DSC_5265.NEF');
    var bt = new BridgeTalk;
    bt.target = "bridge";
    var myScript = ("var ftn = " + psRemote.toSource() + "; ftn("+f.toSource()+");");
    bt.body = myScript;
    bt.send(200);
    

    For as far as the labels go, at least in the English version of the bridge ' red, 'Greens', etc., are the default names for the 5 different color labels. These can be changed in the preferences of Bridge. I guess you would have to modify the script for non-English labels or customized.

    Working with xmp sidecars is more difficult to work with the normal metadata. I don't know what would be the best way to manage the existing data of the author.

  • How to change the label color in the script Labelgraphics in?

    I use the ID CS4 and run the script Labelgraphics to tag multiple images in a document of great size. When I run the script thre, the box with the name of the file is transparent with black text. I wish that the box was white with black text. Is it possible to edit the script that will allow this? It would be great if there was a 'style of object' in addition to 'paragraph style' in the pop-up of script execution. Anyone?

    I was going to try but decided to look around a bit. See Change Script adds captions from the Clipboard to Images. The script modified by Steve Wareham allows to set a background color; and you can use the drop-down list Style to select a paragraph style that has "[Book]" as the color of the text.

    [Edit] UM. You want black text. Well, essentially it is that put you it in the style of paragraph for your caption, so still no sweat.

  • Change the label of the TOC in another language in Captivate 7

    I use 7 Captivate and created a number of English projects.  I have translated the English files to the French (by export/import of legends), changed the voice, etc, etc.  Everything is now in French in the project except the title of the Table of contents when activated.  I already changed the labels in the table of contents for things such as slide title, length, etc. by creating the TOCStrings.ini file and copy it in my root folder - which works as described in other posts/blogs. However, I'm unable to change the position and the label of "Table of contents" to the French.

    Is the TOCStrings.ini file instead of changing the label of TOC in French?  If so, can what channel I add to the file to make this change happen?

    Can you get it someone please let me know where the change is possible (if not in the TOCStrings.ini) , or if the change is still possible?

    Thank you!

    If you enter the data in the information fields in the table of contents, the 'Table of contents' indicator will be replaced by the title field.

  • Pls fix my script for the creation of script label

    Hello

    I want to add the script label name in Masterpages only which was in options 'thread of text. Is it possible by script?

    This is my code

    var myTextFrame=app.selection[0];
    myTextFrame.label="textpage";
    var myNextFrame=myTextFrame.nextTextFrame;
    while(myNextFrame !=null)
    {
        myNextFrame.label="textpage";
        myNextFrame=myNextFrame.nextTextFrame;
        
    }
    
    
    Instead of first line I want to create this script label "textpage" for master page 'text thread' text frame only
    

    Instead of the first line, I want to create this script name "enriched" page master "thread of text" text frame only. How to change my script pls help me?

    FOR INFO:

    1.png

    by

    hasvi

    Hi Hasvi,

    Try this.

    var doc = app.activeDocument;
    var mspreads = doc.masterSpreads;
    
    for(var i =0;i1)
            {
                    var txfmlength = mspreads[i].textFrames;
                    for(var j=0;j
    

    Kind regards

    Cognet

  • How is the best way to change the label of an icon on the home screen

    When I place an icon on the home screen I want to change the label, I wish it were.

    I don't see in an integrated way to do this.

    You can name a bookmark all you want, but when you a site now pressure on the home screen and click on Edit, bookmarks are not always suggested as matches. The only way I can assure you that a referenced site is listed is to add some unique characters for the name of the bookmark that don't arise in the history of this site. Of course, this is taking away total control...

  • I am suddenly unable to burn playlists to CD on my MacBook Air. Error message says "Disc burner or software not found" iTunes software is up to date: the current version is 12.4.1

    I am suddenly unable to burn playlists to CD on my MacBook Air. I burned a CD only 2 days ago.

    Error message says "Disc burner or software not found" iTunes software is up to date: the current version is 12.4.1

    Hi BVBigelow,

    I understand that you are not able to burn playlists in iTunes on your MacBook Air. Fortunately, we have an article (link below) which details a number of steps that can help to restore your ability to burn CDs of troubleshooting.

    12 iTunes for Mac: If you have trouble burning a disc

    Take care!

  • Hello, am unable to change the location in the app store

    6 +, am unable to change the location in the app store. Change to is not the location of payment information

    Today, there is a problem with the App Store. Please try again later.

  • I am suddenly unable to leave Mail. The option is grayed out and leads to not allow me to stop my Mac. What can I do?

    I am suddenly unable to leave Mail. The option is grayed out and leads to not allow me to stop my Mac. What can I do?

    Choose force quit from the Apple menu, and then close from there.

    (137093)

  • Calendar view-only and users are unable to change the time.

    We use Windows Server 2003 R2 active directory and group policy.

    Group Policy, we blocked sytem time change but after this timetable can also test block user cannt read calander also

    pls sugget me to resolve this issure

    Calendar view-only and users are unable to change the time.

    Hi sunil77,

    Your question about changes in UAC using Group Policy on Windows Server 2003, it will be better answered by the experts in the Group Policy Forum. Please repost your question to the address provided.

  • Aspire Switch SW5-012 10 W8.1 I'm unable to change the size of the on-screen keyboard.

    On my new Aspire Switch SW5-012 10 with Windows 8.1, I am unable to change the size of the on-screen keyboard. Microsoft can't help and refers to the Acer support.

    Is there a solution to this?

    There is no way to resize it.

  • Resolution of problem - unable to change to a lower resolution

    original title: resolution of problem, please help!

    The resolution on my monitor, I cannot go smaller. I can't move the resolution bar upwards or downwards

    and I am unable to change the screen type in the "display properties" under my control panel. Nothing I

    seems to fix the problem!

    Can anyone help?

    Thank you

    Hello

    • Create a restore http://support.microsoft.com/kb/948247 point
    • Start the PC in safe mode - F8 struck twice a second immediately after the ignition until you get a menu b & w, select Safe Mode from this menu. Don't worry strange messages or the appearance of the screen when he finally gets to the opening scene of session.
    • Log on as an administrative user - use admin if that is presented as a possibility
    • Click Start, click Run, type devmgmt.msc and press enter
    • Expand the display of the maps section by clicking on the +.
    • Right-click on any graphics contained therein and uninstall them
    • Restart the computer and wait that all devices to be detected again, select OK to all the prompts that appear, select automatic search if this option appears
    • Don't worry about the appearance of your screen immediately, once that all the material was again detected and installed, restart the PC again
    • Try to make the resolution changes after the second reboot

    If this messes up your PC use the restore point created in the first step to get things back the way they were http://support.microsoft.com/kb/306084

    After return if problems persist with details for further assitance.

    Tricky

  • How to change the label of the plot

    Easy question. I have a table of 2 x 2's graphical waveform. How can I change the labels on each of these plots the text I want? I look in the property nodes, but couldn't find it. Thank you!

    Hi d1sturban...

    do you mean like this?

    Mike

  • I'm using windows mail & were suddenly unable to send e-mails. Error number: 0x800CCC0B.

    I'm using windows mail & were suddenly unable to send e-mails... I get great e-mails... This is the error message that appears: "an unknown error has occurred. Object 'Second Half of Life', account: 'mail.nctv.com', server: 'smtp.gmail.com', Protocol: SMTP, Port: 465, secure (SSL): Yes, error number: 0x800CCC0B "... Thanks for any help.  I don't know what caused this problem... my son were on the computer & I am concerned, it's something they've done... Thank you

    original title: Please help... I can't send emails

    Hello msshelley

    Look at the following KB and apply the hotfix. Let me know if it helps. Thank you.
  • HP 8600: Printer suddenly unable to be detected by computor

    Suddenly unable to print more computer wireless.  Message "unable to communicate with the printer.

    Printer prints correctly in its own Help menu

    Many other components of wireless connection (for example: wireless speakers)

    In Device Manager - general tab, get "no drivers are installed for this device."

    Power off the printer and the router. Turn on the router and wait 3 minutes. Turn on the printer and see if it connects to your router with a valid IP address.

Maybe you are looking for