Page 1 of 1

Frame counter

Posted: Fri Dec 23, 2022 1:02 pm
by slowtiger
Can we have a frame/SMPTE counter implemented in Moho?

It should be possible to start at any value a user enters. Separate layer, so it can be rendered/hidden as anything else. Maybe with some options to design size/colour/placement.

Would be very useful for larger teams for review of animation.

Re: Frame counter

Posted: Sat Dec 24, 2022 4:12 am
by synthsin75
This might work in the meantime:
https://drive.google.com/uc?export=down ... nxVEaGlrXO

It's a menu script to create a note layer as either a frame or SMPTE counter. If you run it again on an existing counter layer, you can change which format it displays. Otherwise, it creates a new counter layer.

Re: Frame counter

Posted: Sat Dec 24, 2022 5:42 pm
by Greenlaw
The link seems to be broken Wes. I'm getting a 400 error. When available, I'm sure this script is going to be useful.

As a Lua novice, creating a frame counter seemed like my speed and I was thinking of trying that over the holidays. Realistically though, I probably wouldn't have gotten around to it so your time is much appreciated! Maybe I can try making it before you fix the link so I can see just how bad my scripting skills are. :lol:

Update: the link on the other thread you posted works so the issue must be with the link posted above. The working link is:

https://drive.google.com/uc?export=down ... nxVEaGlrXO

Looks like the link isn't completely enclosed in the tag.

Re: Frame counter

Posted: Sat Dec 24, 2022 5:47 pm
by synthsin75
Thanks, Dennis. I fixed the link in this thread. I must have copied it from the other thread, in its abbreviated form.
The math to get the SMPTE timecode was the hardest bit, but only because I'd already figured out how to write and embed a layerscript by tool/menu script. Since note layers are normally not animatable, a layerscript was the only option.

Re: Frame counter

Posted: Sat Dec 24, 2022 11:33 pm
by Greenlaw
Corrected link works fine and and the script does exactly what it's supposed to do. Thanks Wes! 😸

Re: Frame counter

Posted: Mon Mar 18, 2024 10:24 am
by Falk
Hello everyone.
I would like to use that script on Moho 14, but unfortunatly "SMPTE" does not work.
Am I doing something wrong or is it because the new moho14?

Thank you for your help!

Re: Frame counter

Posted: Mon Mar 18, 2024 11:41 pm
by synthsin75
Likely due to v14.