-
parseInt from EditText field in extendscript
Hello All,
Am unable to get input from a docked script. Please identify the problem for me. Many thanksKindly help
res = "group{orientation:'column',\
groupOne: Panel{orientation:'row',\
button1: Button{text:'R'},\
button2: Button{text:'AM'},\
button3: Button{text:'AI'},\
},\
groupTwo: Panel{orientation:'row',\
durButton: EditText{text:'Dur'},\
button1: Button{text:'UP'},\
button2: Button{text:'DN'},\
},\
groupThree: Group{orientation:'row',\
button1: Button{text:'Close'},\
},\
}";//
var keyframeInterval = parseInt(durButton.text);
var duration = keyframeInterval;
myPosition = mainLayer.property("position");
var positionProp = mainLayer.property("position");
var positionValue = positionProp.valueAtTime(1, false);
var posX = positionValue[0];
var posY = positionValue[1];myPosition.setValueAtTime(0,[posX,posY*up]);
myPosition.setValueAtTime(duration,[posX,posY]);
Sorry, there were no replies found.