Address-numbers of images between precomp and containing the model

Hello

the first question:

How can I get the length of the dark red area in extendscript?

I don't know even how to get the exact value on the AE - GUI...

AE.png

The background:

Currently, I am trying to edit a precomp using a script. Part of the process is to change the layer properties precomp based on information found on the layers inside the precomp.

It works perfectly fine. The only remaining question is the gap generated by this black-red-area: the precomp has one in the time of 2, as you can see. The framework that is rendered at the moment isn't the first image inside the precomp, but the frame at approx. 1.5 sec. How to get the exact number of images that is truncated here?

Thank you very much!

For a layer that is not time-tense:

This area starts at:.startTime and ends at layers: the.inPointlayer, so it lasts: layer .inPoint - layer .startTime

[On the other end (provided that the layer has a source):]

[he started: layer.outPoint and ends at: layer.startTime +. source.duration ]

Hope that helps.

Xavier

Tags: After Effects

Similar Questions

  • Size of the image changes when you move an image between Lightroom and CC.

    Size of the image changes when you move an image between Lightroom and CC.

    I opened a .dng image in LR and then opened it in the develop module.  I clicked on Crop Overlay and then on the "As Shot" (the lock is closed) menu drop-down and cropped to 11 x 17 and click 'Done '-.

    I click Ctrl-E and the image opens in the CC.  I click on the Image > Image size and the size of the Image is 13,288 inches on 20,533.

    Why change the size of the image?

    I believe that there is a menu to control the size of the image, and I've looked everywhere I see in LR and CC, I have googled various descriptions and I checked both Kelby books, but I can't understand not just how to keep the image at a uniform height when moving between LR and CC.

    Help!... Please?

    The size of the image has not changed. The number of pixels has not changed. Let me tell you. The number of pixels has not changed to a single pixel.

    The numbers relatively meaningless displayed by your software have changed.

    The image is always format 11 x 17 (17 divided by 11 = 1.545 and 20.533 divided by 13.288 = 1.545)

  • I want to restore switch between windows and display the desktop icon

    a few days before these two icons was actually on the task bar and now I have deleted how restore it back
    (switch between windows and display the desktop icon)

    Hello

    Copy the new:

    C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch

    To your user account to:

    C:\Users\launch of \AppData\Roaming\Microsoft\Internet Explorer\Quick

    Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Difference between hp7612 and hp7610 the printer?

    Hello
    I intend to buy a jet A3 office printer.
    Can someone tell me what is the difference between hp7612 and hp7610 the printer?
    Help, much appreciated.

    Hello

    The HP Officejet 7612 include a duplex unit to print on both sides of the page automatically in the box.

    For the HP Officejet 7610, it's an extra accessory that can be purchased separately and not included in the Cabinet.

    Other than the two models are identical.

    Kind regards

    Shlomi

  • Why different numbering of paragraphs between WYSIWYG and WebHelp?

    Howdy. I go back to a project of relatively simple and small (300 + subject) using RH7 7.03.001on my PC XP Professional Version 2002 SP3. What is required and what is seen in the word source docs and RH7 (Editor and preview modes) after import is, for example:

    Steps to accomplish

    1.      Log in the system.

    2.      Select the Administration view.

    NOTE

    Find the already existing user before creating a new account.

    3.      < click > Add button user.

    4.     

    But what WebHelp presents in the IE6 SP2 from the end-user browser is:

    Steps to accomplish

    1.      Log in the system.

    2.      Select the Administration view.

    NOTE

    Find the already existing user before creating a new account.

    4. < click > the Add user button.

    5.      

    My observation is that RH7 inserts a < style li = "list-style: none" > and < /li > pair around every NOTE paragraph group in the generated file, which increments the number of parody stage. (Although I'm a 'small' project, is not hand - these delete but which solves the problem...)

    Hmm, I need two styles of numbering step - the beginning to 1 (preliminary NOTE) and the other does not (the SCORE) restart? Either option, at least through the Format of RH7 / route Styles does not offer the dialogue of bullets and numbers . And would that help even when on the second Note groups that may occur? Just tried - no difference. Auggh. I have struggled with the styles and formats a little, but obviously do not understand - or is it a RH7 bug or feature? (I expect WYSIWYG to be just that...)

    I attach a PDF file describing my problem in more detail, although I know that this is not the preferred method...


    Thank you all!

    Steve

    Hello

    It is indeed curious, I also have this same problem, I just hadn't noticed until I read your post.

    Regarding the why... I have no idea. I think that this question of answers n ° 1.

    2 bug is a harsh word, probably a simple operator error, somewhat in the same way as RoboHelp sometimes rewritten custom HTML code.

    3 fight, no.

    4. a simple solution is to place all the paragraphs the list item. This will require manual labor in your source files, but it's only once when you know how to work the Robo, it's only a very minor nuisance.

    Your source code looks like this:

  • Text

  • NOTE

    Text

  • etc.

    Now place all the paragraphs in the list item:

  • Text

    NOTE

    Text

  • etc.

    It looks exactly the same, but with a correct numbering. I don't know that it is possible to the WYSIWYG editor, but a simple operation is to switch to HTML mode and move the

  • tag.

    Take a bow

    Willam

    PS. description of the problem Excellent in your PDF.

  • How to share files and images between two users on the same computer?

    I am running as admin on my computer and I made a separate user for my girlfriend, but I don't know how to make so that it can access the photos I have on my user of its user. I tried to just copy the files from my user him, but which seems to make another copy files. This will be inevitably a little space and so I would like to know if I could just have one, single, copying a file that we have access to our users.

    Also, should I make another user for myself and leave the administrator for emergency purposes? I read something on ot that need to use an administrator account for daily purposes, and it is safer just have on the contrary another user with administrator privileges.

    Make a folder on the drive, something like C:\Pictures and then right-click > properties > Security and make sure that the user has full control

    Yes to the creation of a normal user account and leaving the admin account for administrative purposes.

    I hope this helps.

  • How to decrease the spacing between shapes and move the form to the top, what model creation brush?

    Hello world

    I am trying to create an external border for some tires and have a few questions about the model of brush.

    I created a solid form and then, with her, a brush model. But I don't want all this spacing between shapes, so is there a way to get rid of the spacing or DECREASE spacing altogether. Currently, it is set at 0%.

    Also, is there a way to raise the forms so that the basic lines of form are placed outside of the ellipse that is drawn? See first image below in the middle of forms at the intersection with the outline of the ellipse drawn.

    Thanks in advance :)

    Screen Shot 2013-06-18 at 3.12.12 PM.jpg

    Return to the brush model.

    1. drag the brush from the Panel forms.

    2. with the direct Selection tool or in, select the Panel layers no filling / n ° rectangle race which is located at the back of this group of brush.

    3. adjust (reduce) the width of the rectangle until you find a size that produces the desired gap.

    4. Select the shape of the brush and the no fill / no rectangle STROKE, Opt/Alt-drag on top of the original brush in the Panel shapes.

    Trial and error is valuable here until you see how it works. or you can use specific values.

    To align the bottom edge of the brush with the path:

    With no filling/no STROKE rectangle selected, as indicated above, move it down so that its horizontal axis coincides with the lower edge of the shape of the brush, then Opt/Alt-drag the brush and rectangle again in the Panel forms.

    Edit: As says Monika.

  • Is there a possibility to import ONLY RAW images via Organizer and let the jpeg on the camera?

    When I import the images from the camera (Olympus MDGS Em-1): can I import only RAW images in the Organizer?

    Hope for help I am not very savvy sorry English.

    TXS

    Alexandra

    Alexandra,

    The downloader of elements module does not provide an option to filter the files imported by their type (jpg or raw). You can filter only the videos photos. I'm agree it would be an asset!

    What you can do instead:

    -use your operating system (Explorer / finder) to import files to your computer via your card reader: you can order your files to import extension (jpg, CR2, NEF,...) and select the raw files. Then use the function "Import" elements to import from "Files and folders" (which "registers" files in the catalog).

    - Or you can use the download of standard element and remove JPEG files later. Not very elegant, but it works.

    - Or you can use the function "Import" elements and choose in "Files and folders" instead of card reader or the camera, then go to the card reader. The card reader is considered to be a separate drive. You can select only the raws in the import dialog box by setting the order of the files in the file (CR2, NEF...) instead of file name extension. You select the first item, then shift click the last one. Only the raws are selected. Now, pay attention to have the box 'Copy' the o files. Otherwise, the elements would consider your photos on a removable drive. The photo files will be copied to your computer in a special subfolder 'photo of removable drives.

  • Switch between files and change the window using f8 - Dreamweaver CS 6

    In Dreamweaver CS 2, I could switch between files and windows edition with the f8 key. Dreamweaver CS 6, this doesn't seem to work. Is there a way I can put it so that I can switch between the 2 windows with a keyboard shortcut?

    Hello stilley,.

    I'm now working with DW CC, so I can only show you how to work with it, but I'm sure it's the same way:

    In my German DW:

    Bearbeiten > Tastaturbefehle > screenshot > files > Kurzbefehle +-taste press > change > Ok.

    Translated something like:

    Edition > keyboard shortcuts > screenshot

    > Files > shortcuts + - press > edit > Ok.

    Good luck!

    Hans-Günter

  • Cut and paste the model part of the Photoshop image to .csv

    Hi all

    I have my own javascript to determine what portion (coordinates) of an image I want to cut.

    But what codes can I add to my javascript to paste the image into a model of excel (.csv) that I've prepared on the desktop?

    And if the above is possible, how then to control which row/column in excel (.csv) will be the image stuck in?

    That's because excel (.csv) is a model, so I need the image to be stuck only in certain rows/columns...

    Can someone help me?

    Thank you very much in advance.

    Very strange, I created the relevant folders and everything seems to work ok here, so don't know what is wrong?

    #target photoshop
    function main(){
    if(!documents.length) return;
    var paper_no=900;
    var Excel = File("~/desktop/myfolder/records/"+Number(paper_no)+".xls");
    var Cell ="C22";
    if(!Excel.exists){
        alert("SpreadSheet does not exist!");
        return;
        }
    try{
    var SB = app.activeDocument.selection.bounds;
    }catch(e){return;}
    app.activeDocument.selection.copy();
    var Width = SB[2].as('px') - SB[0].as('px');
    var Height = SB[3].as('px') - SB[1].as('px');
    var doc = app.documents.add(UnitValue(Width,'px'),UnitValue(Height,'px'),72);
    app.activeDocument.paste();
    doc.flatten();
    var tmpFile = File(Folder.temp +"/deleteMe.jpg");
    if(tmpFile.exists) tmpFile.remove();
    SaveForWeb(tmpFile,60);
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    var VBS = File(Folder.temp +"/VBS.vbs");
    VBS.open('w');
    VBS.writeln('Set objExcel = CreateObject("Excel.Application")');
    VBS.writeln('Set objWorkbook = objExcel.Workbooks.Open("'+decodeURI(Excel.fsName)+'")');
    VBS.writeln('objExcel.Visible = false');
    VBS.writeln('Set mypic = objWorkbook.ActiveSheet.Pictures.Insert("'+decodeURI(tmpFile.fsName)+'")');
    VBS.writeln('mypic.Top = objWorkbook.ActiveSheet.Range("'+Cell+'").Top');
    VBS.writeln('mypic.Left = objWorkbook.ActiveSheet.Range("'+Cell+'").Left');
    VBS.writeln('mypic.Width = objWorkbook.ActiveSheet.Range("'+Cell+'").Width');
    VBS.writeln('mypic.Height = objWorkbook.ActiveSheet.Range("'+Cell+'").Height');
    VBS.writeln('objExcel.ActiveWorkBook.Close True');
    VBS.close();
    VBS.execute();
    }
    main();
    function SaveForWeb(saveFile,jpegQuality) {
    var sfwOptions = new ExportOptionsSaveForWeb();
       sfwOptions.format = SaveDocumentType.JPEG;
       sfwOptions.includeProfile = false;
       sfwOptions.interlaced = 0;
       sfwOptions.optimized = true;
       sfwOptions.quality = jpegQuality;
    activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);
    }
    
  • You can remove the image from Heroes and just the tumbnails in a slide show?

    We want to do a slide show where people can choose thumbnail question instead of having the image of heroes to be the focal point, is it possible?

    There is a third party widget that might work:

    Media Pro | Adobe Muse reagent Gallery by MuseThemes

  • The collage of AI. image in InDesign and applying the wrap text does not!

    Hello!  I was wondering if someone can help me please.  Currently, I learn how to use InDesign and have encountered a problem.  Basically, I made some sketches/illustrations with Illustrator and to stick in a book about InDesign.  When I do this it works fine, but then the text will not wrap around the sketch.  I found how to solve this problem - I have created a form (white) solid block of the draft sketch to go under the original sketch and can now wrap the text around it, isn't ideal if - however, I can not select the drop-down menu wrap text options in the dialog text wrap, as it is gray and unclickable.

    Help is not help!

    Thank you

    First, unless there is a reason for it, you are better to place the work Illy.

    With this selected work, open the text layout Panel and set the appropriate text wrapping.

    Bob

  • How to repeat 100% image in a box in the model

    I built a new model which already has an image of background behind the content area.  This background image is the height and width of 100%.  Now, I made the header area, in the area of content and the footer area.  What I need help with is: I want to have a box behind the content area which continues in the footer.  In this box, I want a repeated background pattern that continues regardless of the amount of content in the content area.  I know how to do this using tables and code, but I can't understand in the MUSE.  I added to the area, said the repeated image verticle, but it won't extend to 100% downward.  It stops just at the height of the area which was built in MUSE and then the background repeated stops too...  Can someone explain to me how to do this correctly?  That's all I have left, and then this site template is finished.

    Tom

    Repeatable portrait of the image must be created outside the Muse using any image editor like photoshop and then use the same image on the page indicate or you use vertical mosaic in the fitting.

    Thank you

    Sanjit

  • Using Page breaks and change the model

    I'm working on a book.  The book is in a Word format.  I'm taking the text and the porter in InDesign with page after page being connected. There are 73 pages in total of pure copy once worn on in.  Now I go and put the media in the text.  I have two basic model master drawings that I use according to the content referred to this in the text.  Example is that Master model has a white background, master model B, which has a black background.

    Given that the book is alternating between the models based on the content on the page pages could look like this:

    Page 1: Model has

    Page 2: Model has

    Page 3: Model B

    Page 4: Model has

    and so on.  I have a question about the page breaking.  I want to always keep the content on page 3 on a main B template background.

    However, if I add more content to A, or if I use a page break, the content on all subsequent pages is pushed down (all pages are linked).  So if I jump from Page 1 page, my page B content is pushed on a background model.  It is obviously not what I wanted.  Should there be another function outside of page break should I use to put the separaters?  How can I ensure my content on page 3 remains on a background of the B model?

    Currently, your text is threaded into a continuous narrative. When you add the new text in the Middle, everything after this point will move. To avoid that you should break the text into separate stories for CCE content type.

    It is essentially the same as dividing the chapters of a book, so that each of them begins on the right master page, which is didcussed at some length here: http://forums.adobe.com/message/3993405#3993405

  • kaosweaver and updating the model

    When KW will add a code to the head tag of a page that is linked to a template, update the model itself removes the code KW in the linked page?  Apparently not, but I would like confirmation.

    Thank you

    I better leave it as what as he works, I can say?

    I'll fix it.

    Where can I insert editable regions, you suggested in the template?

    In the template file, change it.

    Untitled document

    on this subject.

    Untitled document

    and this-

    on this subject.

    Now you should be set.

    When you apply a template of what I think to decide on the allocation of the parts?

    What will change on each page.  These are editable regions.  Or do you mean that you apply patterns to existing pages?  It's MUCH more embarrassing.

    I'm surprised DW allowed me to spoil the model - unless I simply ignored the warnings?

    I remember well, DW8 would allow you to create a new template so that it did not contain these necessary areas - maybe it was the file > new model?

    I do not know...

Maybe you are looking for

  • ThinkPad X 1 carbon (20BS) camera not found

    After trying to update the driver for the built-in camera and finally uninstall the driver, then try to re install the driver. My work still dosent built-in camera. What could be the problem? This problem started after installing the update of Window

  • MX330 printer will not print. power WiFi ok

    I CHECKED POWER and telephone lines the printer will not print, the printer is not reconigzed

  • Catch the inevitable back with Javascript

    Is it possible to catch the back key pressed event? I found the link by using the Widget API, would continue to operate the javascript even when I'm not using this api? My pure html code & javascript, is there another way to do it?

  • Windows 7 DCC

    Hello world I am trying to establish a direct connection between two PC on Windows 7 using the series ports (RS232) (NULL MODEM connection). Is this possible in windows 7? I did in windows XP, could someone help me with WINDOWS 7. Thank you

  • Sorry for this question "is it possible to run CRG developed on browser web dektop?

    I have juststumbled on this http://jdevadf.oracle.com/amx/CompGalleryDemo/bootstrap.html?file=Gallery/task-flow.xml%23task-flow & featureRoot =. /