Anim8or Community

General Category => ASL Scripts => Topic started by: rellik420 on August 12, 2009, 06:36:23 am

Title: stopping scripts
Post by: rellik420 on August 12, 2009, 06:36:23 am
i just downloaded almost all of the scripts that raxx made availible. I get them to work pretty easily. but i hit a bump on how to stop them.  the debug window opens when i run a script. If i "X" out of it, it closes anim8or. if some1 knows what to do please let me know
Title: Re: stopping scripts
Post by: Kubajzz on August 12, 2009, 07:27:55 am
For some reason you cannot close the console window without closing Anim8or. Just leave it open...  When the last line in the window starts with "exit script", the script execution is finished.

It is not usually possible to stop a running script. If the script execution takes too long, you have to wait or quit Anim8or. There are very few scripts that can be stopped, for example by creating an attribute with a specific name. See the header of each script file for a detailed information about its usage.

Some ASL scripts are very slow, especially when working with complex models. Slow scripts usually produce some output to the console window so you can see how fast it's going and you can guess how long it might take. However, this is not a general rule - the console window only shows you what the script author wanted you to see.

There are 2 good reasons to always save your file before running a script: you might have to quit Anim8or to abort the script and script operations cannot be undone.
Title: Re: stopping scripts
Post by: rellik420 on August 12, 2009, 09:29:01 am
im afraid to save progress when a script is running. should i be?

it feels like it might currupt the file.

and if a script is running and you save it, when you close then open anim8or will the script restart or run from when it was last saved? or does it stop running?
Title: Re: stopping scripts
Post by: Kubajzz on August 12, 2009, 03:21:40 pm
I said you should always save your project before running a script, not when a script is running.

I'm not sure what would happen if you saved your project while a script is running. I don't think there is a reason to do that...