http://mohoscripts.com/script/ae_place_layer_in_group
-- fixed for layers with offsetted origin (added some code at the end)
Search found 51 matches
- Tue Sep 14, 2021 1:23 pm
- Forum: Scripting
- Topic: LK_AnimParent - Animate layer parent
- Replies: 7
- Views: 3437
- Wed May 26, 2021 7:04 pm
- Forum: Scripting
- Topic: *NEW* Switch Icons (updated 12/13/21)
- Replies: 69
- Views: 43754
Re: *NEW* Switch Icons
For me it worked only once after selecting the tool and then fired an error. Some changes near line 220 fixed this: --print(val) --start edit local switchChannel = self.switch:Layer(ID):AncestorSwitchLayer():SwitchValues() switchChannel.value:Set(val) switchChannel:StoreValue() --end edit self.moho:...
- Tue May 11, 2021 5:26 pm
- Forum: General Moho Discussion
- Topic: Switch Selection concept for v13.5
- Replies: 45
- Views: 94912
Re: Switch Selection concept for v13.5
You can use GetGlobalLayerMatrix from my utility script: http://mohoscripts.com/script/ae_utilities this way: --get global layer matrix and transform layer bounds with it to make them global local layerGlobal = AE_Utilities:GetGlobalLayerMatrix(moho, layer, moho.frame) local BB = layer:Bounds(moho.f...
- Tue May 11, 2021 5:36 am
- Forum: General Moho Discussion
- Topic: Switch Selection concept for v13.5
- Replies: 45
- Views: 94912
Re: Switch Selection concept for v13.5
So if anyone already has code to center a bounding box, by layer translation/scale or camera moves, that would help a ton. Ok, please figure out what do you need as a method getting something as args (a layer? or a bounding rectangle in layer space?) and returning something (bounding rectangle in p...
- Mon May 10, 2021 6:20 pm
- Forum: General Moho Discussion
- Topic: Switch Selection concept for v13.5
- Replies: 45
- Views: 94912
Re: Switch Selection concept for v13.5
Wes, what about the script, did You finish it?
Is it possible to see even a part of code, please...
Is it possible to see even a part of code, please...
- Sat Jan 30, 2021 7:13 pm
- Forum: Scripting
- Topic: Smarter "Copy Current frame..."
- Replies: 30
- Views: 28050
Re: Smarter "Copy Current frame..."
I tested all the actions You listed above.
- Sat Jan 30, 2021 10:51 am
- Forum: Scripting
- Topic: Smarter "Copy Current frame..."
- Replies: 30
- Views: 28050
Re: Smarter "Copy Current frame..."
I just uploaded a new version to http://mohoscripts.com/script/ae_keytools
My Moho version is 12.4
My Moho version is 12.4
- Sat Jan 30, 2021 9:21 am
- Forum: Scripting
- Topic: Smarter "Copy Current frame..."
- Replies: 30
- Views: 28050
Re: Smarter "Copy Current frame..."
I tested Your project, and nothing unusual happened.
- Sat Jan 30, 2021 9:12 am
- Forum: General Moho Discussion
- Topic: Switch Selection concept for v13.5
- Replies: 45
- Views: 94912
Re: Switch Selection concept for v13.5
While it's easy enough to pass arguments from Moho Lua to external apps/scripts, it's not as easy to get data back. I think the only way is to write the data to a file, so Lua can read it. It can be done with: function capture(cmd) local f = assert(io.popen(cmd, 'r')) local s = assert(f:read('*a'))...
- Fri Jan 29, 2021 2:44 pm
- Forum: General Moho Discussion
- Topic: Switch Selection concept for v13.5
- Replies: 45
- Views: 94912
Re: Switch Selection concept for v13.5
So, all the image files used in some project have to be copied to Resource folder and restart Moho after this?
- Fri Jan 29, 2021 2:41 pm
- Forum: Scripting
- Topic: Smarter "Copy Current frame..."
- Replies: 30
- Views: 28050
Re: Smarter "Copy Current frame..."
Please use any file exchange server such as Google drive to upload your project. As for the paths to files -- all Your paths are correct, except I prefer to use "Moho Content Folder" for any custom files. It seems to me that it does not matter, but I have to test.. So You may test using Co...
- Fri Jan 29, 2021 10:37 am
- Forum: General Moho Discussion
- Topic: Switch Selection concept for v13.5
- Replies: 45
- Views: 94912
Re: Switch Selection concept for v13.5
and this is a problem! I even thought about using python app to show a dialog with thumbnails.synthsin75 wrote: ↑Thu Jan 28, 2021 7:56 pm if you want to update the thumbnails, you have to shut down and restart Moho
- Thu Jan 28, 2021 11:23 am
- Forum: General Moho Discussion
- Topic: Switch Selection concept for v13.5
- Replies: 45
- Views: 94912
Re: Switch Selection concept for v13.5
It would be fine, Wes, if You share the script. It is very interesting, how did You implement the thumbnails.
- Thu Jan 28, 2021 11:13 am
- Forum: Scripting
- Topic: Smarter "Copy Current frame..."
- Replies: 30
- Views: 28050
Re: Smarter "Copy Current frame..."
It is compartible with any 12.xx version, last tool version is of Jan 23 2021 uploaded to http://mohoscripts.com/script/ae_keytools Works with Color Points just like with any other channel. Uses the script itself, icons and ae_utility.lua file -- required and must be of latest version. Now the lates...
- Tue Dec 22, 2020 5:45 pm
- Forum: General Moho Discussion
- Topic: I've got some news...
- Replies: 86
- Views: 156964
Re: I've got some news...
Finally, good news in this terrible 2020!