From: Neil on 31 Mar 2010 22:06 > When rereading Q2, I want to reformulate it: > > Q2) May a TCL/Tk program detect if it is started on a system with > remote sessions capabilities (citrix server, windows server with > wts) ? > > Thank you, > Harald ::twapi::get_os_info suites contains 'terminal' The page even has your example for you =] http://twapi.magicsplat.com/osinfo.html#get_os_info http://twapi.magicsplat.com/verifyTS.example The Capabilities suite is a standard WinAPI. I'm not aware of a Citrix equivalent (or if Citrix shows up in the API. If I get a chance, I'll try to find out--but my Citrix access is restricted, so no promises. Realize that any XP machine is going to show up as terminal-server; Fast-user switching is just two-person terminal services (I've heard there is a hack to allow multiple connections...), so it's built in. |