Scott McGee: Activity About Liked Popular Images
Scott McGee

Member Since:
July 15th 2016
138 Posts
100 posts
How to replace one line of code in multiple layers?!
by Greta Senne 1 month ago
Hey everyone, is there a way to exchange for example one word in my expression with another but in multiple layers i have a little (tiny tiny) bit of experience in coding and when i used "sublime" i c
Re: How to replace one line of code in multiple layers?!
by Scott McGee 1 month ago
I create a expression control comp and keep all my expression layers in there and tie them us using something like this to the multiple layers eval(comp("1 - Control Center").layer("City").text.source
Y-POSITION layerA matches BOX DEPTH (YScale) on layerB
by Rose Draper 1 month ago
HI There Expressions Luddite here. I'm trying to set up an expression where a precomp's Y position can slide up and down, retaining its relative position to a Grey box's Y depth on another layer. (so
Re: Y-POSITION layerA matches BOX DEPTH (YScale) on layerB
by Scott McGee 1 month ago
Not exactly sure but I'll take a stab at it. Is there any reason why you are precomping. me personally for what I think you are using this for. I'd create a shape layer and use the expression to resiz
control multiple positions with expression
by Adam Greenberg 2 months ago
HI everyone, I am trying to simplify something I ve dealt with before, and because there is a logic to it, it must be something an expression can accomplish. See below for a link to a very simple ae p
Re: control multiple positions with expression
by Scott McGee 1 month ago
There is no purpose to this, I just use it to define a location. A lot of the time I want items to be directly central (thisComp.width 2, thisComp.height 2). You would just replace this with your x an
Why $.evalFile("./filename") does not work inside a function?
by Andrei Popa 2 months ago
I have solved this problem by using new File($.fileName).parent + " filename". But still wondering why it does work in the main part of the script, but not inside the onClick() function of one of my G
Re: Why $.evalFile("./filename") does not work inside a function?
by Scott McGee 2 months ago
I have this issue when writing eval functions in After Effects. wl = loc + city + " weatherdata" + thisComp.layer(index+num).name.toLowerCase() +".txt"; wl += " "; $.evalFile(wl); This is how I use it
acceleration expression
by Jamie Bradshaw 2 months ago
Hi all. So I'm experimenting with a technique that I think would be very useful. Basically, I created an expression that would use a layer's inPoint and outPoint along with a predefined start and end
Re: acceleration expression
by Scott McGee 2 months ago
I can't take credit for this, but this works. I've not been successful in getting this to work with a position expression yet, but I've not tried hard enough. I usually do exponential scaling with a s
for loop Array
by Scott McGee 2 months ago
Hey Guys, I've seen a few versions of this but not the way I want to use it and struggling to tweak it to work. I have two arrays. j = "BL", "CF", "LS" k = "Bristol", "Cardiff", "Leed" I want a for lo
Re: for loop Array
by Scott McGee 2 months ago
Not sure how I got this to work, but I'm taking it as a win. Anyone who might be struggling with this here's how I got it to work. input = thisComp.name; var myArray = "BL", "CF", "LS" ; var myResult
for loop (opacity)
by Scott McGee 2 months ago
Hey Guys, I'm not having much luck with this one. for loops have always been my weakest area from day one. val = 0; for( i=1; i <= thisComp.numLayers; i++){ if (i == index) continue; L = thisComp.l
Re: for loop (opacity)
by Scott McGee 2 months ago
For the fact I'm struggling my guessing game is getting better. val = null; for ( i = index+1; i <= thisComp.numLayers; i++){ try{ L = thisComp.layer(i) if(L.transform.opacity == 0) continue; if(L.
Date given + 7 or something else
by Scott McGee 9 months ago
I'm given an upload date in a text file. example 2017-08-08 I need an expression that will take this static date and add 7. So that it works out current date might be 2017-08-10; date1 = 20170808 date
Re: Date given + 7 or something else
by Dan Ebberts 9 months ago
Couldn't you just create your date object, convert it to milliseconds with D.getTime(), add 7 days worth of milliseconds, and create a new Date object from that Dan
+1
Scott McGee liked this 9 months ago
© 2018 CreativeCOW.net All Rights Reserved
[TOP]