Running scripts with double-click

How does the platform determine whether to run a script with double click or launch meta-editor? I never get a consistent result.
Just drag it on to the chart and be certain.
whroeder1:
Just drag it on to the chart and be certain.

Thanks, but that doesn't answer my question.

nicholishen:
How does the platform determine whether to run a script with double click or launch meta-editor? I never get a consistent result.
I tried by curiosity, a double-click always run the script, never launch MetaEditor.