Does anyone know how in diesel to....

Discussion in 'AutoCAD' started by Jorge Z, Apr 6, 2004.

  1. Jorge Z

    Jorge Z Guest

    Make a button to open up explorer to where the drawing is currently located?
    I sort of have it, but missing something:

    command: start
    Application to start: explorer "path"

    ^c^cstart;explorer somthing...
     
    Jorge Z, Apr 6, 2004
    #1
  2. Jorge Z

    R.K. McSwain Guest

    Why diesel?

    Just add this macro to a toolbar button:

    ^C^C^P(STARTAPP (strcat "EXPLORER /e," (getvar "dwgprefix")))
     
    R.K. McSwain, Apr 6, 2004
    #2
  3. Jorge Z

    doug k Guest

    useful, but why is it throwing a number "33" at my command line?

    no errors, just a number 33 with two spaces in front of it.

    there is no number 33 in any combination in the dwgprefix.

    Why diesel?

    Just add this macro to a toolbar button:

    ^C^C^P(STARTAPP (strcat "EXPLORER /e," (getvar "dwgprefix")))
     
    doug k, Apr 7, 2004
    #3
  4. 33 is of course the devil's way of telling you the
    startapp request was successful; a return value of
    nil indicates failure. This is outlined in the help.

    useful, but why is it throwing a number "33" at my command line?

    no errors, just a number 33 with two spaces in front of it.

    there is no number 33 in any combination in the dwgprefix.

    Why diesel?

    Just add this macro to a toolbar button:

    ^C^C^P(STARTAPP (strcat "EXPLORER /e," (getvar "dwgprefix")))
     
    michael puckett, Apr 7, 2004
    #4
  5. Jorge Z

    doug k Guest

    damn my eyes for not committing the help file to memory <g>
     
    doug k, Apr 7, 2004
    #5
  6. Jorge Z

    David Kozina Guest

    I thought it was 666 <gd&r>
     
    David Kozina, Apr 7, 2004
    #6
  7. Jorge Z

    Murph Guest

    It was back in the old day but got downsized to "33"

    Murph
     
    Murph, Apr 7, 2004
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.