How to add properties or custom compositions and layers attributes

Hi all

Would it not possible to add the custom properties to the compositions and layers that our exporter would then be able to deal with?


These would have no visuals in AE but would affect the rendering in our search engine.

An example of this would be to add a property to a layer to indicate that it is a change password text box.

All the tracks would be greatly appreciated.

You can try to use the integrated XMP metadata. I was playing around with it in an old script to store data in the project without resorting to the use of hacks of text layer and it worked fine.

Two functions - one to write the data:

setMetadata function (data) {}

var app.project = proj;

if(ExternalObject.AdobeXMPScript == undefined) {}

ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');

}

Var = new metadata XMPMeta (proj.xmpPacket);

var schemaNS = XMPMeta.getNamespaceURI ("MyNamespace");

If (schemaNS == "" |) schemaNS == undefined) {}

schemaNS = XMPMeta.registerNamespace ("MyNamespace", "MyNamespace");

}

try {}

metaData.setProperty (schemaNS, "MyNamespace:compInQuestion", data.compID);  Suppose that these variables are pre-programmed

metaData.setProperty (schemaNS, "MyNamespace:layerIndex", data.layerIndex);

metaData.setProperty (schemaNS, "MyNamespace:dataToStore", data .myData);

} catch (err) {}

Alert (Err.ToString ());

Returns - 1;

}

proj.xmpPacket = metaData.serialize ();

}

To get the metadata from a script, a function as follows:

function getMetadata (property) {}

var app.project = proj;

if(ExternalObject.AdobeXMPScript == undefined) {}

ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');

}

Var = new metadata XMPMeta (proj.xmpPacket);

var schemaNS = XMPMeta.getNamespaceURI ("MyNamespace");

If (schemaNS == "" |) schemaNS == undefined) {}

return undefined;

}

var metaValue = metaData.getProperty (schemaNS, real estate);

{if(!metaValue)}

return undefined;

}

Return metaValue.value;

}

Because XMP is an external object, you should be able to access from outside of a script, as in a C++ IO plugin.

Christian

Tags: After Effects

Similar Questions

  • Hello. I just know that the muse and I need an organization of customers in alphabetical order. The problem is that you will always get new clients. I need to know how to insert a new customer (square), and it is already in alphabetical order on the page.

    Hello.

    I just know that the muse and I need guests alphabetical organization. The problem is that you will always get new clients. I need to know how to insert a new customer (square), and it is already in alphabetical order on the page. The site will be as in the link below, and each customer will have a window of these: http://www.connary.com/. I look back.

    A hug, Murilo.

    I believe you are referring to the rectangles of tile as visitors on the page? not exactly customer database?

    You can add rectangle with different effects with rollover State of mouse and about adding new, you must do this manually in design mode.

    Thank you

    Sanjit

  • How to add new fields of contacts and accounts?

    How to add new fields of contacts and accounts?

    You can use 'Fields' and 'View '.

  • How to add an icon 'apple' ipad and iphone site is currently hosted on businesscatalyst?

    How to add an icon 'apple' ipad and iphone site is currently hosted on businesscatalyst?

    I'm not entirely clear what you're asking. Looks like you want to add a favorite to your devices, which is done simply by adding a bookmark on the device itself. This has nothing to do with the Muse or BC.

    Mylenium

  • How to add images to my table and how to configure the Web site? Help, please

    I do not understand how to configure the Web site and add images to a table and make hyperlinks.

    First, set the folder of your Local Site saying DW where to save the files on your local hard drive.  Go to Site > new Site.

    I think it is easier to start with a page layout predefined by using one of the appropriate templates to bootstrap that comes with DW.

    Go to file > new > (Starter models > models Bootstrap). Select one:

    • Bootstrap-Agency
    • Bootstrap-eCommerce
    • Bootstrap-Portfolio
    • Bootstrap-product
    • Bootstrap-real estate
    • Bootstrap-curriculum vitae

    Press the button create.

    For pictures, go to insert > Image. Select an image and save it in the folder of your local site.

    Nancy O.

  • How to add buttons in the script, and then click on run different codes?

    If we run the script, then it should display ok, cancel button 6 button. If we click on button1 coding with button1 dangerousness must be running and so on.

    Button1

    Button2

    Button3

    Button4

    button5

    Button6

    OK Cancel.

    Marie rosine

    // DialogSimpleButton.jsx
    // http://forums.adobe.com/thread/1327372?tstart=0
    // how to add buttons in script, which on click run different codes?
    
    // regards pixxxelschubser
    
    function SimpleDialog() {
    
    var w = new Window('dialog', '');
    this.windowRef = w;
    w.orientation = "column";
    
    btn1 = w.add('button',undefined,'Button 1');
    btn2 = w.add('button',undefined,'Button 2');
    btn3 = w.add('button',undefined,'Button 3');
    btn4 = w.add('button',undefined,'Button 4');
    btnOK = w.add('button',undefined,'OK');
    btnCancel = w.add('button',undefined,'Cancel');
    
    btn1.onClick = function() {alert("Button 1");};
    btn2.onClick = function() {alert("Button 2");};
    btn3.onClick = function() {alert("Button 3");};
    btn4.onClick = function() {alert("Button 4");};
    
    defaultElement = btnOK;
    cancelElement = btnCancel;
    btnOK.active = true;
    
    btnOK.onClick = function() {
        stuff = "your stuff";
        w.close();
        }
    
    w.show();
    }
    
    var stuff = null;
    SimpleDialog ();
    if (stuff) alert(stuff);
    
  • How to add a button custom Dreamweaver cs5?

    Hello

    I want to add a custom button to "View basket" on my site. I went on a random site where I was able to create a custom image for my view cart button. The button I got was called button.php. I checked the document properties and some have been gathered about it. Is the file type: Adobe Fireworks PNG (.png) file. It is supposed to open with: Adobe Fireworks CS5. I made a copy of this document and put it in Dreamweaver by opening a blank page and paste the image in there. I saved the page and published.

    Then, I went to paypal and put the link to the published page where he asked. I got a code I pasted into dreamweaver in the section I wanted the "View cart" button to appear. When I save and publish this page, the button is never displayed. Name of PayPal, is what appears and when you click it, it goes to the basket.

    If the problem seems to be with how I downloaded and saved this picture/button on Dreamweaver. Can someone tell me please the right way to download to make it appear on my site?

    Thanks in advance.

    Kind regards

    Laila

    Your difficulty stems from your having clicked the button 'protect my code' on the site of Paypal when you have configured the source of your button code.

    This encrypts your code to hide your email address, but also impossible to read when you want to replace your custom button image.

    Go to the Paypal GET your code again, and this time do not click "protect my code".

    You can then read the code and easily swap your image for the version of Paypal.

    Paypal support is great, and here's another series of good information

    http://www.ehow.com/how_5865265_add-custom-button-PayPal.html

  • How to add a single check box and a label to an image of Muse?

    Hello!

    I need help with adding a checkbox with a label to the right of it. I don't know about the forms and how you can add a checkbox, but I don't need the other options form.

    Hello

    It is not possible to use only the check box of a shape at the moment. Another way could be inserted using html, something like below

    A check of the sample

    I'm not sure what exactly you are trying to reach, but it will work with the Form tag only, as in the example here

    The editor tryit v2.5

    Let me know if you have any question.

  • How to add text on the video and still images?

    CS 5.5. I want to add text credits at the end of a clip on top a fixed image, but I don't know how to do it. I don't want to do some exploring, text just above the .jpg image. I tried to use the title of"to do, but for some reason any title using part of the video for do not return, it comes with a yellow instead of red like the rest of the video in the timeline. I searched the FAQ and google for help and all that shows is how to make a title using text.

    Thank you

    For some info on the red, yellow and green bars go look here http://blogs.adobe.com/premiereprotraining/2011/02/red-yellow-and-green-render-bars.html

  • How to add a padding lines spark and mx datagrid

    Hi all

    I want to add the top and lower padding in each line of the spark and mx datagrid control.

    Please help me how do.

    I think that in Spark you add padding in the rendering engine.  In mx, you should bea wheat

    to set paddingTop/paddingBottom styles.

  • How to add values to competitor account and account partner

    Hi all

    I wanted to add some values for the account partner and competitor account. When I navigated to account - account relationship fields, I found these 2 choice lists are read-only.

    Is it possible to add values to these 2 choice lists like the list of choice in the industry?

    Thanks in advance.

    These two fields are research fields that allow you to search for an account partner or competitor account. They are not the choice list fields. However, you can create a custom list of choice of partners or competitors field.

  • How to add a checkbox custom Muse?

    Hey,.

    IM new to adobe muse and coding in general. I have a work project and I need help with adding a checkbox custom in Muse.

    Thank you

    I created a little video for you:

    https://www.dropbox.com/s/tu5oyoyeautlimd/checkbox.swf?DL=0

    Thank you

    Sanjit

  • How to add text in acrobat pro and create space in the document so that's the part of the original text

    is it possible to add text between already existing as PDF text?

    Not at all practical. Change the original, never the PDF document unless the sky fell, the original is lost and cannot be done for money, and all backups have been eaten by termites.

  • How to add a leader of overflow AND repeat an overflow table header line

    I created a dynamic PDF form that contains a table. The table overflows perfectly on the next page when enough lines is added, but I wish that both the leader and title the line table to be repeated on each page header. Is this possible?

    Of course it is. Just eliminate the margins of the HeaderRow subform.

    As for what I did, I just created as second header with everything you want to show on the headers when overflow and set the original header to appear only on the first page and the second header is displayed on the overfowned Board.

    To do this simply select the header "-> properties-> object-> paging" and you will find her understand this about page xxxx options.

  • How to add form fields to the form of attributes

    Does anyone know if the channels of its possible to add the custom text in the form of attributes in a list (product great view) product.

    I created a checkbox control in a new attribute of product but this box has also two string text fields I need to insert that will define the object checkbox.

    i.e.

    CheckBox checked = |  String [name] |  text string [number]

    Thank you

    Wayne

    You want to use is the field of details of capture.

    When you check on a product and you have this tag in the layout, it will make a text box.

    You can use this for details of captcha that come through the order in the system.

    If you have several fields for different things, you can create those of the disposition of the proceeds, CSS hide the data text box captcha box and fills with javascript based on the field that you create.

    You can also add new fields to your web form to the registration form buy as its functionality is still a custom web form. You can add to that in the admin, update the registration purchase arrangement with the shape that they include those. You can create those to be both custom fields CRM, if you

Maybe you are looking for

  • Portege is stuck with fan at full speed

    Sometimes even a few times a day.There were theories blaming the docking station. Once upon a time, an update firmware for the fingerprint, which was supposed to remedy.Well, after 4 years of suffering, losing the files, without solution of Toshiba..

  • Re: Drivers A210 TK-57

    Hi all I have a Satellite A210 FS3 as reference to my first PC Toshiba laptop, so I don't have good knowledge in IT.I Windows Vista and that you want to reinstall, so I don't have cd backup, do not have backup in the D partition and can't find this r

  • How to install iOS 9.3

    How to download iSO.9.3 and install

  • HP Pavilion dv6-6023tx graphics drivers

    [Form of base system] Operating system: Windows 7 Home Premium - 64-bit (Service Pack 1) (Vivid RAM) memory: 4 GB Processor: Intel (r) CPU of Core i5 - 2410M to 2.30 GHz [Issue details] I have recently been becoming more frustrated about why I have s

  • Cancel the registration of events does not not to change value

    Cancel the registration of events does not seem to prevent the change in value of firing event. I've attached an example of change that disables the mouse enter and exit events to include the value Change event. Document ID 4ATCBP1U http://digital.NI