Search found 174 matches

by Stan
Wed Mar 09, 2016 1:15 pm
Forum: Scripting
Topic: lm_freehand in 11.2 - DrawToolSizeCircle method error
Replies: 5
Views: 2158

Re: lm_freehand in 11.2 - DrawToolSizeCircle method error

Removing that file fixed the problem. Thank you Wes!
by Stan
Wed Mar 09, 2016 5:13 am
Forum: Scripting
Topic: lm_freehand in 11.2 - DrawToolSizeCircle method error
Replies: 5
Views: 2158

Re: lm_freehand in 11.2 - DrawToolSizeCircle method error

Hmn, if I disable the Auto-Stroke option, then the error is not thrown. However, if I enable it again, the error comes back.
by Stan
Wed Mar 09, 2016 4:50 am
Forum: General Moho Discussion
Topic: How to become a beta-tester?
Replies: 5
Views: 1366

How to become a beta-tester?

We all know that a bunch of the forum members are beta-testers. I would like to become one too. Is there any resource available how the beta-testing program works? How to become a beta-tester? What is expected from a beta-tester, is there some kind of 'standard' bug-tracking mechanism (Bugzilla, JIR...
by Stan
Wed Mar 09, 2016 4:31 am
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7679

Re: How are individual layers from a .PSD defined in ASP11?

A question to Mike (or other SmithMicro officials): Is there any other new Lua API features in 11.2?
by Stan
Wed Mar 09, 2016 4:22 am
Forum: Scripting
Topic: lm_freehand in 11.2 - DrawToolSizeCircle method error
Replies: 5
Views: 2158

lm_freehand in 11.2 - DrawToolSizeCircle method error

This should have been posted in the bug forum, but I'm not sure if the officials even read that forum anymore. Just installed 11.2 and performed an update (11.2.1_18868). First, I was a little surprised that the purchase version is not the most current one. Second, I was surprised that the lm_freeha...
by Stan
Wed Mar 09, 2016 4:05 am
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7679

Re: How are individual layers from a .PSD defined in ASP11?

synthsin75 wrote:the scripting documents have not been updated.
That's bad... Really bad...
by Stan
Wed Mar 09, 2016 3:26 am
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7679

Re: How are individual layers from a .PSD defined in ASP11?

I've added the following functions to the ImageLayer class that Lua scripts can use: void SetSourceImage(const char *path); // set the path of an image - you can use filename.psd*5* notation if you want to const char *SourceImage(); // return the path of the image being used - *5* notation will hav...
by Stan
Fri Feb 26, 2016 6:56 pm
Forum: Scripting
Topic: Create new layercomp from toolscript
Replies: 8
Views: 3373

Re: Create new layercomp from toolscript

I think the only way to create a layercomp is the Layers panel in Anime Studio UI... :(
by Stan
Thu Feb 18, 2016 4:48 pm
Forum: Scripting
Topic: how can I get at the timeline for an action from LUA
Replies: 2
Views: 1197

Re: how can I get at the timeline for an action from LUA

I think actions are layer-specific, so what you need to do is probably use the moho.layer:ActivateAction("myAction") method, then do your point stuff, and then deactivate the action using moho.layer:ActivateAction(nil). http://aslua.com/index.php?show=method&classname=MohoLayer&nam...
by Stan
Tue Dec 22, 2015 11:17 pm
Forum: Scripting
Topic: Deactivate an action?
Replies: 2
Views: 1429

Re: Deactivate an action?

If you don't care for older versions (earlier than 10.0), then you can just use this: moho.document:SetCurrentDocAction(nil) However, if you do care for older versions, here is the correct way to do it (complete button-script): -- ************************************************** -- Provide Moho wi...
by Stan
Mon Dec 07, 2015 5:14 pm
Forum: Scripting
Topic: Export animation via command line?
Replies: 3
Views: 1846

Re: Export animation via command line?

I never used Debut, but based on your input I presume that command line rendering is a Pro-only feature.
by Stan
Sun Dec 06, 2015 10:00 pm
Forum: Scripting
Topic: Export animation via command line?
Replies: 3
Views: 1846

Re: Export animation via command line?

-f format This tells Anime Studio what format to render the output as. Valid formats are QT (QuickTime - Windows and Mac only), JPEG, TGA, BMP, PNG, or SWF (Flash). The QT and SWF formats generate a single output file, while the other formats created numbered sequences of still images. If you don't...
by Stan
Sat Nov 07, 2015 11:35 pm
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7679

Re: How are individual layers from a .PSD defined in ASP11?

The best solution would be to ask the developers to add PSD layer numbering control to the Lua API. It shouldn't be too hard for them.
by Stan
Tue Sep 01, 2015 11:49 pm
Forum: Scripting
Topic: Check version or build
Replies: 3
Views: 1748

Re: Check version or build

There is a method AppVersion for the "moho" object. It is available since 9.5, and it returns a string , so if you want to check for some compatibility you may need to convert it to a number. And if you didn't mean to programmatically check the app version with Lua, then just use the "...
by Stan
Mon Aug 31, 2015 11:49 pm
Forum: Scripting
Topic: MohoScripting.com - unofficial Moho scripting documentation
Replies: 55
Views: 82464

MohoScripting.com - unofficial Moho scripting documentation

Hi all, I'm proud to present the unofficial online scripting documentation for Moho (Anime Studio) Lua API: http://mohoscripting.com/ The site is a fan project created by me a while ago, before ASP 9.5 was out. I keep it updated from version to version (currently it's 12.2). Although most of the met...