i try to build a script which sequence selected layers by numbers of seconds that the user should choose.
i mean when the script will load the user will input the number of seconds to sequence the layers.
in regular script i mange to do it, but on dockable one, i dont know how to do it.
in the regular script i wrote:
var groupOne = testWindow.add("group", undefined, "GroupOne");
groupOne.add("statictext", undefined, "Duration of each layer:");
var offsetNumber = groupOne.add("edittext", undefined, "2");
so the user put any number, instead of the default 2, and the user number saved into the variable offsetNumber.