Scott McGee: Activity About Liked Popular Images
Scott McGee

Member Since:
July 15th 2016
102 Posts
100 posts
if/else exists expression
by Scott McGee 1 week ago
for (var i = 1; i <= myComp.numLayers; i++){ var myComp = app.project.activeItem; var nNum = myComp.layer(i).effect("Name")("Slider").value; var name = myObject nNum .name; myComp.layer(i).name = n
Re: if/else exists expression
by Scott McGee 1 week ago
I am a moron.... I even tried a try catch, but did it every wrong way possible, even when you posted that I did it wrong initially again and realised I have to put it in the loop for it too work, beca
JSON.parse vs $.evalFile
by Scott McGee 1 week ago
POST EDITED. I've managed to get my script to work. So I asked one of two things...I only need to ask one. With the update to cc 2017 they are making it easier to input JSON. is there anyway to refere
Specific word in paragraph be a different color
by Liam Campbell 2 weeks ago
I asked this about a year ago but still haven't figured out a solution. I want to make fake "hacker code" and I want to be able to make the word "class" always be red while everything else is white fo
Re: Specific word in paragraph be a different color
by Scott McGee 2 weeks ago
Cheers Liam for asking and Dan for answering. This is exactly what I wanted and it works. With a few alterations. Honestly didn't think that putting .indexOf at the end of the open square brackets wou
Is it possible to partially change color of text with Expressions
by Dmitry Yershov 1 year ago
Hey everyone, I'm trying to do a Twitter template and I want the user to be able to change colors of text and links separately with expressions. Is it possible to get regular text be Color 1 and words
Re: Is it possible to partially change color of text with Expressions
by Scott McGee 2 weeks ago
This works, but if you hit return on the very first character, or if you delete the space that at the end of the line, it shifts the colour forward one otherwise it works...Yay try{ myChar = ""; for (
sourceRectAtTime Proximity Detection
by Scott McGee 3 weeks ago
If I precomp layers, this works fine. R = thisLayer; L = thisComp.layer(index+1); delta = (R.width + L.width) 2; if (length(R.position, L.position) <= delta) 0 else 100; But text and shape layers t
Re: sourceRectAtTime Proximity Detection
by Scott McGee 3 weeks ago
Solved my problem.. It was working fine, but it was the anchorPoint that was causing my problem.
Referencing Essential Graphics Presets in Expressions
by Rob McDougall 3 weeks ago
Hey all, I'm building an after effects template and hit upon something which would be nice to be able to include! On my lower thirds, I have the option for one line or two lines of text. The backgroun
Re: Referencing Essential Graphics Presets in Expressions
by Scott McGee 3 weeks ago
Just got in front of my machine and it works fine. It works as if it was After Effects. I have a lot of stations to look after and can't be bothered making one for each station...So I use if else stat
Date given + 7 or something else
by Scott McGee 2 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 2 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 2 months ago
© 2017 CreativeCOW.net All Rights Reserved
[TOP]