Timeline Navigator (New Script)

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Penny
Posts: 51
Joined: Sun Dec 02, 2018 3:56 pm
Location: Italy

Timeline Navigator (New Script)

Post by Penny »

I was wondering if anyone would be interested in coding a script that works similar to "Go to time" function in After Effects:
Image
In AE I have a shortcut that pop up the window with the timecode already selected, so you just have to modify or type a simple operation to jump the selected number of frames or even seconds or minutes.
Here's the syntax:
to jump 12 frames forward you type "+12"
12 frames backwards "+-12"
1 second "1."
1 minute "1.."
1 hour "1..."

Especially when working with motion graphics I already know how many frames i need for certain tasks, so it would be quite useful. I now usually work with markers that i drag over the timeline but sometimes it becomes quite tricky. So it would be cool to have something similar :)
Last edited by Penny on Fri Jul 12, 2019 8:30 am, edited 1 time in total.
Even with the head in the clouds You can touch the ground

https://www.facebook.com/santiago.penny
https://www.behance.net/pennysantiago
Stan
Posts: 199
Joined: Sun Apr 19, 2009 3:22 pm

Re: Go to Time (idea for a script)

Post by Stan »

I think I could do something like that. The only problem is that it's currently not possible to make a text widget with a text that is already selected, so what we can do is an empty text box. Or a text box with some text that you'll have to manually clear out. Or create a different UI with multiple choices of jumping to a frame, time, plus-minus, or anything else. Invent!
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
Penny
Posts: 51
Joined: Sun Dec 02, 2018 3:56 pm
Location: Italy

Re: Go to Time (idea for a script)

Post by Penny »

Stan would be great! I think the selected text feature is not important, I wanted just to describe how the widget works in AE.
A very simplyfied version would surely do the job.
In my opinion a empty text field is suitable, also no need to go for minute o hour syntaxes.
The only functions required could be going back or forth a certain number of frames, and the ability to set a shortcut to quickly recall the widget.
That's all! :)
Even with the head in the clouds You can touch the ground

https://www.facebook.com/santiago.penny
https://www.behance.net/pennysantiago
Stan
Posts: 199
Joined: Sun Apr 19, 2009 3:22 pm

Re: Go to Time (idea for a script)

Post by Stan »

So, after a short collaboration with Penny, we came up with a tool that allows you to navigate the timeline by a number of frames or seconds, or to jump to a particular timestamp.

Image

Download link
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Go to Time (idea for a script)

Post by Greenlaw »

That's pretty neat, guys! Will give it a try this evening.

Update: Tried it yesterday and, yes, this tool should be useful! Thanks for creating it.
Last edited by Greenlaw on Sat Jul 13, 2019 6:33 pm, edited 2 times in total.
User avatar
Penny
Posts: 51
Joined: Sun Dec 02, 2018 3:56 pm
Location: Italy

Re: Timeline Navigator (New Script)

Post by Penny »

Let's be honest, Stan did all the hard work, and of course it's amazing! I only gave the idea :) The main feature is the frame jumper, no more manual skips and no more errors counting! I always wanted that! the other functions are like bonuses but they can help you in certain situations 8)
Thanks a lot Stan!
Even with the head in the clouds You can touch the ground

https://www.facebook.com/santiago.penny
https://www.behance.net/pennysantiago
User avatar
ulrik
Posts: 1087
Joined: Thu Aug 11, 2005 10:32 pm
Location: Stockholm Sweden
Contact:

Re: Go to Time (idea for a script)

Post by ulrik »

Stan wrote: Fri Jul 12, 2019 3:42 am So, after a short collaboration with Penny, we came up with a tool that allows you to navigate the timeline by a number of frames or seconds, or to jump to a particular timestamp.

Image

Download link
Great tool, thank you Stan and Penny! :D
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Timeline Navigator (New Script)

Post by Víctor Paredes »

Ah, this is fantastic. Thank you very much!
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
User avatar
rafael
Posts: 129
Joined: Thu Feb 11, 2016 4:51 am
Location: Nomad
Contact:

Re: Timeline Navigator (New Script)

Post by rafael »

Wow, that all came together fast huh? Thanks for making this!
Post Reply