ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

on a dockable UI Script - i would like to have variable to receive a number

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Eran Peled
on a dockable UI Script - i would like to have variable to receive a number
on Jan 24, 2017 at 7:31:25 am

hello
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.

thanks for anyone who will help with this


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]