Functions for shortcuts

 From:  vector illustrator (QUARITEXA)
9687.3 In reply to 9687.2 
I want to describe several functions to call it from shortcuts inline scripts like that:
code:
script:#include "moi://scripts/test.js"; testfunc("display text");

How to implement it right?