-
CTI moving in time weirdly
Hi all
I am doing a quick script to move the current time indicator to a new time given by a edittext field.
so far works to go backwards but behaves differently when I try to go forward in time:btn01.onClick = function () {
var textInput = Input.text;
var active = app.project.activeItem;active.time -= textInput; //works fine
}
btn02.onClick = function () {
var textInput = Input.text;
var active = app.project.activeItem;active.time += textInput;
// works in a digit + digit way
// so if I entered 1 and the current time is 1 it would be: 1+1=11}
any ideas how this can be solved?
Thanks in advance