
Robert Zinke
Community Beginner
Robert Zinke
Community Beginner
Activity
‎Nov 23, 2023
04:24 AM
1 Upvote
Forgot to mention that there are missing semicolons after your slider, sec, and min variables, so make sure to add those at the end of these lines
... View more
‎Nov 23, 2023
04:22 AM
1 Upvote
Try this on the Javascript expression engine: slider = Math.round(effect("Slider Control")("Slider"))
sec = slider%60
min = Math.floor(slider/60)
function addZero(n) {
if (n<10) {
return "0" + n;
} else {
return n;
}
}
addZero(min) + ":" + addZero(sec);
... View more
‎Nov 22, 2023
10:52 AM
1 Upvote
Thanks a bunch Douglas, this is exciting news!
... View more
‎Oct 17, 2023
08:40 PM
1 Upvote
Hi Douglas, thank you for your prompt response! I appreciate your willingness to investigate this issue. Regarding the exception message, there is no specific error when I attempt to set negative boxTextPos values. Instead, the script simply does not execute the value change. Here's a simplified example script that demonstrates the issue: var textProp = app.project.activeItem.layer(1).sourceText;
var textDoc = textProp.value;
textDoc.boxTextPos = [-100, -100];
textProp.setValue(textDoc);
... View more
‎Oct 16, 2023
08:49 AM
1 Upvote
While working on a text script, I encountered an issue with the boxTextPos property. It seems that boxTextPos does not accept negative values. Whenever I try to input a negative value, the script does not work, but it works perfectly fine with positive values. AE Version: v 23.6 & v 24.0 (users have reported this issue since CC 2017) OS: Windows 11 Steps to Reproduce: Create a script using the boxTextPos property to set the position of a paragraph text box. Try setting the value to a negative number, e.g. boxTextPos = [-50, 50]; See that the script does not run. Change the value to a positive number, e.g. boxTextPos = [50, 50]; The script works correctly. I believe this is a bug that needs attention as it limits the flexibility in scripting for working with paragraph text layers, which are a substantial part of text workflows. Any help or acknowledgment would be highly appreciated!
... View more
‎Oct 14, 2023
01:51 PM
Can confirm
... View more