请问 wzh朋友的程序怎么用?唤起命令是什么啊?- ;;;获取当前LSP程序加载的路径
- (defun GetLspPath()
- (setq lsppath
- (vl-registry-read
- "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComDlg32\\OpenSaveMRU\\lsp"
- (substr
- (vl-registry-read
- "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComDlg32\\OpenSaveMRU\\lsp"
- "MRUList"
- )
- 1
- 1
- )
- )
- )
- (setenv "ACAD" (strcat (getenv "ACAD") ";" (vl-filename-directory lsppath)))
- )
|