Search found 734 matches

by rylleman
Wed Nov 21, 2018 1:08 pm
Forum: Scripting
Topic: Batch change paths to external files?
Replies: 2
Views: 988

Re: Batch change paths to external files?

Ah, thank you!
by rylleman
Tue Nov 20, 2018 11:10 pm
Forum: Scripting
Topic: Batch change paths to external files?
Replies: 2
Views: 988

Batch change paths to external files?

I need to change the paths in all my files for a project. Had to move it to an external drive as it grew too large. I have done this before when the .moho format was plain text. Then it was a simple batch search and replace. Can it be done now that the format is locked down and scrambled? Change pat...
by rylleman
Tue Oct 16, 2018 2:17 pm
Forum: How Do I...?
Topic: Bone Audio Wiggle values are very small.
Replies: 4
Views: 596

Re: Bone Audio Wiggle values are very small.

No can do. That another bone then needs to be the smart bone for the action and those cannot be controlled by another bone. The action doesn't work then. But I got it to work by playing with the curves for the smart bone in the action. So, fiddle is my own answer to this question. Some kind of ampli...
by rylleman
Tue Oct 16, 2018 9:13 am
Forum: How Do I...?
Topic: Bone Audio Wiggle values are very small.
Replies: 4
Views: 596

Bone Audio Wiggle values are very small.

Trying to use the bone wiggle script but I find its oscillation very small. I set maximum angle to 90° but the value ranges from 0 to just 5-6°, at extreme 11-12°. The audio is not particularly low. Tried to set the audio level up high to 100 but there is no difference at all. How can I make the res...
by rylleman
Tue Aug 08, 2017 9:46 am
Forum: Scripting
Topic: New tool: TIME TOOL
Replies: 17
Views: 5482

Re: New tool: TIME TOOL

Hello. A new bug report for your great tool. ;)
Audio files are not moved, only their keyframes are, so scenes end up out of sync.
by rylleman
Tue Mar 07, 2017 4:03 pm
Forum: Scripting
Topic: Script seems to be kept running
Replies: 2
Views: 700

Re: Script seems to be kept running

Ha, yes, that was the reason... Thank you! I remember now that when I wrote the script I couldn't for some reason call those function from lm_utilities so I just copied them into my script which worked at the time. My quick and dirty fix for now was to rename the functions. It's ugly and my intentio...
by rylleman
Tue Mar 07, 2017 12:34 pm
Forum: Scripting
Topic: Script seems to be kept running
Replies: 2
Views: 700

Script seems to be kept running

In Moho12 after I've run one of my scripts, whenever I try to delete shapes (select points and press delete) I get an error message in Lua console saying: .../DR_move-shape-to-new-layer.lua:70: attempt to index local 'mesh' (a nil value) No points are deleted. Why do Lua console complain about my sc...
by rylleman
Sun Jan 29, 2017 9:13 pm
Forum: How Do I...?
Topic: Keyframes for gradients in styles?
Replies: 4
Views: 368

Re: Keyframes for gradients in styles?

Thank you again Wes, this workaround just saved my behind.
by rylleman
Thu Jan 12, 2017 8:11 am
Forum: How Do I...?
Topic: Keyframes for gradients in styles?
Replies: 4
Views: 368

Re: Keyframes for gradients in styles?

Thank you for that workaround! I´ll keep it in mind for next time, redid the style now.
I´ll post a bug report then.
by rylleman
Wed Jan 11, 2017 10:55 pm
Forum: How Do I...?
Topic: Keyframes for gradients in styles?
Replies: 4
Views: 368

Keyframes for gradients in styles?

I accidently changed a style gradient in the midlde of the timeline so it's now animated. Now I can't find any keyframes at all for this anywhere so I can remove the animation... I have turned on view of all animation channels. If I change the fill color of the style I get a keyframe in the "Selecte...
by rylleman
Sun Sep 25, 2016 4:22 pm
Forum: Scripting
Topic: New tool: TIME TOOL
Replies: 17
Views: 5482

Re: New tool: TIME TOOL

Another bug report... :wink:
Timeline markers disappear using Time tool.
by rylleman
Fri Sep 16, 2016 11:18 pm
Forum: Scripting
Topic: Get undefined value type from known channel?
Replies: 6
Views: 1461

Re: Get undefined value type from known channel?

Probably, but I can't figure how to get that information from the channel. Also I really would like to get the values disregarding what type they are, I just need to compare two values, not going to populate anything from them. (Apart from a generic valueX variable, which doesn't need to know what k...
by rylleman
Fri Sep 16, 2016 10:02 pm
Forum: Scripting
Topic: Get undefined value type from known channel?
Replies: 6
Views: 1461

Re: Get undefined value type from known channel?

Thank you. To get a value with GetValue() I need to know which AnimVal I'm after (value1 = bone.fAnimPos:GetValue(frame). I also need to know (in this case) which bone I'm trying to get a value from. I'm going through all channels and subchannels for a layer, trying to get values. (Using the lm_list...
by rylleman
Fri Sep 16, 2016 10:30 am
Forum: Scripting
Topic: Get undefined value type from known channel?
Replies: 6
Views: 1461

Get undefined value type from known channel?

I want to get a value from a key at a given channel at a specific frame. The value (and channel) can be of any type. Can I get that value found without having to specify which type of value I'm looking for?
by rylleman
Fri Aug 05, 2016 2:22 pm
Forum: Scripting
Topic: seach through all child layers?
Replies: 8
Views: 1705

seach through all child layers?

I only manage to loop through the first level of childs and manually down into those one level at a time by adding "if (currentlayer:IsGroupType()) then"-functions.

How can I search through all sublayers and their subgroups (and sublgroups to those, etc.) no matter how deep they go?