Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to start a program from inside Autocad?

7 REPLIES 7
Reply
Message 1 of 8
Anonymous
748 Views, 7 Replies

How to start a program from inside Autocad?

I'm trying to start a program from menu.
I can't find a smart way to do it.
Now my line is like this: ^C^C_browser
Q:/lib/ainscad/smb/siporex/detaljit.exe

Now my command starts browser, then asks do I want to load or run this file
detaljit.exe. If I ask to run it, it does what I mean to do.

All I need is to start this detaljit.exe.

What's a smart way to do it?
7 REPLIES 7
Message 2 of 8
Anonymous
in reply to: Anonymous

Use _ai_startapp comand.

Conny

"Jyrki Saloniemi" skrev i meddelandet
news:86A14690FFC2312C83CE01C307D48F26@in.WebX.maYIadrTaRb...
> I'm trying to start a program from menu.
> I can't find a smart way to do it.
> Now my line is like this: ^C^C_browser
> Q:/lib/ainscad/smb/siporex/detaljit.exe
>
> Now my command starts browser, then asks do I want to load or run this
file
> detaljit.exe. If I ask to run it, it does what I mean to do.
>
> All I need is to start this detaljit.exe.
>
> What's a smart way to do it?
>
>
Message 3 of 8
Anonymous
in reply to: Anonymous

OR, if you use anything after Windows95, put the application launch shortcut
in the Windows Taskbar toolbar, and just click on it (if you have the
taskbar always visible in Windows).

--
Dean Saadallah
http://www.pendean.com
LT Express Utilities
http://www.pendean.com/ltexpress
Expanded Links Pages
http://www.pendean.com/lt/links.htm
--

"Conny Klasson" wrote in message
news:955C3D9B96964D0E86BD39833A6E298F@in.WebX.maYIadrTaRb...
> Use _ai_startapp comand.
>
> Conny
>
> "Jyrki Saloniemi" skrev i meddelandet
> news:86A14690FFC2312C83CE01C307D48F26@in.WebX.maYIadrTaRb...
> > I'm trying to start a program from menu.
> > I can't find a smart way to do it.
> > Now my line is like this: ^C^C_browser
> > Q:/lib/ainscad/smb/siporex/detaljit.exe
> >
> > Now my command starts browser, then asks do I want to load or run this
> file
> > detaljit.exe. If I ask to run it, it does what I mean to do.
> >
> > All I need is to start this detaljit.exe.
> >
> > What's a smart way to do it?
> >
> >
>
>
Message 4 of 8
RSaarikko
in reply to: Anonymous

Or you can put the string..._browser, Q:/lib/ainscad/smb/siporex/detaljit.exe, 1,...
(without the leading and trailing dots) into your ACAD.PGP (ACLT.PGP) file. This creates
a new external command..."_browser"... which will now work as you want in your "^C^C_browser"
macro. Read ACAD.HLP on creating external commands in the *.PGP files...for more info.
Message 5 of 8
Anonymous
in reply to: Anonymous

Thanks.

 

I find out that this works too:
face="Times New Roman" size=3>^C^C_shell
Q:/lib/ainscad/smb/siporex/detaljit.exe



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"RSaarikko" <ajrs@telus.net>
kirjoitti viestissä:f127d18.2@WebX.maYIadrTaRb...
Or you can put the
string..._browser, Q:/lib/ainscad/smb/siporex/detaljit.exe, 1,...
(without
the leading and trailing dots) into your ACAD.PGP (ACLT.PGP) file. This
creates
a new external command..."_browser"... which will now work as you
want in your "^C^C_browser"
macro. Read ACAD.HLP on creating external
commands in the *.PGP files...for more info.
Message 6 of 8
Anonymous
in reply to: Anonymous

Conny,

How do we get over the gap in "Program files"? ACAD treats it like an 'enter'.
Message 7 of 8
Anonymous
in reply to: Anonymous

Double qoutes around the path?
Just a guess, have not tested this.

Conny


"TaskCAD" skrev i meddelandet
news:f127d18.4@WebX.maYIadrTaRb...
> Conny,
> How do we get over the gap in "Program files"? ACAD treats it like an
'enter'.
>
Message 8 of 8
Anonymous
in reply to: Anonymous

Thanks Conny
.......works great......^C^C_ai_startapp;"C:/Program Files/Microsoft Office/Office/EXCEL.EXE"

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost