LUA ASSIGN EXEC IN TEMP FADER

BECOME PART OF THE COMMUNITY - Sign up here
  • Thankx But my Script Don"t Work

    You Can Help Me ??


    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    require("gma3internal_fixtures");


    function SimplePop(display_handle)

    local NbG= Cmd("SelFix Group " .. TextInput("Numeros de Group?"))

    Cmd (" At 100")

    Cmd (" Attribute Dimmer")

    Cmd (" Delay")

    Cmd (" Delay 0.5 Thru 0 Thru 0.5")

    local WS = Cmd("Store Executor " .. TextInput("Where Store? - Enter Executor Number"))

    Cmd ("Assign FaderTemp At Executor 'WS'")


    end

    return SimplePo


    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Julien

    Light Programmer, France

  • You are mixing apples and flux capacitors.

    Since basically all of your lines are Cmd's and given Andreas' Answer you can use the () to ask a directly on the command line and UserVars to store the answer so you can use it more then once, all without the need for lua.

    So a macro like:

    Code
    SelFix Group ("Numeros de Group?")
    At 100
    Attribute Dimmer
    Delay
    Delay 0.5 Thru 0 Thru 0.5
    SetUserVar ws ("Where Store? - Enter Executor Number")
    Store Executor $ws
    Assign FaderTemp At Executor $ws
    DelUserVar ws

    Should be equivalent (I haven't tested but should work).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!