Search found 113 matches

by Breinmeester
Thu Sep 27, 2012 1:08 pm
Forum: Scripting
Topic: Q: ctrl, shift and alt on a button tool?
Replies: 1
Views: 1033

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: 15989

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: 130372

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: 13047

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: 16723

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: 16723

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: 13301

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: 13301

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: 13301

(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: 13301

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...
by Breinmeester
Wed Apr 11, 2012 12:58 pm
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 13301

You're right. It doesn't pick up bone deformations. The search continues! :D
by Breinmeester
Tue Apr 10, 2012 8:36 pm
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 13301

This worked for me: for i = 0, mesh:CountPoints() - 1 do -- do for every point in the layer's mesh the following: local pt = mesh:Point(i) -- store a point of the mesh in 'pt' local v = pt.fPos -- set 'v' as the screen position of the point in 'pt' local pvec = LM.Vector2:new_local() -- create a new...
by Breinmeester
Tue Apr 10, 2012 12:10 pm
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 13301

I got it to work. I hope to spend some time on it tonight and will be back here tomorrow.
by Breinmeester
Mon Apr 09, 2012 3:20 pm
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 13301

Ok, Ive been looking around and found something about the FullTransform matrix. So this is what i wrote: local transformMatrix = LM.Matrix:new_local() layer:GetFullTransform(moho.frame, transformMatrix, moho.document) transformMatrix:Transform(mouseVec) But it doesn't work. As far as I figured, I ne...
by Breinmeester
Sun Apr 08, 2012 9:58 am
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 13301

Ok, Ive picked this up. It had some challenges for me, but I got it to work and even added some useful extras to the magnet tool. But Ive stumbled upon a problem: The tool works depending on its location on the group layer. If the points of a child layer have been transformed by something (layer tra...