Search found 2634 matches

by hayasidist
Wed Dec 06, 2023 10:19 pm
Forum: Scripting
Topic: How to actually set the selected item in a TextList?
Replies: 10
Views: 6544

Re: How to actually set the selected item in a TextList?

FYI, there is a known bug for which is not possible to make work SetSelItem() by feeding it with an ID. It's unfortunate there are some issues with LM.GUI.ImageTextList kind of widgets (I'll try to also add a note for this one there) given their usefulness... but (fortunately!) its variant :arrow: ...
by hayasidist
Wed Dec 06, 2023 11:45 am
Forum: Scripting
Topic: How to actually set the selected item in a TextList?
Replies: 10
Views: 6544

Re: How to actually set the selected item in a TextList?

well, like I said, a start would be to see how self.lstSpeedBone is defined - but ideally the whole dialogue

if lstSpeedBone is a dropdown (LM.GUI.Menu) then maybe SetChecked() would be the right answer -- but if it's defined in a way that needs the SetSelItem() ...?
by hayasidist
Wed Dec 06, 2023 10:10 am
Forum: Scripting
Topic: How to actually set the selected item in a TextList?
Replies: 10
Views: 6544

Re: How to actually set the selected item in a TextList?

? LM_TextList:SetSelItem(id, redraw)
or maybe a bit more context (e.g. how is self.lstSpeedBone defined?)
by hayasidist
Tue Dec 05, 2023 11:04 am
Forum: General Moho Discussion
Topic: Problem with inserting images in forum posts
Replies: 9
Views: 6096

Re: Problem with inserting images in forum posts

test https://ibb.co/KGXm1kJ the image link to embed is https://i.ibb.co/cv1xmHj/sodaliao-Mongolian-ethnic-style-Disney-Mulanstyle-multiple-poss-f2cddb4f-75fa-461a-860a-308f2e61b5d5.png BUT that's a HUGE image -- loads of white space that you could trim and/or use their "BBCode embed" for ...
by hayasidist
Tue Dec 05, 2023 8:44 am
Forum: General Moho Discussion
Topic: Problem with inserting images in forum posts
Replies: 9
Views: 6096

Re: Problem with inserting images in forum posts

first find yourself an image hosting service. I'm currently using imgbb.com but there are loads of other free ones. then upload your image there and put the url you get in between the [ img ][ /img ] (minus the spaces) tags you get when you press the "image" icon in the "create post&q...
by hayasidist
Mon Dec 04, 2023 3:11 pm
Forum: Scripting
Topic: How do I create a new moho file and copy a layer to it via script?
Replies: 18
Views: 31140

Re: How do I create a new moho file and copy a layer to it via script?

Issue J305 raised regarding the odd behaviours of FileClose() when the Lua console window is open.
by hayasidist
Sun Dec 03, 2023 6:41 pm
Forum: Scripting
Topic: How do I create a new moho file and copy a layer to it via script?
Replies: 18
Views: 31140

Re: How do I create a new moho file and copy a layer to it via script?

Thanks Wes. I'll aim to put a bug report together on this re FileClose with an active Lua console window... I do wish we could do this without Ctrl+N and running the script twice, because the purpose of this script was actually to keep the animator focussed on the shot. Just hit a button and the lay...
by hayasidist
Sun Dec 03, 2023 5:46 pm
Forum: Scripting
Topic: How do I create a new moho file and copy a layer to it via script?
Replies: 18
Views: 31140

Re: How do I create a new moho file and copy a layer to it via script?

I've been looking at this (albeit behind the curve!). I've come to the conclusion that FileClose() doesn't work as expected and I'd appreciate some other pairs of eyes on this. Given the requirement is to save a vector layer, I focused on copy/paste. This works right up to the point where FileClose ...
by hayasidist
Wed Nov 29, 2023 9:17 pm
Forum: Scripting
Topic: How do I create a new moho file and copy a layer to it via script?
Replies: 18
Views: 31140

Re: How do I create a new moho file and copy a layer to it via script?

The problem is (I think...), you can't really save another MohoDoc, even if you Load it. As moho:FileSave() and moho:FileSaveAs(path) don't take a MohoDoc argument and will always assume you want to save the current moho.document. ? can you set moho.document to be the one you want and then moho:Fil...
by hayasidist
Wed Nov 29, 2023 4:57 pm
Forum: Scripting
Topic: How do I create a new moho file and copy a layer to it via script?
Replies: 18
Views: 31140

Re: How do I create a new moho file and copy a layer to it via script?

hope this is useful ... it is mostly guesswork ... take a look at LM_scatterbrush.Lua That does "local doc = moho:LoadDocument(docPath)" calls and then uses vectors from the layers in one of the loaded documents. SO .... (supposition here 'cos I've never actually tried this) ... assuming F...
by hayasidist
Fri Nov 24, 2023 8:35 pm
Forum: General Moho Discussion
Topic: One of the layer color turned into black color in moho pro 14.1
Replies: 4
Views: 1866

Re: One of the layer color turned into black color in moho pro 14.1

getting "access denied" when trying to open the image.
by hayasidist
Sun Nov 19, 2023 2:32 pm
Forum: How Do I...?
Topic: "Set Layer Start Time" Problems
Replies: 4
Views: 1642

Re: "Set Layer Start Time" Problems

working as expected here (debut 14) for layer start time. Note that layer start time is NOT animation start time. If you want your animation to start at (say) frame 30 then Alt-Left click the timeline at 30 (and Alt-right click sets the animation end time). Or use the project settings dialogue (from...
by hayasidist
Sat Nov 18, 2023 10:43 pm
Forum: How Do I...?
Topic: Are Code Based Animations and Triggering Animations with Code Possible?
Replies: 6
Views: 2643

Re: Are Code Based Animations and Triggering Animations with Code Possible?

The thing about moho is that it's not a "playback" program; it's an "editor" program. So you can create all the elements to do what you want and (as Wes as indicated) there are ways to get the program to jump around the timeline and play selected sequences BUT: you're playing bac...
by hayasidist
Sat Nov 18, 2023 4:24 pm
Forum: How Do I...?
Topic: "Set Layer Start Time" Problems
Replies: 4
Views: 1642

Re: "Set Layer Start Time" Problems

move the timeline cursor to the frame you want the layer to start then invoke the command... the green arrowhead will move and if you look at the sequencer you'll see the layer with its green "starting line"
by hayasidist
Thu Nov 16, 2023 9:44 pm
Forum: General Moho Discussion
Topic: MOHO14 user manual
Replies: 39
Views: 70160

Re: MOHO14 user manual

I tried a quick test and It appears to work for me in Chrome. When I enter a word in the search box, I get a list of topics to choose from.... I think it only finds topic headings and doesn't search the body of each page -- which is fine if you want the topics with (e.g.) "Bone" in the ti...