Search found 118 matches

by Breinmeester
Mon Nov 05, 2012 6:20 pm
Forum: Scripting
Topic: ASP 9.1 Crashes on Undo with my LayerScript attached
Replies: 1
Views: 1328

ASP 9.1 Crashes on Undo with my LayerScript attached

Anybody know why Moho crashes when I hit undo with my Layerscript attached? Is there a way to avoid this? Any help welcome.
by Breinmeester
Wed Oct 10, 2012 2:40 pm
Forum: Scripting
Topic: Help please: moho a nil value?
Replies: 4
Views: 1639

Re: Help please: moho a nil value?

I've tried this: dv_MainScriptPopUp:HandleMessage(msg) if (msg == self.CLICKBUTTON) then dv_OtherScript:Run(moho) end But if dv_OtherScript tries to access moho it returns the same error: attempt to index local 'moho' (a nil value) Even though it works fine when you run it from the scripts menu. Thi...
by Breinmeester
Tue Oct 09, 2012 7:21 pm
Forum: Scripting
Topic: Help please: moho a nil value?
Replies: 4
Views: 1639

Re: Help please: moho a nil value?

Hey thanks for that! Could you please copy and paste or describe what's written on the other forum on this subject matter? I could realy use the info. I wasn't an active member here when that forum was created, so maybe there's a reason for all the secrecy, but i just don't get why a moho community ...
by Breinmeester
Tue Oct 09, 2012 5:26 pm
Forum: Scripting
Topic: Help please: moho a nil value?
Replies: 4
Views: 1639

Help please: moho a nil value?

I get the error message:

Code: Select all

attempt to index local 'moho' (a nil value)
when i try to call moho.layer in HandleMessage(msg) or other sub functions. Since this is pretty fundamental stuff I'm guessing I'm doing something fundamentally wrong. Can someone please explain?
by Breinmeester
Sat Sep 29, 2012 7:20 pm
Forum: Scripting
Topic: Scripting documentation with syntax highlighting
Replies: 1
Views: 1127

Re: Scripting documentation with syntax highlighting

Thanks for that man! Scripting documentation is surely needed! Not only is trial and error taking up a lot of valuable time, the lack of understanding can also be a threshold in trying out or coming up with new techniques. In scripting i generaly get new ideas when i see new possibilities and seeing...
by Breinmeester
Thu Sep 27, 2012 1:08 pm
Forum: Scripting
Topic: Q: ctrl, shift and alt on a button tool?
Replies: 1
Views: 1184

Q: ctrl, shift and alt on a button tool?

Hello, I'm writing a script which i want executed at the press of a button, so i included it in the _tool_list with the 'button' mark. Here's my question: I want the script to act differently if alt, shift or ctrl are held. How can i accomplish that? So for example, i have the script included in the...
by Breinmeester
Mon Sep 17, 2012 2:48 pm
Forum: Scripting
Topic: Version 8.1 scripting interface
Replies: 6
Views: 34137

Re: Version 8.1 scripting interface

Is the Version 9 scripting interface available yet? I'd love to have it!!!
by Breinmeester
Thu Aug 30, 2012 10:59 am
Forum: Scripting
Topic: Here's some handy scripts
Replies: 119
Views: 144280

Re: Here's some handy scripts

I really like the Crashcore scripts. But I just tried the Relink Lost Images script on v8 and it did find all the images but the placement of them on screen was off. Does somebody know what changed in v8 so we can fix it?
by Breinmeester
Thu Aug 09, 2012 9:55 am
Forum: Scripting
Topic: Control all switch layers and bones from parent bone layer
Replies: 18
Views: 16875

Re: Control all switch layers and bones from parent bone lay

You're posting some valuable scripts, Vern! Glad you're back!! 8)
by Breinmeester
Mon May 21, 2012 4:34 pm
Forum: Scripting
Topic: Free transform tool
Replies: 24
Views: 32896

Re: Free transform tool

Same goes for:

Code: Select all

vec = point.fPos
It makes an instance. So if you change vec, the point's position will change on screen as well.
by Breinmeester
Sat May 19, 2012 6:21 pm
Forum: Scripting
Topic: Free transform tool
Replies: 24
Views: 32896

Re: Free transform tool

My friend, your new tools are amazing! As if you can read my mind. Thanks so much!
by Breinmeester
Sat Apr 28, 2012 2:05 pm
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 19558

Well, I've found some problems with it. Especially a combination of layer rotate and bones doesn't seem to work.

I'll keep on searching.
by Breinmeester
Thu Apr 26, 2012 8:40 am
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 19558

You know I'm having the exact same problem with another script that I am working on right now... Sorry Breinmeester, I don't have any answers to give you but I would ALSO be very, very interested - no, THRILLED - if anyone could share some kind of insight to this enigma (regarding how to get the po...
by Breinmeester
Mon Apr 16, 2012 2:58 pm
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 19558

(He has some clever use of lists for keeping order to the meshes and points... you have to manually select the different layers you want the magnet to operate on). Yeah, I did that as well, so when a group layer is selected it well detect on mouse down wether it is necessary to compute a layer's me...
by Breinmeester
Fri Apr 13, 2012 8:39 am
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 19558

No, i didn't. Would be nice to see how he did it. Did he fix the bone transform issue? I added a few things to my Magnet tool, like the possibillity to adjust the strength of the tool's influence, the possibillity to have every point in a layer's mesh keyframed when the tool is used and the possibil...