looking for help with a menu command

Dylan

Usenet Archive
Joined
Jul 4, 2003
Messages
9
Reaction score
0
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?

Thanks
Dylan
 
;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)
)
 
Back
Top