Avoid typing the same string in multiple expressions

Say have some settings in the camera in Comp01 associated with other parameters in Comp01Main.

For example:

Focus of camera Comp01 has this expression:

COMP ('Comp01Main'). Layer ("Camera01") .transform .pointOfInterest

and the Y Rotation:

COMP ("Comp01Main"). Layer ("Camera01") .transform .yRotation

and so on...

What should I do to avoid typing the expression "Comp01Main" for each of these expressions? How can I configure a controller to easily change the text "Comp01Main" in "Comp02Main" (for example) without going into each of them and make the change?

I tried to insert the text "Comp01Main" in the Source text of a TextLayer parameter and then change these expressions for:

var a = thisComp.layer("TextLayer").text.sourceText;

model (a).layer("Camera01").transform.pointOfInterest

var a = thisComp.layer("TextLayer").text.sourceText;

model (a).layer("Camera01").transform.yRotation

and so on...

But it does not work.

Any ideas?

I think it will work if you change this:

var a = thisComp.layer("TextLayer").text.sourceText;

to do this:

var a = thisComp.layer("TextLayer").text.sourceText.value;

You can also put the whole expression in the text of the text layer and use eval() to evaluate the expression once you recover.

Depending on your situation, it might be simpler (selector) link the parameters into a computer directly on the same settings in the other computer.

Dan

Tags: After Effects

Similar Questions

  • How to make the color of the sky, exactly the same thing in multiple images?

    How to make the color of the sky, exactly the same thing in multiple images?

    Bengt Nyman wrote:

    I'm not trying to replace the sky. I want to talk to a group of photos BIF where the percentages of red, green and blue in the sky varies from a few percent, but enough to disrupt continuity within the group. I like t would be able to use the percentages of color to one of the pictures and replicated in others.

    Because the brightness of the sky probably varies from image to image using percentages RGB will not work. What you can use are the values of a and b the laboratory values . Right-click in the inside of the develop module histogram and tick 'Show Lab Color values.' You can ignore the value of L, which is the value of Luminance or brightness. Adjust the blue sky s a b valueusing the Temp WB and sliders dyed until they are the same as your first reference image file. The value determines the color red/green balance if you use the Tint slider to correct the value. The b value determines the color yellow/blue balance if you use the slider Temp to correct its value.

    Remember that setting the base Panel WB with 'fixed' values of b for photos taken under lighting conditions different sky will be the color of the other objects in the image look incorrect (birds, trees, buildings, etc.). In this case, you will need to use the brush setting to paint in the region of the sky and then use its temperature sliders and tinted to change just the color of the sky.

    To be honest I don't know why you feel it's necessary. Maybe you can post two screenshots: 1) with the sky that they way you want to and 2) an image that you want to resolve to match.

  • Remove the chain if the match format of other print the same string

    Hello

    I had posted a question earlier before in the forum in lieu of the chain

    > >Delete Sting

    My requirement is user will pass the string that is mentioned below

    > > "SUCCESS [FID__6a377428_137b946b364__767b].

    It should return > > FID__6a377428_137b946b364__767b

    If the user only the > > FID__6a377428_137b946b364__767b

    It should not replace anything, to just return the same string

    logic for this query is it should return the string anything between [] another user that never enter it should return.

    Please suggest me

    I use this query, that it works fine but the user spends FID__6a377428_137b946b364__767b with ouy [] must return the same

    SELECT col1 FROM
    (
    with the data as
    (
    Select trim ('FID_28eff73b_125a3e651e2__7c26') double NECK
    )
    SELECT TRIM ('] ' OF REGEXP_SUBSTR (COL, ' [^ \] +', 1, 2])) COL1
    extracted data);

    Thank you
    Sudhir

    Published by: Sudhir_Meru on June 29, 2012 21:14

    This will work with the sample you provided...

    SQL> with t as
      2  (select 'SUCCESS[FID_28eff73b_125a3e651e2__7d76]' str from dual union all
      3   select '[FID_28eff73b_125a3e651e2__7d76]' str from dual union all
      4   select 'FID_28eff73b_125a3e651e2__7d76' str from dual )
      5  select str,case when str like '%[%]%'
      6                  then regexp_replace(str,'([^\[]?+\[)([^]]+)(].*?)','\2')
      7              else str
      8         end output
      9  from t;
    
    STR                                      OUTPUT
    ---------------------------------------- ----------------------------------------
    SUCCESS[FID_28eff73b_125a3e651e2__7d76]  FID_28eff73b_125a3e651e2__7d76
    [FID_28eff73b_125a3e651e2__7d76]         FID_28eff73b_125a3e651e2__7d76
    FID_28eff73b_125a3e651e2__7d76           FID_28eff73b_125a3e651e2__7d76
    
  • How to send the same configuration to multiple tracks?

    Hello community,

    I find that so many times I do a lot of the same process for a traks. For example, to pizza. all channels or to set the same level in the Expression of all titles and so on...

    I like the list of events, but is this detales of only a selected range. Advice, please.

    Master - Mac Mini 2.3 Ghz Intel Core i5, 8 GB, HD on Toshiba 500 GB, Mac OS X 10.10.5 system.

    Logic PRO X (10.2), RME FIREFACE UFX,.

    ———

    Slave - MacBook Pro 2.2 GHz Intel Core i7, 16 GB, Systen on Intel SSD 180 GB, Mac OS X 10.10.5.

    Sound library on 1 TB SSD, Pro 2, FIVE 5 Pro, VS, MIR PRO VI,

    To insert plugins on several tracks to create buses on several tracks or to set the outputs or inputs to the same as that of the bands of multiple channels or tracks all what you have to do is Select the tracks and perform the action on one of them.

    In addition, if you have configured a channel strip includes several plugins you can save this channel strip and then just pick on others to load all at once.

    http://help.Apple.com/LogicPro/Mac/10.2.1/#/lgcp35966da6

    And as an alternative, you can create groups of tracks (change a setting on a track in the group it will change for all in this group - without having to select the number of channels.)

    http://help.Apple.com/LogicPro/Mac/10.2.1/#/lgcp8e7ab0b8

  • attach the same code for multiple instances (AS2)

    Hi, here helpless.

    I have the following code on the frame1 of my film I want to apply to multiple instances of the same clip:

    mainClip_mc.subClip1_mc.specifiedClip_mc.onPress = function () {}

    code starts

    specifiedClip_mc is in subClip1 to 4. Is there a way to do it once without have to say:

    mainClip_mc.subClip2_mc.specifiedClip_mc.onPress = function () {}

    same code

    mainClip_mc.subClip3_mc.specifiedClip_mc.onPress = function () {}

    same code

    mainClip_mc.subClip4_mc.specifiedClip_mc.onPress = function () {}

    same code

    Clip specifiedClip_mc parent is essentially what throws me here.

    The code to be applied to the specifiedClip_mc is identical, and I can't help but feel I'm not the exact route of this repetitive way long.

    Any help for this newb would be greatly appreciated.

    There are two ways to do this, the other I'll show records much code...

    (1) string them all along...

    mainClip_mc.subClip1_mc.specifiedClip_mc.onPress = mainClip_mc.subClip2_mc.specifiedClip_mc.onPress = mainClip_mc.subClip3_mc.specifiedClip_mc.onPress = mainClip_mc.subClip4_mc.specifiedClip_mc.onPress = function () {}

    same code

    }

    (2) assign the function dynamically by a loop using the array notation...

    function someFunction() {}

    same code

    }

    for (i = 1; i<5;>

    mainClip_mc ["subClip" + i + "_mc"]. specifiedClip_mc.onPress = someFunction;

    }

  • Best approach to serve the same data between multiple users of the POJO DC

    Hello

    It is a question related to what is the best possible approach for this scenario.

    A POJO domain controller that retrieves a collection (of about 200 folders). The application displays the same records for all users of the application. The collection should be updated from time to time when there are new items and it must be visible to all users in DB.

    Currently, for each user that connects to the DC POJO application runs the query and deliver results. This works well when amount just a few users, but when multiple users want to access the app becomes very expensive.

    I think to build a programatically EO - VO, and then display it in a SharedApplicationModule where through the Cache of BC, I'll save and share data between users. I need to mark make a poll and update the collection when new results come thru.

    Is this a good approach? What are your thoughts or how would be better applied?

    Thank you very much.

    JDeveloper 12.c

    Hello

    Why do you use a POJO DC at all when the solution is to use a shared Module of Application ADF BC?  Sample 156 will become your friend:

    https://blogs.Oracle.com/smuenchadf/resource/examples#156

    Frank

  • Followed the same services on multiple machines

    Excuse me is this is too basic a question, but I'm trying to use hyperic to monitor a few key windows services.  I figured out how to monitor the service by configuring manually for each machine, but is there a way I could apply these settings to a bunch of machines?  It is approximately 10 services, and they are the same for all the machines in question.  Thank you!

    Post edited by: jreid

    You should be able to clone these services assuming that the agent is installed on each server and the services are auto-decouvert.

    The Clone Platform page is available in the Tools menu when a platform is selected.

    1. go to the platform you need to clone the inventory resources.
    2. choose the platform Clone in the Tools menu.
    3. on the page of the platform of Clone, the list of 'available target clone' shows platforms of the same type as the source platform. You can restrict the list by entering a string in the box "search resources.
    4. move target platforms from the list of "available target clone" in the list of "selected clone targets."
    5. click on queue for cloning. Cloning occurs asynchronously. You can perform other functions of the user interface without waiting for the cloning process complete.

    More info:
    http://support.Hyperic.com/display/Evo/clone+a+platform

  • Error in connection for the first time, then it works after that (with the same string)

    I have a problem of connection error strange that a "OracleConnection.ConnectionString is not valid" with my program ASP.net/c#, but when I try the page again once it works after that.
    I create the connection string in the code and then pass it a bit like this:

    * private readonly OracleConnection conn = new OracleConnection (oradb); variable in class *.

    * / / in the Page_Load method *.
    _oradb = "password =" + oraPassword + ";". " User ID =' + oraUserName + '; Data source = mydb; » « ;" *
    _conn. Open(); *


    User/login name are also generated and inserted in the connection string and when you debug checked the connection string and it's exactly the same every time. It is as if the connection is interrupted and the first time, it attempts to restore, it gives the error, but then it opens the connection after that and failed again in the same window.
    Any ideas what this might be caused by? I close the connection to another method, after all I want to be the DB and written on the screen.

    The web server is IIS, is the version of .NET 3.5 and the library referenced Oracle is Oracle.DataAccess.dll. In addition, the DB version is 10.2.0.4. Don't know if everything what is necessary, but I thought I'd throw out there, just in case.

    Edited by: psaleh may 24, 2010 23:37

    When you create here of the OracleConnection object.

    * private readonly OracleConnection conn = new OracleConnection (oradb); variable in class *.

    _oradb might be empty or invalid during the first.

    Instead, try this-

    * private readonly OracleConnection _conn = new OracleConnection(); variable in class *.

    * / / in the Page_Load method *.
    _conn. ConnectionString = "password =" + oraPassword + ";". " User ID =' + oraUserName + '; Data source = mydb; » « ;" *
    _conn. Open(); *

    There is a separate forum for the ODP. NET-
    http://forums.Oracle.com/Forums/Forum.jspa?forumid=146

  • Avoid using the same query...

    How can I avoid to use the same query again and again using a single query, such as

    SELECT
    a,
    b * (SELECT COUNT (C1) FROM T2);
    c * (SELECT COUNT (C1) FROM T2);
    d * (SELECT COUNT (C1) FROM T2)
    Of
    T1;

    Fanny says:
    How can I avoid to use the same query again and again using a single query, such as

    SELECT
    a,
    b * (SELECT COUNT (C1) FROM T2);
    c * (SELECT COUNT (C1) FROM T2);
    d * (SELECT COUNT (C1) FROM T2)
    Of
    T1;

    A few cross join?

    select a, b*cnt, c*cnt, d*cnt
      from t1, (select count(c1) cnt from t2)
    
  • Permission of files and folders for the same user on multiple computers

    Is it possible to set permissions files and folders different for the same user when he connect on different computers in the same domain?

    Example:

    There is a folder named "Folder1".
    When "User1" enter this folder by "Computer1" must have "Read & Execute" permission
    When "User1" enter this folder in "Computer2" must have permission 'change '.

    Thank you

    Hello

    Your question is beyond the scope of this community.

    Please post your question on the TechNet forums:

    https://social.technet.Microsoft.com/forums/Windows/en-us/home

    Kind regards

  • SimpleDateFormat giving different results for the same string in the form

    I use http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/i18n/SimpleDateFormat.html for formatting my date and time fields.

    I got a bug report that a device on English (UK) has a problem where the time turns off the screen, and I was able to reproduce this on device and Simulator.

    It's the pattern string that I use: hh:mma

    (hour 2 digits, colon, minute 2-digit and one letter for 'a' or 'p')

    English or r I get the result you want, for example 12: 12 p '

    "On English (UK), I get two letters for one / p marker, for example ' 12:12.

    (as if I had used 'hh:mmaa').

    What is the desired behavior? My client doesn't like it and wants a look and feel unique, with only one letter for 'a' or 'p', and I'm a little hesitatant to use aubstring...

    I usually do so, but our customer asked specifically localized to the date and time formatting.
    I have the model in my resource files, as the requested values are not easy to manage with the dateformat standard.

    Well, I have submitted comments on the entry of doc API, the doc is fake or the OS has a bug.
    I use substring if the string endsWith (am or pm) now...

  • Why can't save a form under the same filename with multiple signatures

    I have a form requires it several signature but after the first signature is placed and the form is saved (the document of locking is not enabled) when the form is opened again and the next signature is added now cannot save under the same name form. Why?

    What exactly is the error message?

    It is possible that you are in a folder that is restricted by Adobe or the form is opened by another application as a "Preview" of your file manager mode.

  • Is there a way to apply the same bumper to multiple exports automatically?

    Hello smart people.

    I have a project in which I create hundreds of 60-120 second clips, all demanding the same intro-outro bumpers. Each month, I do about 125 of them.

    Instead of manually apply these bumper to each sequence, I'd love to be able to ask for the first or Media Encoder to find and fix the stops specified as a batch.

    Is there a way to do this?

    In collaboration with the last updated version of the CC 2014 (on a Mac).

    Other that the creation of a model project with the bumper built in sequences.  There is nothing that will batch point.  I suggest that you look at videohelp.com or similar site for a sewing tool (there was a tool for development called Handbrake that was a function of auto-merge batch).

  • How can I get Muse to play the same video in multiple CODECs?

    Edge using animate, there is a container that encapsulates a video and he holds in OGV, MP4, WEBM and be played depending on the browser used. Of course the written miraculously JavaScript package to query the user's browser. In this example, the video is part of an animation rather than standing alone.

    However, what about when the video is not part of an animation? Is it possible for Muse to do the same thing? Premiere Pro makes these gargantuan files that I convert into manageable files with a 3rd party software to get the 3 web products (OGV, MP4, WEBM), but I don't know how to to make it work using Muse for the same film has played in a variety of browsers.

    I suppose I could load them all on YouTube and let YouTube figure out. However, I would like to welcome movies, but do not know how to handle this with the same elegance of edge animate, but using Muse.

    Ideas and comments are appreciated here.

    Thank you

    Dan

    Hello

    Please see the links below, you might find them interesting for you.

    http://www.Muse-themes.com/blogs/News/12546665-customizable-HTML5-video-player-new-Widget

    http://www.YouTube.com/watch?v=KnBFLQheOk4

    How can I creat Mp4, avi... videos in Adobe Muse

    Concerning

    Vivek

  • Export to epub "a fixed provision" puts the same page on multiple pages

    Have books with 50 pages I want to export to ePub files. All pages have a mounted pdf or a jpg, so no book its complex. Exported and open in iBooks, the cover is 40-45 pages and fix them, then only 4 pages with content. Y at - it a bug or what it might be? Tried 3 different books and content and got the same result. In the xhtml file ID is the cover... If it's written wrong page number and also lack of export the right page at all... Anyone with the same result?

    Hello

    Thanks for sharing files. The image is repeated on every page in the case of file imported PDF is a PEFP question (exist in the previous version) i.e. There are recomposable EPUB 9.2 CC.

    This happens only in the case of PDF and not otherwise. The solution is to make changes to the image placed on each page, either in terms of size or attributes such as transparency, line, fill etc.

    I know that workaround is not feasible, but it's the only option to deal with this issue until the moment that this bug is fixed. Please let me know if the problem persists even after doing these steps.

    Kind regards

    POOJA

Maybe you are looking for

  • 17 Firefox does not work properly

    After that 17 Firefox itself installed I started having problems with web site graphics does not properly not like Wikipedia and Facebook. It is difficult to describe without showing a photo, but if it happened to you so you will know what I mean.

  • Satellite Pro A40: Lost CD-Rom - ide #1 error on initialize to top

    I lost the use of my cd-rom suddenely and can no longer play cd/DVD. It is not recognized in the 'my computer' screen either and when I went to "run" and looked in the MSINFO32 - cd it shows no drivers.Also showing an error ide #1 in trunk = upward.

  • Icons to keep moving every time that I reboot my system.

    Move icons I uncheck Align the grid and automatic reorganization under the icons to reorganize by, but I have icons keep stepping back to the left side of the screen every time I sign out and then sign back in.

  • My Hotmail account seems to have been hacked

    original title: advice needed I found that my account hotmail as been blocked because it seems that someone else has used.  I had to validate that I am to get my account back but I need to get to my e-mails worried am I am unable of any advice would

  • swc0700 iDRAC is not ready [CF]

    Buongiorno, HO a R520 s.t. b1f43y che d mi tell this error server: swc0700: idrac is not ready. the configuration values are not available. CI sono delle Presidents che posso tentare da solo? Potete mi fare UN preventivo per UN intervento on-site? Gr