Max Lorenz
Usenet Archive
- Joined
- Sep 10, 2003
- Messages
- 4
- Reaction score
- 0
Years and years ago (Around 1990) I got TXEDIT.LSP - I probably typed it in from Cadalyst or Cadence. It would prompt for selection of text within AutoCAD; then shell to a word processor or text editor for editing the text. After saving the text file and exiting the editor, it would update the text in the drawing.
It required an entry in my Acad.pgp in order to launch the editor (My editor of choice is now PFE32 - It used to be PEDIT - the DOS-based editor that behaved just like Word Perfect:
EDITXT,c:\PFE\PFE32.EXE EDITOR,0,,0
The way it used to work, was that while I was shelled out to my editor, the execution of the LISP would stop until the shell was exited, then the text would update. Now, It works correctly, up to the point of selecting the text, writing the text file and launching PFE32 with the extracted text in it, but now when I try to save the edited text file, I get the message, "Unable to open C:\Land Projects 3\EDITOR to save changes". I also noticed that the shell is not staying open while the editor is up. The routine finishes running instead of waiting to complete and update.
I also noticed that I can not delete the two files created by TXEDIT: EDITOR and HANDLE - I get a sharing violation (Files not closed properly).
I suppose that the structure of the shell has changed.
Can anyone help me get this completely invaluable routine working? It worked in R2000.
I would use this routine for all different kinds of time-saving tasks, since PFE has great macro capabilities.
I am running LDT3.
Thanks a lot, folks!
It required an entry in my Acad.pgp in order to launch the editor (My editor of choice is now PFE32 - It used to be PEDIT - the DOS-based editor that behaved just like Word Perfect:
EDITXT,c:\PFE\PFE32.EXE EDITOR,0,,0
The way it used to work, was that while I was shelled out to my editor, the execution of the LISP would stop until the shell was exited, then the text would update. Now, It works correctly, up to the point of selecting the text, writing the text file and launching PFE32 with the extracted text in it, but now when I try to save the edited text file, I get the message, "Unable to open C:\Land Projects 3\EDITOR to save changes". I also noticed that the shell is not staying open while the editor is up. The routine finishes running instead of waiting to complete and update.
I also noticed that I can not delete the two files created by TXEDIT: EDITOR and HANDLE - I get a sharing violation (Files not closed properly).
I suppose that the structure of the shell has changed.
Can anyone help me get this completely invaluable routine working? It worked in R2000.
I would use this routine for all different kinds of time-saving tasks, since PFE has great macro capabilities.
I am running LDT3.
Thanks a lot, folks!