Graphics

 View Only
  • 1.  Macros in RossTalk ?

    Posted 07-07-2023 20:51

    I am looking for a way to insert text from a text list into a RossTalk command.

    Like Focus @StaticID.Text@ 

    Is anything like this possible?

    Thanks,

    James.

    #XPression #RossTalk 



    ------------------------------
    James Hessler
    WAAY TV (ALLEN MEDIA BROADCASTING)
    ------------------------------


  • 2.  RE: Macros in RossTalk ?

    Posted 07-10-2023 14:01

    You could accomplish this through scripting, since I'm not sure if macros work in the RossTalk.

    Something like...

    ' Assuming we've got a text object called "MyText"
    
    dim rtalkBoard as xpGPIBoard
     'Assuming our Ross Talk board is the first one in our listings, the index is 0. You can verify this in Hardware settings.
    Engine.GetGPIBoard(0, rtalkBoard)
    rtalkBoard.SendMessage("FOCUS " + MyText.Text)


    ------------------------------
    Zachary Fradette
    United States
    ------------------------------



  • 3.  RE: Macros in RossTalk ?

    Posted 07-12-2023 23:00

    Hey Zachary,

    I'm trying to avoid VBscript because I have had issues with a script containing item.SetFocus conflicting with XPression Tick-It's use of the XPression API and causing Xpression to crash.

    My current solution for cueing stingers is using a RossTalk event in each of thirty or forty scene directors and Transition logic to decide which scene director fires.

    This is pretty cumbersome to maintain, and I have another set of 300 stingers---I am worried about Transition logic holding up to that many individual rules/conditions and scene directors.

    I tried your script, and a very similar one from Garner Millward @Garner Millward and could not get them to work when inserting the text from my text object...not with +, not with &, not with : , not with my text inside the "", not with my text as FOCUS 714 or "FOCUS 714" 

    Just using gpi.SendMessage("FOCUS 714") would work, so I think my SmartGPI config/reference is correct.

    Any ideas?

    Thanks,

    James.



    ------------------------------
    James Hessler
    WAAY TV (ALLEN MEDIA BROADCASTING)
    ------------------------------