looking for help with a menu command

Discussion in 'AutoCAD' started by Dylan, Jul 4, 2003.

  1. Dylan

    Dylan Guest

    I'm currently working on updating our custome menu and I would like to
    beable to open our drafting manual from within autocad. it's currently in
    PDF format.

    so here is what I want to beable to do. click on a button or select the
    command from the pull-down and have adobe acrobat open our cad manual.

    Is this possible and if so can someone tell me how to do it?

    Dylan, Jul 4, 2003
    1. Advertisements

  2. Dylan

    Mark Propst Guest

    ;here's an example with hardcoded paths
    ;;; you could make much better by eliminating the hard code
    ;;; or just substitute your paths
    ;;; i'm just too lazy to make it a good function cause this is all i need.

    (defun C:pDF( / AppLocation Title DocLocation defaultLocation)
    (setq AppLocation "E:\\PROGRAM FILES\\ADOBE\\ACROBAT
    5.0\\READER\\ACRORD32.EXE" );set your location or do findfile or/????
    (setq title "Select PDF file to Open")
    (setq defaultLocation "C:\\0\\0INFO\\LISPINFO\\");set your location or
    offer prompt
    (setq DocLocation (Getfiled title defaultLocation "pdf" 0))
    (startAPP AppLocation DocLocation)
    Mark Propst, Jul 4, 2003
    1. Advertisements

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.