ScriptSpot

Forum topic · General Scripting

script error -> reopen

By dussla · 2012-07-27

Description

i wonder
when i worked with script , there is problem often
then i have to reopen manually

i would like to reopen script automaticly when script was error

is there good idea ?

Comments (3)

I have to see the code.If

miauu · 2012-07-27

I have to see the code.
If ... then ... else is for 2 conditions.

Maybe the code can be fixed and the errors will not occurs.

Try with this:

miauu · 2012-07-27


(
try(
    --script body
)
catch(
    -- reopen the script
)
)

So, the script have to be unencrypted.
IF you want you can send me the script and I will try to "fix" it.

i wonder some

dussla · 2012-07-27

there is 2 conditions

1. try ( destroy ~)

2. try ( if reopen becoming error)

pls can you make 2 condition possible in 1 script ?