LUA ASSIGN EXEC IN TEMP FADER

  • 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




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

  • 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
    1. SelFix Group ("Numeros de Group?")
    2. At 100
    3. Attribute Dimmer
    4. Delay
    5. Delay 0.5 Thru 0 Thru 0.5
    6. SetUserVar ws ("Where Store? - Enter Executor Number")
    7. Store Executor $ws
    8. Assign FaderTemp At Executor $ws
    9. DelUserVar ws


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