How to a composition from project insert into the current composition?

How to a composition(specific name) from current project insert into the current composition?

Good point about checking the name of the current comp, but then you don't need to enter the loop if the name ofthe object you find is the name of the current comp:
function insertComp(name)
     var proj = app.project;
     var comp = proj.activeItem;
     if ( comp != null && comp instanceof CompItem)
          var foundIt = null;
          var curItem;
          if(comp.name != name)
               for(var a=1; a<=proj.numItems && foundIt == null; a++)
                    curItem = proj.item(a);
                    if(curItem instanceof CompItem && curItem.name == name)
                           foundIt = curItem;
               if (foundIt != null)
                    app.beginUndoGroup("Insert Comp");
                    try
                         comp.layers.add(foundIt);
                         alert("All done!");
                    catch (err)
                         alert(err);
                    app.endUndoGroup();
               else
                    alert("Not found");
          else
               alert("Can't add item to itself.");
     else
          alert("Open a comp first.");

Similar Messages

  • How do I insert pages from one PDF into the current PDF in Acrobat X?

    I just upgraded from Acrobat 8 to Acrobat X.
    How do I insert pages from one PDF into the current PDF in Acrobat X pro?  I was able to do this from the Edit menu in Acrobat 8 pro.  Appreciate instructions.  Thanks.

    Hi chemadberk,
    In my Acrobat 8 Pro, Insert Pages is under the Document menu but anyway...
    In Acrobat X, click on the Tools pane(upper right side) then navigate to Pages- the Insert Pages commands are located there.
    Hope this helps,
    Dimitri
    [signature deleted by host]

  • I have created a Saved Book, but now realized I want to include additional photos from another Collection. How do get photos from another collection into the filmstrip of the Saved Book? Terry O'Loughlin

    Any help you can give me will be most appreciated. Terry

    Your saved book will show as a Book Collection in your collections panel.  Open the collection with the other photos, select the desired photos in Grid view and drag them into the Book collection.

  • How do I create a text insertion of the current time? My "date

    My "date & time" stamp under Insert only prints the date. I can edit it to include the time each time I use it, but this is a real bother, as I use it often and want the time included. Actually I want a separate time stamp to keep track of time spent on specific projects. If there is no separate time stamp in Pages (hard to believe), can I create one that will print the current time without including the date? Second best: edit the "date & time" to always and automatically include the time?

    Right click on the date after inserting > Edit Date & Time > Choose the Time only option
    There is no way I know to have it default to this unfortunately.
    You can try inserting the start time and have an updating time in a Table and calculate the difference, but the problem is the update only happens on reopening the document, not on saving.
    You are better off using Billings to do all this for you:
    https://www.macupdate.com/app/mac/35188/billings-pro
    There are several programs like Billings, also check out the Mac App Store.
    Peter

  • How can export html from muse right into the folder without domain?

    When i watch video tutorials there's no inquiry for domain but in ''my'' muse there is so i cant just save an html

    I have no idea WHY the domain name is asked for at Export as HTML. The name seems to serve no purpose. I just enter a bogus name [xxx.com] pick a Location. I then use FTP client to send to host in any folder/directory I name using said FTP client.
    Screen shot of folder. The asked for domain name is no where to be found and seems to have NO bearing on FTPing to host.

  • How do I print pictures from a disc inserted into the Apple Superdrive connected to the 2011 MacBook Air?

    How do i print pictures from a disc inserted into the Apple Superdrive connected to the 2011 MacBook Air by USB port?  Thanks

    How do i import them?  The only place i can find them is on "Finder" and I don't know how to get them to a place where I can print them.

  • How do you move changes from your project developments into the maintenance development system?

    Good day colleagues.
    We are in the process of introducing retrofit, and the picture is clear for us, generally speaking, to retrofit the project landscape with the changes done in the maintenance landscape.
    What about the other way around? We mean, when the project is set to Go Live, we understand the transports will be all added, e.g. to the Production System buffer to be moved there via Maintenance Cycle, based on the way we defined the project and the logical component being used.
    However, how do you feed those project transports to your Maintenance Development System using ChaRM?  or do you do that Manually?  We doubt. Copying Production back into Development?  no way !!!
    How do you establish that?  We have a sort of idea but the documents about retrofit only seem to talk about moving transports one way, as far as we have found.
    Many thanks for any feedback.
    Juan Carlos

    Hi Piyush.
    I apologize for a late close on this questioning about moving projects back into the maintenance stream.
    Basically there are 2 solutions as far as we know:
    1. What Vivek mentions, which is performing a cutover and repacking the project transports into 2 transports in the maintenance stream:  A workbench and a customizing.   In that sense, at the end of the day you end up moving just 2 transports to the maintenance stream up to Production.   They contain all your project objects.  Thanks to Vivek, again.
    This is a very practical and interesting approach.  The only reason we did not adopt it, is based on the fact that if by any chance we encounter an issue with a project transport object in the maintenance stream (Dev or QA), now that all is bundled together, we may be stuck right at the time weare getting ready to GoLive.  How tough is going to be that issue? how easy and quick to fix?how much would that affect the whole project time frame?   Those questions made us decide to option 2.
    2.  What we are doing is that at cutover we move at the same time all project transports to the transport buffer of each of the maintenance stream systems (Dev, QA, and Prod).   We first open the gate to move the transports to Dev and we test, then to QA and we test, as well.  If there may be an issue, and the issue can not be quickly resolved by the project team, we can go up to the extreme of using a new feature introduced in ChaRM in SP10, if we are not wrong, but definitely available in SP12.  That feature provides a way to selectively decide which transports of the release are to Go Live and which ones do not, although we have no had to use that feature, yet, but it is there.
    We do not see any risk on adding the transports to the maintenance buffers at the same time.  There are ways to control the systems that are open for receiving transports, and the project phases, which guarantees no room for error.  There have to be deliberate actions taken (more than one in our case), to wrongly move a project to GoLive before its time comes.
    That is more or less the scenario Piyush.    
    Hope that explains the scenario.  So far no decision on really publishing as a blog.  It seems not to be written on stone, as consulting with different companies, each adds its own flavor to the recipe and shuffle ideas to get to what they are looking for and makes them happy.
    Juan

  • Recipients of my email have been getting a bunch of scrambled code, letters and symbols, inserted into the body of my email - preceded by "span.IP". How to fix?

    Some recipients of my emails have been getting a bunch of code, letters and symbols, inserted into the email preceded by "span.IP". What is causing this and how can I fix it? Also (may be related) when i start up Thunderbird, I get the following error message:
    Secure connection failed
    live.mozillamessaging.com uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided. (Error code: sec_error_unknown_issuer)
    This could be a problem with the server's configuration, or it could be someone trying to impersonate the server.
    If you have connected to this server successfully in the past, the error may be temporary, and you can try again later.
    Or you can add an exception…

    Browser Safeguard apparently attempts to intercept your secure connection to the server, so just uninstall it. Reboot your computer, and run a malware check.
    It's also possible that it issued certificates for secure sites you visit. Those self signed certs could then be used by IE, so you should get rid of them as well.
    In IE under Internet Options - Content tab click on Certificates. It opens to the Personal tab. Look for certificates issued by DO_NOT_TRUST_FiddlerRoot. Those are the ones created by Browser Safeguard.
    Both, Thunderbird and Firefox use their own certificate store independent from the Windows certificate store. So they should not be affected by those certs.
    For the future watch out for additional software being sneaked in when installing a program.

  • How to download project template into the SAP NetWeaver Developer Studio

    Hi,
          I want to download project template into the SAP NetWeaver Developer Studio related to invoice detail get detail,get list etc.
    How to do so?Actualy my requirement is to create an iView whcih contain the detail about the invoice.
    Thank,
    Kundan

    Hi
    If you have zip file of the project then unzip it into your project  location where all projects are there .then in NWDS go to file->import->multiple existing project into workspace->browse the file where you have saved it and select the comp folder inside the project folder->click finish.Now you are able to see the webdynpro project in the webdynpro explorer.If its not appearing then go to Navigatore and right click on project and click on open project, it will open the project in webDynpro explorer.
    Thanks
    Susmita

  • How do I keep itunes from putting things into the cloud after I've downloaded them?

    Hello - Not everyone lives in Silicon Valley or New York City.  I have a relatively slow internet connection so it takes about 2 hours to download a 45-minute tv episode.  Yesterday I did that, and today I went to watch it and it had been put back in the cloud!  "No problem," says Apple, "You can download it again."  It takes f**** 2 hours to download it again.  How can I keep Itunes from putting things I've already downloaded back into the cloud?

    How do I keep itunes from putting things into the cloud after I've downloaded them?
    You don't. They are in the cloud as soon as you make a purchase. As in immediately/right now. They don't get uploaded from yoru computer to the cloud.
    Did you delete it after you watched it?

  • How to extract data from info cube into an internal table using ABAP code

    HI
    Can Anyone plz suggest me
    How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
    Thankx in advance
    regds
    AJAY

    HI Dinesh,
    Thankq for ur reply
    but i ahve already tried to use the function module.
    When I try to Use the function module RSDRI_INFOPOV_READ
    I get an information message "ERROR GENERATION TEST FRAME".
    can U plz tell me what could be the problem
    Bye
    AJAY

  • HT4906 how to import photos from photo stream into an event?

    How to import photos from photo stream into an event?

    How to import photos from photo stream into an event?
    In iPhoto 9.4.3 the following works:
    If you have not auto imported the photos from the Photo Stream, as Larry suugests, select the photos that you want to import in the Photo Stream, and drag them to the "Events" view in the Source List. They will be imported as new events, auto split with respect to your preferences.
    Regards
    Léonie

  • How do i get my Nikon photos from viewNX 2 into the iPhoto library?

    1. How do I get my Nikon photos from ViewNX 2 into the iPhoto Library?
    2.I tried by copying them and moving to the iphoto folder. Now the Iphoto applicationwon't open because it is locked. the help item says to open it with command option keys down to get the iphoto library First aid window. it does not come up.

    How did you add the photos to the iPhoto Library folder?  The way to import photos is to drag them onto the iPhoto icon in the Dock or into the open iPhoto window.  
    it does not come up.
    What does not come up?  What happens when you try to launch iPhoto with those two keys held down?
    Try the following again being sure to hold those keys down before launcing iPhoto and until the window opens:
    Apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Get the data  from excel and insert into the database

    I want to read the data from excel file, get the data from excel and insert into the database.

    You can use the Apache POI HSSF API to read data from Excel files and you can use the Sun JDBC API to insert data in database.
    This has nothing to do with JSP/JSTL.

  • How do I convert an XML insert into ordinary text?

    I have a fm9 file, about half of it is in elements that can be directly edited through the structured view, but the other half seems to be ax xml insert which is awkward to edit. Is there any way to import this xml insert into the document so it consists of  'ordinary' elements alongside the elements already in there, and is also manageable in the same way as the elements already in the structured view. Thanks.

    A little background....
    If you have a structured fm file, you can insert by reference (a text inset) another file that contains structure. I am assuming that the inserted file uses the same set of elements (same element catalog) as the containing file, or the result would not be valid. Now click on the text inset to select it, and select Edit > Text Inset Properties. In the dialog, click Convert. This converts the text inset into editable ELEMENTS, not text; it is the same as if you had imported the inserted file by copy. You can now edit those inserted elements as part of the containing file; in fact, they ARE part of the file, no longer connected to the original inserted file.
    I have never used text inset XML. But I am guessing that the elements in the XML file are compatible (i.e., the same set) with the elements in the containing file; otherwise, the resulting file would not be valid. So, I am guessing that all you need to do is the same as with a standard structured text inset, that is, follow the same instructions as above.
    If this is not what you are trying to do, please clarify.
    Van

Maybe you are looking for

  • Recon. Account for Special G/L credit posting

    Hi everybody! We need to post a line item with these settngs: posting key = 19 (Special G/L credit) account = customer code special g/l = A (Down payment) When Enter is pressed and detail screen of the line item appears, the G/L account field is disa

  • Connecting ipad to projector

    I am trying to show my imovie on my ipad on a projector. When I connect the VGA cable the top border lights up blue but soon disconnects.

  • 2 completely unrelated questions

    Hi All I've been googling this for a few days now and have not found anything helpful. First question (not terribly relevant to this forum and I've already found a semi-workable sollution): I'm developing a mobile site and testing on a touch becuase

  • Email User Interface

    Hi! Im seriously thinking of using BC as my client's platform for their e-commerce site. They have quite a number of email accounts though, and although I want to use BC as the hosting for their email, I'd like to see how the email's UI works and how

  • Succession Planning EHP4.0 without NAKISA- Can it work?

    Hi all, Can succession planning work without NAKISA? Are there any comparable screens in the portal where we can use for succession planning? I know there's HRTMC_PPOM but how about functions such as profile matchup? Where would we do it? If from R/3