Forum Replies Created

Page 212 of 277
  • Filip Vandueren

    June 13, 2006 at 8:00 pm in reply to: Numbers or text expression with a ,

    I also fixed a bug were -xxxxxx would display as -,xxx,xxx:


    num=effect("Point Control")("Point")[0]; // use the first part of a point for more resolution than a slider

    numAsText= ""+num;
    dotIndex = numAsText.indexOf("."); // check for decimals
    if (dotIndex==-1) { dotIndex=numAsText.length; }

    formattedText = numAsText.substring(dotIndex-3,dotIndex+3); // +4 for 3 decimals etc.

    if (dotIndex>3) {
    for (i=dotIndex-3 ; i>0 ; i=i-3) {
    extractedText = numAsText.substring(i-3,i);
    if (extractedText=="-") {
    formattedText = extractedText + formattedText
    } else {
    formattedText = extractedText + "," + formattedText
    }
    }
    }

    formattedText;

  • Filip Vandueren

    June 13, 2006 at 7:50 pm in reply to: Numbers or text expression with a ,

    the Slider Control can not be set beyond -1 and +1 million, the script still works though.

    You can get around it by using a Point Control Instead of a Slider, you only need the first value, so create a Point Control and change the first line to something like:

    num=effect(“Point Control”)(“Point”)[0];

    (this assumes the Point Control is actually asigned to the Text-layer itself. You can just pickwhip to the first number of the Point’s co

  • Filip Vandueren

    June 13, 2006 at 7:50 pm in reply to: Numbers or text expression with a ,

    the Slider Control can not be set beyond -1 and +1 million, the script still works though.

    You can get around it by using a Point Control Instead of a Slider, you only need the first value, so create a Point Control and change the first line to something like:

    num=effect(“Point Control”)(“Point”)[0];

    (this assumes the Point Control is actually asigned to the Text-layer itself. You can just pickwhip to the first number of the Point’s co

  • Filip Vandueren

    June 10, 2006 at 1:23 am in reply to: Customize Keyboard shortcuts in AE7

    do a search on your system for “Adobe After Effects 7.0 Shortcuts”

    you’ll find a txt-file that’s not difficult to decypher or edit, and that allows you to change the keyboard shortcut for every AE function that can be called from a shortcut.

  • Filip Vandueren

    June 8, 2006 at 5:39 am in reply to: Numbers or text expression with a ,

    to limit the decimals to two:

    num=12345.12354;
    
    
    numAsText= ""+num; 
    dotIndex = numAsText.indexOf("."); // check for decimals
    if (dotIndex==-1) { dotIndex=numAsText.length; }
    
    formattedText = numAsText.substring(dotIndex-3,dotIndex+3); // +4 for 3 decimals etc.
    
    if (dotIndex>3) {
    	for (i=dotIndex-3 ; i>0 ; i=i-3) {
    		extractedText = numAsText.substring(i-3,i);
    		formattedText = extractedText + "," + formattedText
    	}
    }
    
  • Filip Vandueren

    June 8, 2006 at 5:39 am in reply to: Numbers or text expression with a ,

    to limit the decimals to two:

    num=12345.12354;
    
    
    numAsText= ""+num; 
    dotIndex = numAsText.indexOf("."); // check for decimals
    if (dotIndex==-1) { dotIndex=numAsText.length; }
    
    formattedText = numAsText.substring(dotIndex-3,dotIndex+3); // +4 for 3 decimals etc.
    
    if (dotIndex>3) {
    	for (i=dotIndex-3 ; i>0 ; i=i-3) {
    		extractedText = numAsText.substring(i-3,i);
    		formattedText = extractedText + "," + formattedText
    	}
    }
    
  • Filip Vandueren

    June 7, 2006 at 10:13 pm in reply to: Numbers or text expression with a ,

    this expression should do the trick (though it’s not very elegant):


    num=234567890123.123;

    numAsText= ""+num;
    dotIndex = numAsText.indexOf("."); // check for decimals
    if (dotIndex==-1) { dotIndex=numAsText.length; }

    formattedText = numAsText.substr(dotIndex-3);

    if (dotIndex>3) {
    for (i=dotIndex-3 ; i>0 ; i=i-3) {
    extractedText = numAsText.substring(i-3,i);
    formattedText = extractedText + "," + formattedText
    }
    }

    there’s still a bug if you need negative numbers, let me know if this works out for you.

  • Filip Vandueren

    June 7, 2006 at 10:13 pm in reply to: Numbers or text expression with a ,

    this expression should do the trick (though it’s not very elegant):


    num=234567890123.123;

    numAsText= ""+num;
    dotIndex = numAsText.indexOf("."); // check for decimals
    if (dotIndex==-1) { dotIndex=numAsText.length; }

    formattedText = numAsText.substr(dotIndex-3);

    if (dotIndex>3) {
    for (i=dotIndex-3 ; i>0 ; i=i-3) {
    extractedText = numAsText.substring(i-3,i);
    formattedText = extractedText + "," + formattedText
    }
    }

    there’s still a bug if you need negative numbers, let me know if this works out for you.

  • Filip Vandueren

    June 7, 2006 at 9:47 pm in reply to: 3D Ribbon

    there have been tons and tons of questions about creating ribbons on this forum, if you use the search, you will find some answers.

    Most people agree though, that in AE’s 3d world you can only go so far untill you really need a dedicated 3D animation app like cinema 4D (and someone who knows how to work with it)

  • Filip Vandueren

    June 7, 2006 at 9:44 pm in reply to: AE 7 – five months later

    I really feel kinda stupid,
    every cow-forumleader has been raving about how prefect the new interface is…

    But i just cannot work as well in this interface as I used to in AE 6.5

    At first I thought it would just take some gettin used to, but as the title says: it’s been 5 months.

    I really liked the ability to quickly twirl down a property to see what it was doing AND still see the actual keyframes.
    The explanation that with the new curves editor ‘you don’t need keyframes’, I just don’t buy it.

    Also: as soon as I have more than say 5 layers that are 3D, the interface becomes so unresponsive…
    for example: i click on the empty pasteboard to deselect my current layers( I know, i can press Command-Shift_A), and then move the mouse: after effects thinks I’ve dragged a selection, and highlights every layer I’ve moved over in the last second, as if the mousebutton was still pressed …

    Also what happens at least once every two days: I hide after effects, and it will not reappear: it’s still running, and if I work blind (Command-S; Command-Q; Enter) I can save the current project and Quit, but the window’s just not there.

    Well, the end of my little rant 😉

Page 212 of 277

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy