Is it possible to create an object that activates a command when being opened/clicked on?
We have made some addins and in those addins, the user may type the command:
Code: Select all
addinname ?
and then a PDF documentation for that add-in is opened:
Code: Select all
'open help file
if @upper(%0)="HELP" or %0="?" then
setmaxerrs 10
%runpath=@runpath
%about="about.pdf"
%runpath=@addquotes(%runpath+%about)
shell(t=3000) {%runpath}
stop
endif
It would be really good if one could make an object in EViews that executes the commands above when it is clicked on (in some way). What I am looking for is the possibility to create an object that holds the functionality that when a user clicks on that object, then the commands above are executed and the pdf-file with the documentation is opened. Is this doable?
Thomas