Hi Everyone,
can you set a variable
(setq client "riteaid")
and then have "client" be in a path such as
"i:\\standards\\retail\\_$ client\\_$ client.bat"
I tried putting _$ client in () but that didn't help either.
the path really should be
i:\\standards\\retail\\riteaid\\riteaid.bat
thanks, I am slowly trying to learn this.
The reason is I am trying to load and un-load menu's but the menu that is being unloaded may not always be the same one. I was thinking if I could have the menu name as a constant variable, that would be one way around it. Here is the code that I am working with.
(defun c:riteaid ()
(startapp "i:\\standards\\retail\\riteaid\\riteaid.bat")
(command "menuload"
"i:\\standards\\retail\\riteaid\\menu\\riteaid"
)
(menucmd "p1=+acad.pop1")
(menucmd "p16=+riteaid.pop1")
(alert "Notice:\nThe riteaid Workspace has been loaded!")
)
I am trying to pull in a menu, then load a pulldown. But then I want to remove the menu replace it with another one and then load that pop menu.
TIA
Pieter