Randall Hopper <[EMAIL PROTECTED]> writes:
> Nicolas Neuss:
> |Hello, DX-Users.
> |
> |I have an application which starts DX via "dx -script" and connects to
> |it via a pipe. Then it writes out data files and calls DX to display
> |them. Unfortunately, I'm having trouble with image caching, i.e.
> |changed data is not reread. When not in script mode I can choose
> |ResetServer from the Connections menu to cause a rereading of the
> |data. This is also no perfect solution (too many key strokes), but at
> |least it works. How can I do the same from within the scripting
> |language?
>
> Have you tried?:
>
> Executive("flush cache");
> $sync
Nice to know about this, but it does not work for me. Maybe at some
other place...
> This may or may not do what you need. Alternatively:
>
> Executive("flush dictionary");
> $sync
>
> to clean house. Though, if you're going to do that, might be better to
> just "quit" and start up a new pipe to a fresh DX.
This works and is faster than starting up the fresh DX. But it
creates also a new window, so I prefer the solution suggested by Kent.
Thanks, Nicolas.