I am using attached script in my scripts.ini, such that the script (vbs) invokes at the same time as DxDesigner. For now, all this script does is check to see if viewdraw.exe (process) is running or not and if not, the script is supposed to die as well. Here are the two problems I am having with this script:
With regards to problem # 1 above, I have been able to get the schematic sheets pane to appear correctly, if I replace Do While loop with an If statement but that doesn't fit the bill. And, I have tried to use Scripting.DontExit = True (since I want my script to run as long as DxDesigner is running) but I couldn't use it since "Scripting.DontExit = True looks for events"
Thanks for your time.
A script loaded by scripts.ini, and using Scripting.DontExit = True, will be loaded when DxDesigner is invoked, and closed when DxDesigner is closed.
So you don't need to check to see if viewdraw.exe is running.