AnsweredAssumed Answered

Script.ini file subleties

Question asked by nhirsch on Jul 30, 2020
Latest reply on Jul 30, 2020 by .-.--.--

HI,

 

I'm building custom toolbars for both Xpedition Layout and Designer. I've found that I can simply add my script paths into the script.ini file, so they are run on program launch.

 

I've noticed that while Layout (Expedition PCB) accepts explicit paths for file locations, Designer (ViewDraw) does not. See below for an example:

 

This works:

[ViewDraw]
Script#0=CustomDesignerToolbar.vbs

[Expedition PCB]
Script#0=\\server.corp\xpedition_library\WDIR\EEVX.2.6\Scripts\Layout\KeyBindings.vbs
Script#1=\\server.corp\xpedition_library\WDIR\EEVX.2.6\Scripts\Layout\CustomMenu.vbs

 

This does not work, tells me CustomDesignerToolbar.vbs cannot be found:

[ViewDraw]
Script#0=\\server.corp\xpedition_library\WDIR\EEVX.2.6\Scripts\Designer\CustomDesignerToolbar.vbs

[Expedition PCB]
Script#0=\\server.corp\xpedition_library\WDIR\EEVX.2.6\Scripts\Layout\KeyBindings.vbs 
Script#1=\\server.corp\xpedition_library\WDIR\EEVX.2.6\Scripts\Layout\CustomMenu.vbs

 

I want to use explicit paths so that my scripting library can be organized within subfolders and my WDIR path doesn't require so many entries. Any ideas why my second example would fail?

Outcomes