Hi,
I have not managed to register Add-Ins as a specific "Menu/Procedure type" (say series Add-In) and yet call it from the command window. It would be nice to be able to have the Add-In appearing in a specific object meny but still being able to call it from the command window.
Do you have any suggestions as how to accomplish this?
Best,
Kristian
Add-In in object menu and from command window?
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Add-In in object menu and from command window?
I'm not sure I understand the question. What have you tried, and how did it not work?
Re: Add-In in object menu and from command window?
Sorry about that. I'll try again.
So, I have written an Add-In that can be applied to a series object only.
The next thing I do is to register my Add-In under "Add-ins>Manage Add-ins...>Add" in EViews main window.
Here I have several options. Under "Attributes" I can set the "Menu/Procedure type". If I choose "Global command" the Add-in will appear under "Add-ins" in EViews main window. I also can state a command that will invoke the Add-in procedure from the command window in EViews main window. That's all fine.
An alternative would be to specify that I want the Add-in to appear under "Proc>Add-ins...>" in the SERIES object window. This would be nice since then I can be sure that the Add-in will be called from a SERIES object. This is done by setting "Menu/Procedure type" to "Series Proc". But if I do this, the registered command will not be recognized in the command window of the main EViews window. This is bad since I would like to be able to associate the Add-in with a SERIES object, while still being able to call it from the command window.
So my question is: Is there any possibility to register the Add-in to appear in the "Proc>Add-ins..." in the SERIES object window while still retaining the possibility to call the Add-in from the command window?
Hope this is a little bit clearer than the previous post.
/Kristian
So, I have written an Add-In that can be applied to a series object only.
The next thing I do is to register my Add-In under "Add-ins>Manage Add-ins...>Add" in EViews main window.
Here I have several options. Under "Attributes" I can set the "Menu/Procedure type". If I choose "Global command" the Add-in will appear under "Add-ins" in EViews main window. I also can state a command that will invoke the Add-in procedure from the command window in EViews main window. That's all fine.
An alternative would be to specify that I want the Add-in to appear under "Proc>Add-ins...>" in the SERIES object window. This would be nice since then I can be sure that the Add-in will be called from a SERIES object. This is done by setting "Menu/Procedure type" to "Series Proc". But if I do this, the registered command will not be recognized in the command window of the main EViews window. This is bad since I would like to be able to associate the Add-in with a SERIES object, while still being able to call it from the command window.
So my question is: Is there any possibility to register the Add-in to appear in the "Proc>Add-ins..." in the SERIES object window while still retaining the possibility to call the Add-in from the command window?
Hope this is a little bit clearer than the previous post.
/Kristian
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Add-In in object menu and from command window?
When you set the types to be "series proc", then the command will take the form:
Code: Select all
series.procname
Re: Add-In in object menu and from command window?
Ok, I see.
Thanks.
/Kristian
Thanks.
/Kristian
Who is online
Users browsing this forum: No registered users and 1 guest
