Search found 68 matches

by bbrraayyaann
Mon May 22, 2023 4:11 pm
Forum: General Moho Discussion
Topic: Moho 14. And The Rise Of AI.
Replies: 40
Views: 13339

Re: Moho 14. And The Rise Of AI.

Lukas wrote: Mon May 22, 2023 1:01 pm Sure, AI can produce shit. But tools like this seemed impossible 10 years ago:





Wow, those rigs look amazing.
by bbrraayyaann
Sun May 07, 2023 4:37 am
Forum: Scripting
Topic: Is there a way to close a SimpleDialog
Replies: 4
Views: 495

Re: Is there a way to close a SimpleDialog

Hi, Is there a way to close a SimpleDialog, which was started with DoModal? I've tried to call OnOK(), OnCancel() and EndDialog(dlg) but they were all undefined (nil). I would like to close the modal dialog, after another button than the OK/Cancel button was clicked. To close a Domodal from another...
by bbrraayyaann
Mon May 01, 2023 2:34 am
Forum: General Moho Discussion
Topic: I'm looking for moho old version please help me :(
Replies: 10
Views: 970

Re: I'm looking for moho old version please help me :(

Does anyone have 13.0 , 13.0.1 or 13.0.2 Mac versions of Moho? Can you please send it to me? I was using windows before but now i switched to macbook. Version 13.0 works faster for me than version 13.5. I don't know, but I think it's because of my characters with too many layers and i made all char...
by bbrraayyaann
Wed Apr 26, 2023 1:43 am
Forum: General Moho Discussion
Topic: MSVCR100.dll couldn't be found!
Replies: 9
Views: 4290

Re: MSVCR100.dll couldn't be found!

Hugging_Bear wrote: Sun Apr 23, 2023 2:22 pm
That is easy to fix, maybe you are installing Moho 13.5 on Windows 8. I had this happen on my laptop, you just need to update your windows 8, that is, check for all updates and it will be solved.
And one thing on your website requirements says Windows 10, maybe that's it too.
by bbrraayyaann
Thu Apr 13, 2023 1:19 pm
Forum: Scripting
Topic: How can I use require() in a script?
Replies: 7
Views: 823

Re: How can I use require() in a script?

... Is there any way to install libraries with C using Lua? For example I want to use this library :https://github.com/lunarmodules/luasocket But using package.path doesn't work. Do you think it is possible? ... I see, I have investigated and what can be done is to compile the library to be portabl...
by bbrraayyaann
Tue Apr 11, 2023 3:23 pm
Forum: Scripting
Topic: How can I use require() in a script?
Replies: 7
Views: 823

Re: How can I use require() in a script?

... Could you tell me in json there is a function that is "decode" when I call require("json"), but when I call json.decode(result) there is an error, why is that? It depends which library you were using, and also what the error was. If it was the same library as the one I refer...
by bbrraayyaann
Sun Apr 09, 2023 6:41 pm
Forum: Scripting
Topic: How can I use require() in a script?
Replies: 7
Views: 823

Re: How can I use require() in a script?

I have used this technique to load pure XML lua libraries in the SS SVG Import script, in a manner similar to that below: Essentially - you need to tell Moho (Lua) where to look, by appending your path to the Lua package.path, but you also only want to do that once. Below is an example for JSON - w...
by bbrraayyaann
Wed Apr 05, 2023 3:19 pm
Forum: Scripting
Topic: How can I use require() in a script?
Replies: 7
Views: 823

Re: How can I use require() in a script?

I have used this technique to load pure XML lua libraries in the SS SVG Import script, in a manner similar to that below: Essentially - you need to tell Moho (Lua) where to look, by appending your path to the Lua package.path, but you also only want to do that once. Below is an example for JSON - w...
by bbrraayyaann
Wed Apr 05, 2023 3:25 am
Forum: Scripting
Topic: How can I use require() in a script?
Replies: 7
Views: 823

How can I use require() in a script?

Hello, I have seen many useful libraries, but I don't know if I could install them in a lua script and use the require() function.
Would anyone know how to install those libraries and then use them in a script ?

These libraries can be downloaded from github.com .
by bbrraayyaann
Fri Mar 31, 2023 12:32 pm
Forum: General Moho Discussion
Topic: Is there a way to create keyboard shortcuts for menu scripts?
Replies: 7
Views: 690

Re: Is there a way to create keyboard shortcuts for menu scripts?

For any / only tech-heads: I'm guessing that all the handlers for Menu items (e.g. File / Open / ..) _except_ Script are embedded in Moho core -- Scripts are the only .lua stuff in the Menu line -- and this is the reason behind why the custom keystrokes won't work? Anyone got any better ideas / inf...
by bbrraayyaann
Fri Mar 31, 2023 1:51 am
Forum: General Moho Discussion
Topic: Is there a way to create keyboard shortcuts for menu scripts?
Replies: 7
Views: 690

Re: Is there a way to create keyboard shortcuts for menu scripts?

SimplSam wrote: Fri Mar 31, 2023 1:21 am I guess one trick would be to create Tool buttons with transparent icons... and name them starting with 'zz' so they are at the bottom.
haha that would be nice, I'm going to try it.
by bbrraayyaann
Thu Mar 30, 2023 2:01 pm
Forum: General Moho Discussion
Topic: Is there a way to create keyboard shortcuts for menu scripts?
Replies: 7
Views: 690

Is there a way to create keyboard shortcuts for menu scripts?

I would like the script not to appear in the tools section, but at the same time I want a keyboard shortcut to use it when I need it.
by bbrraayyaann
Thu Feb 09, 2023 1:06 am
Forum: Scripting
Topic: Select layer and update tool?
Replies: 4
Views: 476

Re: Select layer and update tool?

synthsin75 wrote: Thu Feb 09, 2023 12:57 am You might also try jumping to/from frame zero and back. That's another thing that reliably reevaluates the tools window.
Ah, that works well too, thanks
by bbrraayyaann
Thu Feb 09, 2023 1:03 am
Forum: Scripting
Topic: Select layer and update tool?
Replies: 4
Views: 476

Re: Select layer and update tool?

But it works when you use PickGlobalLayer : function Pickckckc:OnMouseUp(moho, mouseEvent) local layer = mouseEvent.view:PickGlobalLayer(mouseEvent.pt) if layer == nil then return end if (layer == nil or layer == moho.layer) then return end moho.document:ClearSecondarySelection() moho:SetSelLayer(la...
by bbrraayyaann
Thu Feb 09, 2023 12:53 am
Forum: Scripting
Topic: Select layer and update tool?
Replies: 4
Views: 476

Re: Select layer and update tool?

I was going through scripts and came across this. I have also tried everything; but I think this is the only solution? If there is another way let me know. This script: https://mohoscripts.com/script/sz_layer_selection_buttons -- These are the methods I tried, and none of them updates the tool panel...