Posts by DOGmotion

461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says



Hi, guys I’m working on a project where I d like to link the text value to a specific attribute, such as opacity.

It it possible to link for example the letter ‘t’ to 50% opacity, or a specific position, and the letter ‘b’ to an other value? So when the text layer is set to ‘t’ the opacity is 50% for example, and when it’s ‘b’ the opacity is 80%.

Thanks! :)
Try this:
text = thisComp.layer("TextName").text.sourceText.value; // Change the layer name
text = text.toLowerCase();
switch (text) {
    case 'b': 30; break; // Change 30 to have another value when your text = "b" 
    case 't': 50; break; // The same thing with 50 and text "t" 
    default: 0; // Default value
}
This expression works with both uppercase and lowercase letters (“t” and “T”). So the value on “T” will be the same as on “t”. If you don’t want this, remove this line:
text = text.toLowerCase();

Thanks Yahor! Very easy to follow. Works like a charm :)

Is there a way to specify the letter position in a word? For instance the source text will only take into account the third letter in a specific word? This would really be a time saver!
Don’t quite understand what you mean.
But if you have, for example, the text “The quick brown fox jumps over the lazy dog”. And you want to set specific value if the first letter is “t”. So you need to change this line:
switch (text) {
to that one:
switch (text[0]) {
The counting starts from zero. For example, you want to check if the eleventh letter is “b”. You put text[10], not text[11]
BUT if there is only 4 letters in source text you will get an error. Because there is no eleventh letter.

So first you need to check how many characters you have in text. Here is the whole code:
text = thisComp.layer("TextName").text.sourceText.value;
num = 10; // Put here the number of desired letter. Remember counting starts from zero
def = 0; // Set default value
text = text.toLowerCase();
if (text.length > num) {
    switch (text[num]) {
        case 'b': 30; break;
        case 't': 50; break;
        default: def;
    }
}else def;

...or maybe you need something more complex?

461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

Hi, guys I’m working on a project where I d like to link the text value to a specific attribute, such as opacity.

It it possible to link for example the letter ‘t’ to 50% opacity, or a specific position, and the letter ‘b’ to an other value? So when the text layer is set to ‘t’ the opacity is 50% for example, and when it’s ‘b’ the opacity is 80%.

Thanks! :)
Try this:
text = thisComp.layer("TextName").text.sourceText.value; // Change the layer name
text = text.toLowerCase();
switch (text) {
    case 'b': 30; break; // Change 30 to have another value when your text = "b" 
    case 't': 50; break; // The same thing with 50 and text "t" 
    default: 0; // Default value
}
This expression works with both uppercase and lowercase letters (“t” and “T”). So the value on “T” will be the same as on “t”. If you don’t want this, remove this line:
text = text.toLowerCase();
461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

Ok i will say it…. we really need to do something about piracy.

I wrote about it here.
We need to start conversation with Envato. Talk about our problems. Not only few people but dozens. Because now nobody from Envato really care. Read their 2015 Roadmap. They want to focus on new unprofessional buyers, instead of brining back the old proffesional customers from warez sites.

The main problem is ignoring piracy. We ignore it because sending DMCA is a waste of time nothing more. Because there’s not much we can do. Envato ignore it because they like to ignore problems. But let’s stop this, group together and start conversation. Maybe we will find the solution.

Thanks

461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

UPD:
What I really want to see on the road map, it’s some kind of protection from piracy. I don’t know about other markets, but on VH it’s became really huge problem. Only 3 – 4 sales and your file is free on dozens warez sites. It’s really bad. DMCA helps only in 60%, you lose a lot of time to sending those emails, but more wares links appear every day…

461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

Thanks for sharing but I am really not sure what I read. There is not much of content (data) in there… it looks like a marketing brief.
+1
Too many vague words.

Today, Envato isn’t always for ‘any skill level’. Pick up an After Effects file on VideoHive and unless you have the software installed and the know-how to use it, the template might not do you much good.
What exactly is it mean?
You can’t open .aep files without Adobe After Effects. It’s a fact. So do you want to offer buyers a customization service? ...or… Do you want to oblige VH authors to offer customization? ...or… Do you want to create basic AE tutorials and offer free version of AE for each customer?... Maybe you want to close AE templates category?

So as you see it’s not quite clear what you are going to do. There are eight focus areas and I don’t think that I understand even one of them.
Sorry.
461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

Looking at this thread I realize that we need to have “Like” button. :D
PS: This is a Thread of Spam.

461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

Better to ask your question directly to the author of the theme.
You may also try to post your question on themeforest forum. But I think you will get the same answer.

461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

It’s not looped. The start and the end is absolutely different.

461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

Only Adobe can give us the solution. They can add the password protection function to AEP format in the newers version of AfterEffects. Protected AEP file can be saved without lost of protection and it can be opened\imported only if the password is right.

In this case pirates can include passwords in their archives. And this protection will quickly become useless.

We need something that from time to time connects to envato verify purchase code and write down the computer mac address. If there will be more than 20 (for example) different computer, the protection system lock file.
But still no one will stop pirate to copy or resave file, or some how remove protection…

In the world where you can duplicate any file 1000 and more times. Where it’s possible to share first 4 episodes of GoT, before they even were shown on HBO… In this world you can only leave with it, nothing more. Until Windows and Mac OS create some sort of protection that will not allow users to simply copy and paste files without special permissions.

461 posts
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 10+ members
  • Has been a beta tester for an Envato feature
+4 more
DOGmotion
says

Hi Folks, I want to make a wiggle only in Y position, but my expression doesn´t work:

x = value [0];

y = wiggle(20,20);

[x,y]

What am i doing wrong? Thanks!
Try this:
y = wiggle(20,20);
[value[0],y[0]]
Your expression don’t work because wiggle in property with two values also has two values. So you need to put [0] or [1].

UPD: Sorry, I’m too slow :)
by
by
by
by
by
by