Chemstation: Add menu using USER.MAC?
Posted: Tue Nov 22, 2011 2:57 pm
				
				I've created some macros to do some custom excel reporting in Chemstation for GC analysis. I got them to work but now I want to add a menu item in the Data Analysis view under Report directly at the startup of both the on-line and off-line versions. When use the MenuAdd command I can create the menu I need but when I add it the the USER.MAC macro that runs at the startup, it won't create the menu, any suggestions how to do it, here's my user.mac:
macro GCIdle.mac
macro LPGxport.Mac
Switchview DA
menuadd "&Report", "Print LPG Report","macro lpgmenu.mac"
After startup I can use the macro's and commands I created in the GCIdle & LPGXport macro's, so the user.mac is executed but it won't create the menu.
When I call the user.mac from the command line, the menu is created allright but I want it to do that automatically at startup, what am I missing??
			macro GCIdle.mac
macro LPGxport.Mac
Switchview DA
menuadd "&Report", "Print LPG Report","macro lpgmenu.mac"
After startup I can use the macro's and commands I created in the GCIdle & LPGXport macro's, so the user.mac is executed but it won't create the menu.
When I call the user.mac from the command line, the menu is created allright but I want it to do that automatically at startup, what am I missing??