handle collection

BECOME PART OF THE COMMUNITY - Sign up here
  • Hello,

    Is it possible to handle a collection (e.g. presets) ?


    I tried a little code but as usual without success.

    I do not know where is hidden "collection" in Gma3. I have looked in temp folder but ?


    local function main()

    Collection():Dump() --Dump() is called on a function

    end


    return main

  • Code
    return function()
      local tbl = ObjectList('Collection')
      if #tbl > 0 then 
        for key, val in ipairs(tbl) do
          Echo(key .. '=' .. val:ToAddr())
        end
      else
        Echo('collection is empty') 
      end
    end

Participate now!

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