From: "Chris Antos (Exchange)"
it is possible to detect that a program is running.
however, the only way to "connect" to an already running program is for
that program to specifically support that. for example, gsview would
have to have some command-line flag that told it to reuse an
already-running copy instead of launching a totally new copy.
> -----Original Message-----
> From: Sjoerd W. Rienstra [SMTP:sjoerdr@win.tue.nl]
> Sent: Tuesday, July 22, 1997 10:35 AM
> To: tsepro@semware.com
> Subject: recognizing other loaded programs
>
> I use my 2.8 under Win 95 often for the following operation:
>
> I have a LaTex-file loaded, and when ready with editing I call my
> Latex-macro to compile and view from within the editor.
> This viewing maybe with some dvi-viewer (relatively quick), but if the
> file contains (postscript-)pictures it is necessary to
> view with gsview (relatively slow). To avoid this slow start of
> gsview, it is possible to leave gsview loaded, and the next
> time you call it, just click the mouse in the gsview-window and type
> 'R' (reread) or whatever is applicable.
> My question is: is it possible to recognize from within tse (in W95)
> the presence of a loaded program, like gsview,
> so as to avoid a new call to it? Even better: is it possible in that
> case to jump to this program?
>
> Thanks.
>
> Sjoerd
>
> PS to Sammy Mitchell: the recompiled qkeys-macro works fine now.
>
>
> Sjoerd W. Rienstra | sjoerdr@win.tue.nl
> Dep. of Mathematics & Comp. Sc. | tel.: 040 - 247.4603/4760
> Eindhoven University of Technology | fax : 040 - 244 21 50
> P.O. Box 513 |
> 5600 MB EINDHOVEN |
> The Netherlands |
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|