Scott McGee: Activity About Liked Popular Images
Scott McGee

Member Since:
July 15th 2016
277 Posts
100 posts
Is there any script to resize comp adding pixels over original value?
by Javier Burgos 2 months ago
Hi everyone I m working on a project with a lot of photoshop layers (I import the file in retain layer size way). I precompose every layer (leave all attributes) and then I need to increase de composi
Re: Is there any script to resize comp adding pixels over original value?
by Scott McGee 2 months ago
That was quicker than I thought it would be to write. var mySelectedItems = ; for (var i = 1; i <= app.project.numItems; i++){ if (app.project.item(i).selected) mySelectedItems mySelectedItems.leng
AE scripting: 'onOpenProject' event exists?
by David Gidali 2 months ago
Hi there, For a script I'm writing, I would like to have some menus update automatically whenever the active project changes (by opening an existing new project, or by saving the current project into
Re: AE scripting: 'onOpenProject' event exists?
by Scott McGee 2 months ago
Personally I'd just include an update button and function that to update refresh the menu. There's plenty of bits about on this sort of thing if you want it to update. (attached some code below) Depen
AE Scripting: JSX parsing JSON file already in Project
by Quba Michalski 2 years ago
Hey, I am working on a project which requires me to automate creation of comps and layers based on a JSON file. I managed to successfully write a JSX script that reads an external JSON file and does t
Re: AE Scripting: JSX parsing JSON file already in Project
by Scott McGee 2 months ago
I don't think that is possible. Even using the expression function, AE has inbuilt support to parse it in the background. However I don't know if that is done when importing. If you trying and access
When If Else Condition met Value should not change suddendly-Should change in defined time duration
by Sameer Patel 2 months ago
Hi Folks, I am working on an after effects project. Where I have 5 shape layer. I have indexed these shape layer positions as per the attached slider counter number value. Here is expression code of o
Re: When If Else Condition met Value should not change suddendly-Should change in defined time duration
by Scott McGee 2 months ago
Ignore me, just watched it and it's manually done. However Tomas who's a regular boffin on here created this. Which is what you're after. Or can guide you better. https: www.youtube.com watch v=A3_0aA
Text Contained Within String
by Mike LeBel 2 months ago
I'd like to write an IF statement that can look at text in a string (MyString) to determine if a word is contained or found within the string. Below is the simplest example I could make up on this que
Re: Text Contained Within String
by Scott McGee 2 months ago
Ah yes, my bad. Can't believe I missed that bit. Hahaha
What's wrong with this syntax?
by Sean Jenkinson 4 months ago
Hi, I'm following a tutorial in 'The Power of Expressions' about optimisation in expressions and I created the following three lines (as directed by the text in the book): var Variable1 = 10; let Vari
Re: What's wrong with this syntax?
by Scott McGee 4 months ago
Sounds like you are either using an old version of after effects or haven't turned off Legacy in your expression settings in project settings.
sourceRect text layers which play off each other.
by Chris Meadmore 1 year ago
Hi, I'm using sourceRect.time to scale a text layer to a specific width. Works great. Now I have 2 layers which have the same expression applied and I'm trying to rig them off each other. So: Layer A
Re: sourceRect text layers which play off each other.
by Andrei Popa 1 year ago
So you try to go for the largest layer, but not over 100 Layer1Width = thisComp.layer("LINE_01").sourceRectAtTime().width; Layer2Width = thisComp.layer("LINE_02").sourceRectAtTime().width; Layer3Width
+1
Scott McGee liked this 1 year ago
Building Expressions Workflow: multiple layers referencing single code?
by Brian Nishii 2 years ago
Hello all you smart people! Here's a workflow question: I'm building a comp with a 100 layers that contains expressions on various parameters that uses layer index to drive stuff. So far so good and m
Re: Building Expressions Workflow: multiple layers referencing single code?
by Andrei Popa 2 years ago
Eval thing goes even beyond. You can even use evalfile() to get an expression from a text layer. I don't use very complicated expressions, but for those who do, a nice text editor like Atom, Sublime e
+1
Scott McGee liked this 2 years ago
Center and Animate text position
by Magno Alves 2 years ago
Hello, first of all, I want to thank those who contribute in this forum where I already had a lot of doubts about expressions in After Effects. I've tried a lot of how to make animation based on expre
Re: Center and Animate text position
by Magno Alves 2 years ago
Thank you all for your help! I am very happy to always come in the forum and find answer to all my doubts of expressions in the after effects.
Scott McGee liked this 2 years ago
Expression that recognises 2 lines of text
by Deanna Keogh 2 years ago
Hi, Im trying to create a text box, using sourceReactAtTime that follows my text based on how many characters and lines there are. I've used this tutorial: https: www.youtube.com watch v=CVliDoNgoCg W
Re: Expression that recognises 2 lines of text
by Tomas Bumbulevičius 2 years ago
Deanna, below is compatible since CC14. Hope that helps. 13206_textboxes1to4linescc14.zip Find out more: After Effects Tutorials: motion design, expressions, scripting.
+1
Scott McGee liked this 2 years ago
scripting: fill color same as layer label color?
by Santi Agustí 2 years ago
Hi! Do you know if is it possible (via scripting) to make the color of a fill effect, be the same as the layer's label color I guess it's not possible without retrieving the actual rgb label colors fr
Re: scripting: fill color same as layer label color?
by Santi Agustí 2 years ago
thanks Scott for your help! I think I found a workaround here https: forums.adobe.com thread 1354211 but at the same time, I was thinking on a plan B for that issue (also, maybe the user has a lot of
+1
Scott McGee liked this 2 years ago
Multiple position ease expression
by Scott McGee 2 years ago
I have 20 text layers. different amount of lines per text layer It comes on from the top left side and then when the next on comes in moves down underneath, then the next one comes on from the side an
+1
Scott McGee liked this 2 years ago
Re: Multiple position ease expression
by Kalleheikki Kannisto 2 years ago
Hi Scott, sounds good -- hope that works out! I thought of another possibility, in case it doesn't: How about tying the y position of a layer to the y position of the layer above it plus an offset tha
+1
Scott McGee liked this 2 years ago
Create Line Break After X Number of Characters
by Bryce Poole 6 years ago
Hello, I have a lower third that I've created in after effects that I would like to be editable in Premiere using CC 2014's new template text feature. There are two lines on the lower third and I'd li
Re: Create Line Break After X Number of Characters
by Kalleheikki Kannisto 2 years ago
This should work for any number of lines. Ripped it from an old project of mine and simplified some. Set the char_per_line variable to the number of characters you want. The text will break only on th
+1
Scott McGee liked this 2 years ago
Text box padding in only X value and not Y Question
by Merlin Nation 2 years ago
Hi all, firstly you ve helped me a lot on here in the past and thank you for that! I have an expression that has been working well for automatically setting the size of a background box based on the t
Re: Text box padding in only X value and not Y Question
by Kalleheikki Kannisto 2 years ago
The problem is that the value of title.height changes depending on your text. I would suggest rounding the value to the closest multiple of the line spacing to avoid this issue. Should be something li
+1
Scott McGee liked this 2 years ago
selectLayers script
by Scott McGee 2 years ago
I understand that selected layers, requires a bit more brain hurt, but to get a selected item for(var i = 0; i <= 3 ; i++ ){ b i .onClick = (function(i){ return function() { app.beginUndoGroup("Add
Re: selectLayers script
by James Ronan 2 years ago
Hey Scott. Here's a rough example of a window with 3 buttons, that adds or replaces the fill effect across all selected layers: Hope that helps! var win = new Window('dialog', "Test"); var btnAry = ;
+1
Scott McGee liked this 2 years ago
Creative COW Forums
by Creative COW 4 years ago
https: forums.creativecow.net
+58
Scott McGee liked this 2 years ago
How do you dock certain Script UI Panels?
by Benjamin Brown 4 years ago
So for example, I use Ease and Wizz and other ScriptUI Panels all the time, but I don't know how to dock them in AE like you would the project window or the timeline or something like that. Can this b
Re: How do you dock certain Script UI Panels?
by Scott McGee 2 years ago
Is there a way to make your panel dockable when launched through another. To keep my script tidy and separate. I have a few different scripts that are launched via a menu. Is there a way to make these
Date given + 7 or something else
by Scott McGee 3 years 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 3 years 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 3 years ago
© 2020 CreativeCOW.net All Rights Reserved
[TOP]