Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!pacbell!rtech!dosbears!drp From: drp@dosbears.UUCP (David R. Preston) Newsgroups: comp.windows.ms Subject: Re: Need autosave macro for Winword Message-ID: <420@dosbears> Date: 8 Jun 91 01:14:34 GMT References: <1991Jun1.082921.13846@cunixf.cc.columbia.edu> <376@dosbears> <1991Jun7.021329.12392@milton.u.washington.edu> Reply-To: drp%dosbears.uucp@ingres.com (David R. Preston) Organization: DosBears Lines: 32 In article <1991Jun7.021329.12392@milton.u.washington.edu> kpleas@milton.u.washington.edu (Keith Pleas) writes: > > (David R. Preston) writes: >>The thing that bugs me is that there is no temporary >>variable space, so I have to use a "glossary" > >David: > >Well, there are other options. > 1) Open a document with another template, and use THAT glossary. > 2) Use the temporary document opened in 1). > 3) Use the clipboard. The clipboard can be used as a stack to put > multiple pieces of info if they're separated by something (like > a non-printing character). > 4) Use an .ini file. I decided that using the glossary was more trouble that it's worth, because I always get the "save glossary changes" dialog at the end of a session. I haven't tried using the clipboard (would that be the same as using the "spike" glossary? Maybe I should try the spike), but I have been playing with using win.ini. The SetProfileString takes a fair amount of time, but the GetProfileString is faster. I'll be posting a simple version of autosave that can be turned off by use of modifying the win.ini (i.e. save=on or save=off). I'm also working on autosave with a temp file like Marshall wanted. -- David R. Preston drp%dosbears.uucp@ingres.com The world hadn't ever had so many moving parts or so few labels. D. R. Preston 584 Castro St. #614 SF CA 94114 USA