Where do i put the script?
in the code which wrote above?
I just used EFB clock to pass the path of my config files to the other subjects, the clock doesn,t has any script on it...
Choice 1 & 2 overwrites the clocks comment and they change the text & params of the objects used as menubuttons
some of these buttons contains the script which i originally posted above...
if i change
Code: vbscript
- desktopx.object("Submenu Title Text").text = desktopx.object("EFB Clock").comments
into
Code: vbscript
- desktopx.object("Submenu Title Text").text = desktopx.object("EFB Clock").comments
I can see that the path of the file yo include is really updated...
So the sub writetosubmenu() is executed again on the mouseclick...
but for some reason it doesn't use the new path to write to the submenu buttons...
altough it overwrites the buttons with the data of the first used config file