Are you looking for this script? After all, it's been a long time, but it can still work on moho14.1:
https://mohoscripts.com/script/sz_layer_copies
Search found 13 matches
- Sat May 11, 2024 6:31 am
- Forum: How Do I...?
- Topic: Replicate without overlap
- Replies: 5
- Views: 292
- Wed Nov 22, 2023 3:18 pm
- Forum: Feature Request Discussions
- Topic: I hope to see the new features or APIs of the modeless dialog box in 14.2
- Replies: 0
- Views: 65150
I hope to see the new features or APIs of the modeless dialog box in 14.2
:D I don't know if these functions have been recorded, but I hope to see them in the new version to make writing scripts more convenient: 1、Automatically save the position coordinates of the modeless dialog box or add a window coordinate API 2、Add API for reloading dialog controls (used to refresh d...
- Wed Nov 15, 2023 2:24 pm
- Forum: Scripting
- Topic: Layer Shortcut Pinboard
- Replies: 1
- Views: 3295
Re: Layer Shortcut Pinboard
You can refer to Lukas's LK_LayerFinder script, which should give you a lot of inspiration.
viewtopic.php?t=36360
viewtopic.php?t=36360
- Wed Nov 15, 2023 2:17 pm
- Forum: Scripting
- Topic: Capture keystrokes in LM.GUI dialog?
- Replies: 2
- Views: 4012
Re: Capture keystrokes in LM.GUI dialog?
This can only be done with one master script and two additional scripts, each binding its own shortcut key.
- Thu Nov 09, 2023 1:43 pm
- Forum: Scripting
- Topic: How to reload the dialog or the script itself after using the SimpleDialog
- Replies: 2
- Views: 4020
Re: How to reload the dialog or the script itself after using the SimpleDialog
d.close = LM.GUI.ImageTextList(0, 1, LM.GUI.MSG_CANCEL) l:AddChild(d.close, LM.GUI.ALIGN_LEFT, 0) self.close:SetSelItem(false) -- Close myScript.dlog = nil myScript.dlog = myScript:new(moho) -- ReCreate myScript.dlog:DoModeless() -- ReOpen Thank you SimplSam, I have referenced Lukas' LK_LayerFinder...
- Wed Nov 08, 2023 5:23 am
- Forum: Scripting
- Topic: How to reload the dialog or the script itself after using the SimpleDialog
- Replies: 2
- Views: 4020
How to reload the dialog or the script itself after using the SimpleDialog
I use SimpleDialog and DoModeless () to create the modeless dialog box, and then when I append or delete a button, I have to manually close script and reopen script . Is there a function to reload SimpleDialog?Alternatively, there are other ways to reload the script itself? Using XXX:Run(moho) cause...
- Wed Nov 01, 2023 4:12 am
- Forum: Scripting
- Topic: Lost Scripts' Shapes Window (**New** BETA 3) for Moho 14.1 Pro
- Replies: 125
- Views: 341344
Re: Lost Scripts' Shapes Window (BETA) for Moho 14
I tried, and it was awesome, but it should remember the window coordinates before each close, so it can recover the next time it opens.
- Fri Sep 22, 2023 1:09 am
- Forum: Scripting
- Topic: Problems that cannot be undone after using scripts
- Replies: 2
- Views: 3494
Re: Problems that cannot be undone after using scripts
Code: Select all
moho.document:PrepUndo(moho.layer, true)
moho.document:SetDirty()
- Thu Sep 21, 2023 4:23 pm
- Forum: Scripting
- Topic: Problems that cannot be undone after using scripts
- Replies: 2
- Views: 3494
Problems that cannot be undone after using scripts
I am a novice and am currently learning to write scripts. After using my script, it cannot be undone. Please let me know where the problem lies. Thank you ScriptName = "gg0" gg0 = {} function gg0:Name() return "gg0" end function gg0:Version() return "1.0" end function g...
- Wed Sep 20, 2023 4:26 am
- Forum: General Moho Discussion
- Topic: Moho Pro 14 issue
- Replies: 7
- Views: 3267
Re: Moho Pro 14 issue
You can try turning off OpenGL by changing it to:
"DisableAllOpenGL" "TRUE"
"OpenGLEnabled" "FALSE"
In this file:
C:\Users\Administrator\AppData\Roaming\Lost Marble\Moho Pro\14\Moho Pro14.user.settings
"DisableAllOpenGL" "TRUE"
"OpenGLEnabled" "FALSE"
In this file:
C:\Users\Administrator\AppData\Roaming\Lost Marble\Moho Pro\14\Moho Pro14.user.settings
- Tue Feb 07, 2023 8:24 am
- Forum: Scripting
- Topic: MR Track Bone Script
- Replies: 14
- Views: 9319
Re: MR Track Bone Script
With the tool as it exists now, when I need to include the offset created by a scaling bone I just track the position of a child bone of the scaling bone. Or do you need a bone in the second bone layer to inherit the screen-relative scaling of the original bone for some reason? Just curious how you...
- Tue Feb 07, 2023 2:03 am
- Forum: Scripting
- Topic: MR Track Bone Script
- Replies: 14
- Views: 9319
Re: MR Track Bone Script
Sorry, I'm wrong. It's not the z-axis, it's Scale.
- Mon Feb 06, 2023 5:27 am
- Forum: Scripting
- Topic: MR Track Bone Script
- Replies: 14
- Views: 9319
Re: MR Track Bone Script
This script tracks the x-axis, y-axis and angle, but does not track Scale. Some scenarios will cause exposure. Can you update it to track Scale