> 
> I have an application which is not reentrant that is only a 
> single instance thereof should run at once. Is it possible to 
> detect whether there is already an other instance running and 
> passing it focus?

On windows, you can use the "exec command start" process described for
launching web browsers at http://wiki.tcl.tk/557/

On unix and in X environments, I think you can use send and tk appname.

Bob
-- 
Bob Techentin                        [EMAIL PROTECTED] 
Mayo Foundation                                 (507) 538-5495 
200 First St. SW                            FAX (507) 284-9171
Rochester MN, 55901  USA            http://www.mayo.edu/sppdg/ 




-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to