Timeline Navigator (New Script)

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

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

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

Timeline Navigator (New Script)

Post by Penny » Sat Jul 06, 2019 10:16 am

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: 123
Joined: Sun Apr 19, 2009 3:22 pm
Contact:

Re: Go to Time (idea for a script)

Post by Stan » Mon Jul 08, 2019 3:23 am

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!
________________________________________________________________________
http://mohoscripting.com/ - Unofficial Moho (Anime Studio) Lua Scripting Documentation
http://2danimator.ru/ - Russian Anime Studio Forum
User avatar
Penny
Posts: 38
Joined: Sun Dec 02, 2018 3:56 pm
Location: Italy

Re: Go to Time (idea for a script)

Post by Penny » Mon Jul 08, 2019 11:41 am

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: 123
Joined: Sun Apr 19, 2009 3:22 pm
Contact:

Re: Go to Time (idea for a script)

Post by Stan » 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
________________________________________________________________________
http://mohoscripting.com/ - Unofficial Moho (Anime Studio) Lua Scripting Documentation
http://2danimator.ru/ - Russian Anime Studio Forum
User avatar
Greenlaw
Posts: 4411
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Go to Time (idea for a script)

Post by Greenlaw » Fri Jul 12, 2019 5:03 am

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.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2019 Edtion
Lead Digital Animator, Dreamworks Animation

Image
User avatar
Penny
Posts: 38
Joined: Sun Dec 02, 2018 3:56 pm
Location: Italy

Re: Timeline Navigator (New Script)

Post by Penny » Fri Jul 12, 2019 8:39 am

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
ulrik
Posts: 1073
Joined: Thu Aug 11, 2005 10:32 pm
Location: Stockholm Sweden
Contact:

Re: Go to Time (idea for a script)

Post by ulrik » Fri Jul 12, 2019 10:15 am

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
Posts: 4874
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland/Chile
Contact:

Re: Timeline Navigator (New Script)

Post by Víctor Paredes » Fri Jul 12, 2019 2:01 pm

Ah, this is fantastic. Thank you very much!
Víctor Paredes
Former Moho Product Manager
Animator in Cartoon Saloon
My Youtube Channel - My webinars
User avatar
rafael
Posts: 80
Joined: Thu Feb 11, 2016 4:51 am
Location: Nomad
Contact:

Re: Timeline Navigator (New Script)

Post by rafael » Sun Jul 21, 2019 7:09 pm

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