10-02-2008 07:16 AM
I have modified the example for the custom defined icons in the DIAdem icon bar to launch my custom scripts. This will replace my custom menu that I created for previous versions of DIAdem. I used to use "scriptdefault.vbs" to run my script that created this menu. I tried to use "scriptdefault.vbs" to runt my script to create the custom icon bar but it does not seem to work properly. My script should create an icon on the navigator tab on startup. My script runs fine but the icon does not show up until I go to another tab then go back to the navigator tab. What can I do to get this to show up immediately upon startup.
Thanks,
AJL
10-03-2008 11:23 AM
Hi AJL,
When I add the following line to my ScriptDefault.VBS file, I see the custom icon bar right away in NAVIGATOR:
Call ScriptStart(ProgramDrv & "Examples\Documents\BarExample_Init.VBS")
Would you try that and see if it works on your computer? If it does, could you describe the difference between your icons and these example icons? Or could you post or send me a version of your icons that still shows the problem on your end?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-06-2008 09:29 AM
My computer must have been very cramped up last week when I posted this message. I just opened DIAdem this morning and my custom icon was there in about 2 seconds.
Thanks Brad for a response.
AJL