Functions for shortcuts

 From:  vector illustrator (QUARITEXA)
9687.5 In reply to 9687.4 
I got that. But I need case like this:
code:
1=script: hint('first string'); some code;
2=script: hint('second string'); another code;
3=script: hint('third string'); some more code;

The function 'hint' must be common for the keys.