home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-xp      Actually wasn't too bad for a M$-OS      17,273 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,791 of 17,273   
   Paul to VanguardLH   
   Re: Reloading a changed a wordpad docume   
   28 Mar 24 02:12:02   
   
   XPost: alt.windows7.general   
   From: nospam@needed.invalid   
      
   On 3/27/2024 9:21 PM, VanguardLH wrote:   
   > "R.Wieser"  wrote:   
   >   
   >> Vanguard,   
   >>   
   >>> Couldn't you use a batch script as a wrapper to your program?   
   >>   
   >> Yes, I could.   
   >>   
   >> But all of those try to circumvent the problem itself (which will still rear   
   >> its ugly head in other circumstances where the origional files contents   
   >> change) as well as having their own side effects.   
   >>   
   >> I think that taskkill (which I mentioned in my initial post) is one of the   
   >> few "solutions" (hacks) which seems to have no side effects - even though   
   >> its usage seems to be limited to where a script launches the changed   
   >> document.   
   >>   
   >> Regards,   
   >> Rudy Wieser   
   >   
   > The problem is that you refuse to acknowledge that Wordpad won't do what   
   > you want, and keep expecting someone to come up with a solution where   
   > Wordpad has command-line arguments other than filespec and /p (for   
   > printing).  There are no other command-line args to Wordpad, including   
   > no arg for forcing a flush of its buffer nor an arg to force a close of   
   > the current doc to get a new copy loaded in its buffer.   
      
   And CoPilot told me that WordPad has no API for interaction.   
   Wordpad is not a full-featured widget.   
      
   Maybe there is some way that a program could MMAP a file,   
   and then use some interface that tells it the file has   
   been changed on disk. The other option is the NTFS change   
   journal (FAT has no equivalent of that). The SearchIndexer   
   uses the change journal, and Everything.exe also uses   
   the change journal, to be informed of file system changes.   
   (You then apply a filter to the list, to only get   
   the changes you care about, such as a single file   
   you happen to have open at the moment.)   
      
   I've had editors warn me before, about changes   
   had been made since the file was opened, so I've   
   at least seen this feature in action.   
      
   While you could try LibreOffice Writer as an RTF proofer,   
   or OpenOffice Writer, We don't really know if they work   
   exactly like the Microsoft parser or not. I've always   
   found RTF to be a waste of time as an interchange mechanism.   
   Even if you take RTF from one Microsoft tool and feed   
   it to another Microsoft tool, there are no guarantees   
   on the outcome or the appearance.   
      
      Paul   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca