AE Scripting Tutorial: Time Offset Expression

Hi all,
Just wanted to share a recent tutorial I made which goes into scripting for After Effects.  It gives a short overview of scripting, Javascript and resources online for learning each.  Then I show how to create a script (with simple GUI) for applying a time offset expression to a number of layers that will follow a pre-defined animation at a pre-defined offset.
http://www.creativecongo.com/time-offset-script-tut/
Let me know if you have any questions or even requests for tutorials, scripts or functionality!

This was just for setting up, but here's the file's contents:
var banner01 = ["Name01", "Date01", "Time01"];
var banner02 = ["Name02", "Date02", "Time02"];
var banner03 = ["Name03", "Date03", "Time03"];
var banner04 = ["Name04", "Date04", "Time04"];
var banner05 = ["Name05", "Date05", "Time05"];
var banner06 = ["Name06", "Date06", "Time06"];
var banner07 = ["Name07", "Date07", "Time07"];
var banner08 = ["Name08", "Date08", "Time08"];
var banner11 = ["Name11", "Date11", "Time11"];
var banner12 = ["Name12", "Date12", "Time12"];
var banner13 = ["Name13", "Date13", "Time13"];
var banner14 = ["Name14", "Date14", "Time14"];
var banner15 = ["Name15", "Date15", "Time15"];
var banner16 = ["Name16", "Date16", "Time16"];
var banner17 = ["Name17", "Date17", "Time17"];
var banner18 = ["Name18", "Date18", "Time18"];

Similar Messages

  • Time offset in Conversion or Transformation

    Hi Gurus
    I have a question, I can generate time offset in conversions or transformation? for example a function to load data 2011 and that automatically be save as 2012, but dynamic, without script logic?
    something like this
    *MAPPING
    TIME=TMVL(12, 0FISCPER)
    thanks and
    regards
    Edited by: Nayadeth jeldres on Dec 5, 2011 10:52 PM

    As far as i know , we can not use TMVL in transformation or conversion file. Its a script logic keyword

  • Time offset problems with file i/o

    Hello everyone, I'm having a problem with the file i/o VI's. I require my application to save serial data at constant five minute intervals. The problem I'm currently seeing is that on each save to a file a time offset is being added which eventually becomes seconds, then minutes and so on. Since this application is meant to be run for a whole year this is a serious problem.
    Attached is the VI, an Arduino program simulating how the DAQ sends data and a file showing my time offset problem. 
    Any ideas/suggestions/fixes are appreciated.
    Thanks
    Jose Molina
    P.S.
    To run the VI upload the code to an Arduino, select it's serial port in the popup VI then click on Ok. The VI will wait for a time that is a modulo of 5 then create a folder structure inside the same location as the LLB. Inside this folder structure should be a file with the data which should be saved every five minutes if left at the default averaging time.
    Attachments:
    7-8-2012.txt ‏3 KB
    Daq_Simulator.zip ‏1 KB
    Weather_DAQ.zip ‏117 KB

    Sorry I forgot to mention that the averaging time is configurable in the pop up vi at the start. I tried 20 seconds because it's much faster for testing than 5 minutes. Timing is being done by a simple counter that increments each time data is received. So if I receive data the timer increments by 5 because data is sent every 5 seconds. Once the timer is equal to the averaging time the data is sent to the enqueue function and then the blocking dequeue function on the second loop sends the data to the file save vi which then saves the data to the file. 
    Attachments:
    counter.PNG ‏13 KB

  • Time Delay Express VI default to show as icon?

    I am really only intrested in the Time Delay "express vi"
    This is the only express vi I ever use and it drives me nuts everytime I drop it in and this HUGE box takes up space for nothing.
    I would really love to have just the one VI able to default to Show as icon.
    Attachments:
    Time.png ‏32 KB

    Part of me says that Express VIs should be as annoying as possible so they go away.  But, in the spirit of trying to be helpful I will offer one suggestion.  I have created a subVI which only contains the time delay Express VI.  You can add this to the Palette (ie. user.lib) and go to Tools->Advanced->Edit Palette Set find the SubVI, right-click and select Place VI contents.  Now when you choose this version it will drop in as an icon.
    Attachments:
    TimeDelay.vi ‏19 KB

  • Is it possible to run a script each time a .CSV file is updated?

    I am having trouble with a script I am trying to write, which is made up of two parts:
    A .CSV file generated by PHP/MySQL whenever an RSS feed is updated. The contents of the .CSV are overwritten each time the PHP runs.
    A DataMerge script, written in JavaScript.
    What I would like to do is run the DataMerge script each time the .CSV file is updated. Is this possible, perhaps using an Event Listener within the PHP to trigger the DataMerge script? Or am I approaching this in the wrong way? I'm grateful for any thoughts you might have. Thanks, F.H.

    I would use Rorohiko's APID ToolKit: http://www.rorohiko.com/wordpress/indesign-downloads/active-page-item-developer/
    It has fileChanged event that is sent after the observed external file has changed.
    sorry guys for "labouring the point", but I'm working on very advanced project - and I need to know what my tool can or can't do
    and in this case - using APID will break point 2.3 of EULA, right ? interaction with external datasource - without user action ?
    robin
    www.adobescripts.co.uk

  • Insert at BWF Time Offset - Not working!

    I have some broadcast wave files generated with Cubase 5, and they definitely have BWF time offset. I can see it in File Info. When I select the option to Use BWF Time Reference Offset, and then attempt to insert the file, it just inserts at the cursor. How do I make it insert at the time offset?

    Seems this is a good thing in CS4.
    In CS3, you can split tracks that you didn't want split if you are not careful, so this seems like a very good new thing they added.
    Dave.

  • Time offset is not set properly when db is in Eire timezone

    Hi,
    We are using oracle 10g database (10.2.0.4) on Solaris box (sparc) for an enterprise product in Eire timezone. we see Oracle time offset set as "+01:00" for one of the db column whose data type is TIMESTAMP(6) WITH TIMEZONE. As per the Eire timezone, time offset should be
    March 27, 2011 to Oct 30, 2011 --> +01:00
    Oct 31, 2010 to March 26, 2011 --> +00:00
    So time offset set in the oracle db is incorrect. Please let us know whether this is known issue on this db version and any configuration missed in the db.
    Thanks,
    Periyasamy

    With horizontalScrollPolicy="off" (the default), it is hard to control
    column widths because the columns are sometimes overridden to make sure they
    fit on the screen.

  • InDesign CS3 Scripting Tutorial Files

    Hi Everyone,
    Can abyone point me in the direction of the sample files which are talked about in the Scripting tutorial pdf? It mentions the name such as HelloWorld.jsx or HelloWorld.vbs but I cannot locate them.
    Any help would be appreciated.
    Many Thanks
    Neil451

    http://www.adobe.com/products/indesign/scripting/
    Click on the "Scripting resources" bar.
    Have fun

  • Problem with simple script tutorial

    In comparing and trying to replicate visibility functionality via scripting, I downloaded ChangingVisualObjectProperties.pdf to work on while going through the Scripting Basics PDF from Adobe. However, what should be a simple task has proved vexing.
    In a word, I can't get a button to change the visibility of a textfield object. I even went to the extreme of setting my file up to be identical in structure and naming convention to the tutorial file. Next, I did screen grabs of all the important property settings for the tutorial file and replicated that in my file. And finally, copied and pasted the actual bit of JS from the tutorial to my example. All to no avail.
    Attached are two files. The first is the sample script tutorial from Adobe's site entitled ChangingVisualObjectProperties.pdf. I've included it simply to make it easy for anyone who wants to compare the tutorial to my sample file. The button in question is CheckBox7.
    My file is called MyChangingVisProps.pdf and contains only two objects, CheckBox7 and TextField.
    If someone could tell me what I'm missing, I will be very grateful!
    Graham

    Well, I just found the answer in another post.... File-> Save As and choose Dynamic XML Form!
    Is there some reason this doesn't take effect when setting options in the Properties dialog?? Talk about a GOTCHA moment!
    Graham

  • Problem on Oracle11g2 RAC -- PRVF-5424 : Clock time offset check failed

    I have a lot of file core wrrote every 6 hour and the same time of alert"node".log file show error about PRVF-5424 : Clock time offset check failed.
    Yesterday I use this:
    [root@hostname2 ~]# service ntpd stop
    [root@hostname2 ~]# ntpdate
    [root@hostname2 ~]# service ntpd start
    in order to resolve but today the problem re-begin?
    2013-04-17 20:23:06.063
    CRS-10051:CVU found following errors with Clusterware setup : PRVF-5424 : Clock time offset check failed
    PRVF-5413 : Node "" has a time offset of 69695.6 that is beyond permissible limit of 1000.0 from NTP Time Server "******"
    PRVF-5413 : Node "" has a time offset of 69940.6 that is beyond permissible limit of 1000.0 from NTP Time Server "**
    2013-04-18 02:23:08.973
    CRS-10051:CVU found following errors with Clusterware setup : PRVF-5424 : Clock time offset check failed
    PRVF-5413 : Node "" has a time offset of -1826.9 that is beyond permissible limit of 1000.0 from NTP Time Server "1***
    PRVF-5413 : Node "" has a time offset of -1364.2 that is beyond permissible limit of 1000.0 from NTP Time Server "1**
    2013-04-18 08:23:16.093
    CRS-10051:CVU found following errors with Clusterware setup : PRVF-5424 : Clock time offset check failed
    PRVF-5413 : Node "" has a time offset of -2698.5 that is beyond permissible limit of 1000.0 from NTP Time Server "1***
    PRVF-5413 : Node "" has a time offset of -1998.7 that is beyond permissible limit of 1000.0 from NTP Time Server "1***

    What is your OS name and version ?
    In general you can solve these issues by configuring NTP service running on your cluster nodes to be synchronized with other NTP servers. For example on Linux please read "Oracle RAC and NTP" in http://www.oracle-base.com/articles/linux/linux-ntp-configuration.php#oracle-rac-and-ntp.
    Edited by: P. Forstmann on 18 avr. 2013 13:35

  • Sap script real time process

    hai this is siva ,
    i want sap-script real time process.

    hai this is siva ,
    i want sap-script real time process.

  • What is the maeaninf of lead time offset in BOM

    Can anybodye xplain me the maeaning of lead time offset in BOM

    Hi,
    In situations where orders have long lead times, this scheduling procedure can result in components being provided much earlier than they are actually needed in the production process. To avoid this situation, the dependent requirements date of the subordinate component can be rescheduled by the follow-up time. With the follow-up time the dependent requirements date of the components is displaced from the order start date further into the future.
    The lead-time offset (in workdays) for the component in relation to the start date for production of the superior assembly. This value is not included in lead-time scheduling for a task list.
    Displacing the Dependent Requirements Date in the Future
    If you have entered a positive value in the bill of material, the dependent requirements date of the component is displaced in the future, starting from the order start date of the assemblyu2019s planned order.
    Order start date of the assembly: 11.30.1999
    Lead-time offset: 2+
    Dependent requirements date of the component: 12.02.1999
    Bringing Forward the Dependent Requirements Date
    If you have entered a negative value, the dependent requirements date will be brought forward.
    Order start date of the assembly: 11.30.1999
    Lead-time offset: 2-
    Dependent requirements date of the component: 11.28.1999
    Regards,
    Alok Tiwari

  • Running Ecatt script multiple times

    I have created a ecatt script for ME21N. I need the script to run multiple times.So,i have used Do Enddo statement and put the number of times to be executed.
    The script is running fine for the first time. then its not running. From the second time,its putting blank values into the fields and not saving the data.
    How can i run the script multiple times.
    Thanks,
    Aparna.

    Hello,
    When you run the script multiple time then you will have to pass different values to the fields so that every time the script is run with new set of values and the data is created.
    So in the script you will have to parameterize the fields and then handle the position of the fields so that when the script is run for the first loop counter the data is maintained in the first line of the transaction(for example) and the increament the counter for the second run so that the control moves to the second line for the second execution similarly for the multiple runs.
    Alternatively parameterize the fields with the table containing so many entries as the number of times you want to run the script and for each execution one set of entry from the table is picked and used in the execution for the next run the second set of values is used and so and so forth.
    Hope it answers your question.
    Thanks and Best regards,
    Ajay

  • Time Remap Expression

    hi there
    I'm doing an Airport destination panel animation.
    I've got a Composition called 'Flip' with Time Remap enabled.Here takes place the whole 'fliping' animation. This comp has got a Text Layer with an expression applied to it.This expression cycles through this line of code=>
    letters = "1|2|3|4|5|6|7|8|9|0|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|-|.|/| ";
    So every 5th frame the next Nr./letter appears.Example=> Nr1 appears completely at frame 5,Nr4 at frame 20 and so on.Animation is 4 frames long.
    Now,it would be great to have Time Remap expressions that would do the following=>
    let's say i want to write the word CLOSED=>6 letters
    i now need 6 flip comps for this.Yes,i could now use Time remap keyframes to go to each letter of course.But in my project
    i'd have to do it 400 times or more.
    Is there any way to go to each letter>hold the letter for a specific time and switch to the next letter via expression?
    //expression
    Letter: A;// for example
    SwitchToNext_letter; B;
    Switch_time:.5 seconds
    stop time;
    any help appreciated
    cheers

    If one or more of your subcomps doesn't start at time zero as a layer in its parent comp, you have to compensate for that. It's tricky with multiple levels, but basically you end up with something like this:
    a=comp("Diane - AE Rig").layer("Body_CTL").effect("Mouth_Control")("Slider")
    framesToTime(a.valueAtTime(time + some_offset))
    Dan

  • OPR LEAD TIME OFFSET IN BOM

    Hi all ,
    my scenario is like :
    FG contains SFG10 , and SFG10 omtains SFG20
    I am using backward scheduling , Results in MRP run are as :
    FG :          30.03.2008      17:30:00
                     25.03.2008     15:20:00
    (SFG10 frwrd scheduling start time is 09:30:00)
    SFG10:      25.03.2008      12:30:30
                     25.03.2008       09:30:00 (start time of workcenter).
    in BOM of FG for component SFG10 i have mainatined ( 120- min ) opr lead time offset, to start the SFG10 at 11:30:00 , but it is not happening , whr i am missing ?
    Regards,...
    Edited by: venky  shree on Mar 26, 2008 7:32 AM

    Hi,
    pls check with the operation start time and not wth the order start time
    (ie, oprn for which the component you have assigned) in CO02-oprns overview-dates tab.
    you can see that from the start time of the operation,the reqmt time for the component will be 120 min ahead (CO02 -component overview-general tab -dates tab-reqmt date ) .
    Regards,
    sheik

Maybe you are looking for

  • JSF RE-Rendering a specific Component

    hey guys, need a bit of help here... I am doing a JSF Page.. where a person selects a vehicle type (vehicle he wants to book for... as in a chauffeurs service) the two options he can choose from are - limo and sedan. now as per the choice i need to p

  • My JTable Column is not removing?

    public class  ClassA extends JPanel     private DefaultTableModel model = new DefaultTableModel();     private JTable table = new JTable(model);      public ClassA ()      {  this.add(new Table1Panel() );      public class Table1Panel extends JPanel

  • Music videos didnt get transfered from iTunes 6 to 7

    How come I installed iTunes 7 but I cant see my videos that i bought in iTunes 5. All I see when I turn on the video it is a green screen that is freaking out, and when I put my mouse on the video screen it turns all black. Can some one please help,

  • MIRO Item Screen Variant

    Hi all, How to bring MIGO document date (BLDAT) in MIRO transaction. Checked in maintain item variants, but did not find the field BLDAT in any of the screen variants. Any one, Please help. Thanks in advance, regards, urendra

  • How can my network access the Internet?

    Hi all, All in GNS3 lab scenario I created. Hope anybody can shed light on this matter.  I have for example a multi area OSPF domain.  Like all of my remote sites are in area x, y, and z and all connects to area 0, in the area 0 I have this ASBR 7200