TIP: Click on subject to list as thread! ANSI
echo: qedit
to: RICK BROWNLIE
from: CHAD WALLACE
date: 1996-01-04 18:33:00
subject: SHARESPELL

On Dec 31, 1995, Rick Brownlie wrote to Chad Wallace about SHARESPELL
Hello, Rick.
 RB> This is a bit too complicated for what I actually meant.. I almost
 RB> managed to get it to work myself one time.. but there was something
 RB> i couldnt get to work.. anyway, basically what it need to to .. is:
 RB>           1) Save the current position in the current file (if poss)
 RB>           2) Shell to dos and run sharespell on the saved file
 RB>           3) Load up the spell checked file..
 RB> I think the problem I had now is that you have to get it to remember
 RB> the filename that you were editing before you shelled to dos, so that
 RB> it can re-load it.. Know what I mean?
This is possible by using CurrentFileName in the editing area, and then 
cutting it to the clip-board.  Then it's on the clip-board for you to access 
whenever you need to.
 RB>         Is that possible at all???
Well, all of it is possible except for saving the current position in the 
file.
Here's a simpler one:
^S      SetScreenOff
        SaveFile
        EndLine Return BegLine
        CurrentFileName
        MarkLine Cut
        DOS "SS " Paste Return Return
        Exit "N"
        EditFile Paste Return
But again, just like the other macro I gave you, it puts you at the beginning 
of the file and your former cursor position is lost, unless you wrote it 
down. :-)
Cmdr Walrus
--- GoldED 2.50+
---------------
* Origin: Writing from Kamloops, BC, Canada (1:353/710.16)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.