موضوع: afterfx scripting

ردود: 5 | زيارات: 1009
  1. #1
    عضو فعال
    تاريخ التسجيل
    Jun 2003
    المنطقة
    palastain
    العمر
    40
    ردود
    229

    afterfx scripting

    hi all,

    am looking for help in afterfx scripting .. i need to read from text file then setkeys of my ae file.

    so i need the :
    read charcter from file
    read number from file
    assign key on fillter

    looks simple, but it needs searching and test ..

    so if anyone can help,i would thank him alot..

    thankx to all.


  2. #2
    عضو فعال
    تاريخ التسجيل
    Jun 2003
    المنطقة
    palastain
    العمر
    40
    ردود
    229
    noone can help

  3. #3
    plz copy my text to any notepad file for the correct text orientation.. you may have to select all text and press Left CTRL+SHIFT

    Look, scripting isn't my thing actually.. but I don't think what you wanna do is possible. did you seach the scripting help file ?.. I searched it .. to read characters from a file you use

    File(path).read(chars)

    But this returns only strings, I don't know know if you can replace "chars" with something like "nums".. but searched for "Read number" and got no clue.

    I also searched for functions that control filters in the scripting help, searched for the word "filter" and "plugin" and also got no result .

    To know why I said at first that I don't think it's possible through scripting plz read the following lines I copied from scripting help :

    Scripting does not access individual properties of a layer, and thus it does not overlap with the functionality of expressions in After Effects, although it is based on a similar programmatical model. Scripting takes control of more global areas of After Effects, such as the application itself, the Project window, and the Render Queue, from which expressions can in some cases receive data but to which expressions cannot make changes.

    The similarity between expressions and scripting is, however, apparent in that they are both drawn from the same language, ECMA standard JavaScript. Thus, knowing how to utilize one is helpful in understanding the other.

    I guess you should go for expressions, but I'm not sure if expressions can read from text files .

    Anyways, you may wanna check the ECMAScript Language Specification here : http://www.ecma-international.org/pu...s/Ecma-262.htm

    If you got to know anything please tell me.
    -------------------
    الشارع ده كنا ساكنين فيه زمان..
    كل يوم بيضيق زيادة عمّا كان..
    أصبح الأن بعد ماكبرنا عليه..
    زي بطن الأم مالناش فيه مكان..

    (الشوارع حواديت - صلاح جاهين)
    -------------------

    سبتمبر 2002

  4. #4
    عضو فعال
    تاريخ التسجيل
    Jun 2003
    المنطقة
    palastain
    العمر
    40
    ردود
    229
    thankx u very much for helping

    "does not access individual properties of a layer"

    simply it means its not possible ..

    i'll find another way to reach my target ..

    thankx again.

  5. #5
    you're welcome
    -------------------
    الشارع ده كنا ساكنين فيه زمان..
    كل يوم بيضيق زيادة عمّا كان..
    أصبح الأن بعد ماكبرنا عليه..
    زي بطن الأم مالناش فيه مكان..

    (الشوارع حواديت - صلاح جاهين)
    -------------------

    سبتمبر 2002

Bookmarks

قوانين الموضوعات

  • لا يمكنك اضافة موضوع جديد
  • لا يمكنك اضافة ردود
  • لا يمكنك اضافة مرفقات
  • لا يمكنك تعديل مشاركاتك
  •  
  • كود BB مفعّل
  • رموز الحالة مفعّل
  • كود [IMG] مفعّل
  • [VIDEO] code is مفعّل
  • كود HTML معطل