Script a window to show styles and Group them?

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
CartoonM!ke
Posts: 110
Joined: Mon Apr 17, 2006 4:54 pm
Location: Walnut Creek, CA, USA
Contact:

Script a window to show styles and Group them?

Post by CartoonM!ke »

Would it be possible, via a script, to create a window that has a scrolling list of styles?

If so, then could one drag a style to re-order the sequence of styles in the list, so that you could put, for example, all the Lenny styles together and then all the Laverne styles together, yadda yadda yadda...

I just opened an .anme file and re-ordered some styles so they are grouped by use, not by order of creation. I'm just looking for a quicker (and less scary) way to do this. I would almost learn how to program LUA to do this, but -- Dammit it Jim, I'm an artist not a programmer! :lol:

Any ideas/comments?

mike
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Re: Script a window to show styles and Group them?

Post by Rasheed »

CartoonM!ke wrote: Dammit it Jim, I'm an artist not a programmer! :lol:
Programmers are artists in their own right. Writing code is a creative process. You probably meant: "I'm a visual artist, not a code artist." ;)

Unfortunately, I don't have a clue at this moment how to solve this, because the gui of Moho/AS is still kind of too basic to do what you want. And furthermore, style names are not accessible through the Lua interface. Your best bet is a scriptable text editor, I'm afraid.
Post Reply