I'm trying to create a macro for a toolbar button to open a third party program.
Basically we want to open a custom .exe application from a button on the ACAD toolbar.
Does anyone have a sample to share or tips\advice?
I use (startapp "C:/Program Files/... /file.exe") as a macro assigned to a button.
But it can be a more elaborate lisp routine i.e. checking if the program exist or open a particular file.
i tried this...
C^C^(startapp "C:\Program Files\Packages\INV PARTS.exe")
but it doesn't execute at all
it hangs at space after startapp
Use double backslah in path description
C^C^(startapp "C:\\Program Files\\Packages\\INV PARTS.exe")
C^C^(startapp "C:/Program Files/Packages/INV PARTS.exe")
the forward slash allowed the entire path to be read however it came back as "nil"
(thanks for your help! i really appreciate the assistance)
i'm going to try linking it to another application other than the custom programmed app
ok... the path with the forward slash defintely works. I created a button to open Excel successfully.
The custom third party application we're using is a remote app that has a .rdp extension rather than a .exe
soooo i'm going to have to experiment more I guess.
Access a broad range of knowledge to help get the most out of your products and services.