Author Topic: Using autocad Bottons to open regualar OS Programs  (Read 2971 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Using autocad Bottons to open regualar OS Programs
« on: June 28, 2004, 08:11:07 PM »
Can you set a property to an acad button to open the windows calc.exe and explorer... outlook.exe... any other program installed on your pc?

and is it easy to do? just kinda curious!


thanks
Civil3D 2020

ELOQUINTET

  • Guest
Using autocad Bottons to open regualar OS Programs
« Reply #1 on: June 28, 2004, 09:29:27 PM »
this may not be the best way but try putting this in a button:

shell;calc.exe;

i used to have this as a button but i found it easier to just put a shortcut in my start menu

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Using autocad Bottons to open regualar OS Programs
« Reply #2 on: June 28, 2004, 09:41:58 PM »
can that open other programs as well or just the calc.exe
Civil3D 2020

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Using autocad Bottons to open regualar OS Programs
« Reply #3 on: June 28, 2004, 09:57:43 PM »
you can open anything with it...
Provided you supply the path to the executable
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Using autocad Bottons to open regualar OS Programs
« Reply #4 on: June 29, 2004, 07:33:30 AM »
Using startapp you can do lots of stuff.
Code: [Select]

(startapp "C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" "www.theswamp.org")

Command: (startapp "notepad.exe" "new.txt")
TheSwamp.org  (serving the CAD community since 2003)

M-dub

  • Guest
Using autocad Bottons to open regualar OS Programs
« Reply #5 on: June 29, 2004, 08:13:25 AM »
I have a few on my own partial menu...mainly used these buttons for development, but not too much anymore...

Code: [Select]
^C^C(startapp "C:/Program Files/Microsoft Office/Office/WINWORD.EXE" "O:/DRAWINGS/Menus-Blocks/terra.mnu")

Code: [Select]
^C^C(command"notepad"(findfile"acad.pgp"))

(This one goes well with editing your pgp file...
Code: [Select]
^C^C_RE-INIT 16

nivuahc

  • Guest
Using autocad Bottons to open regualar OS Programs
« Reply #6 on: June 29, 2004, 10:19:38 AM »
This is my favorite:

Code: [Select]
^C^C(startapp "c:/windows/explorer.exe" (getvar "DWGPREFIX"))


Opens explorer in the directory you're currently working in.