load external file script via action button click
I want to run an external script by a button click. The button is placed in the tree view
<tree string="Session Tree">
<button name='myButton' type='action' string="Click me"/>
How can I achieve that?