Graphics

 View Only
  • 1.  Scripting Elections Ticker

    Posted 07-30-2013 18:26
    A bit frustrated that I am given time to work on this with only 4 days till the election. I need to create an elections ticker that pulls data from the multiply RSS feeds. I then need to sort and display selected elections. My plan is to create a local file that would list the just the races that are to run in the ticker. I have a number of questions.

    1. How do I change the row that datalinq is connected to with a VBscript?

    2. Should I bring all the data into an array? Not sure how to do that.

    3. How do I use a time delay in a script in Xpression or should I use scripts on a timeline?

    Thanks

    Richie


  • 2.  RE: Scripting Elections Ticker



  • 3.  RE: Scripting Elections Ticker

    Posted 07-30-2013 20:39
    Richie

    Unfortunately Datalinq is not exposed in the API so I'm afraid you won't be able to do what you described in your first question. That might impact your strategy a little bit on how you want to tackle this. Also, since scripts all run on events I don't think their is a way to delay a script running other than using a script event on the scene director.

    It's fairly easy to create a crawl to increment through a data file but it doesn't involve scripting? Are you familiar with using the increment feature in datalinq?

    If you can describe what you are trying to achieve in a bit more detail there may be some suggestions I can make.

    #XPression


  • 4.  RE: Scripting Elections Ticker

    Posted 07-30-2013 21:59
    I was going to see if the code below could be used in a loop to achieve what I wanted. However I have not had a chance to test it yet.

    Dim dteWait

    dteWait = DateAdd("s", 10, Now())

    Do Until (Now() > dteWait)

    Loop


    What we have done in the past is have each super of results static on the bottom of the screen for 3 seconds then cut to the next set. I also create a number of full screen graphics that populate from dataling, however those are much simpler.

    I have not used crawls or rolls yet. Also have not increment feature in datalinq.

    #XPression