Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,103
|
How to Throw Error originating in Scriptclip() ???
Is there a way to detect and Abort with Error, an error that originated within ScriptClip ?
Normally it just puts an error message on frame.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
![]() |
![]() |
![]() |
#2 | Link |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,437
|
You can detect the error by putting the whole run-time script inside a try-catch block.
Regarding aborting, the standard action does abort the run-time script, but there's no way to abort frameserving, as there is no mechanism within Avisynth for doing that. |
![]() |
![]() |
![]() |
#3 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,103
|
Thank you Big G, thats what I figured.
Found an alternative method of coping with the error, am about to update DynaCrop script to spank user if jumping about. http://forum.doom9.org/showthread.ph...68#post1633168 Thank you again. ![]()
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
![]() |
![]() |
![]() |
Tags |
assert, error, scriptclip, try;catch |
Thread Tools | Search this Thread |
Display Modes | |
|
|