gre.resolve data key

    [, key2, ...]

This function allows Lua scripts to resolve Storyboard context variables to a fully qualified name based on the current execution context.

Parameters: key1 ... One or more string arguments containing the variable to resolve. Returns: A table containing the arguments provided on input as keys with the values being the resolved data value. Example:

-- Resolve the application my_var to a fully qualified name
local varname = "${app:my_var}"
local dv = gre.resolve_data_key(varname)
print("Full path for ${app:my_var} is " .. dv[varname])
Was this article helpful?
0 out of 0 found this helpful