Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12594

Re: Detecting Ctrl-Alt-Del in Windows

From Nobody <nobody@nowhere.com>
Subject Re: Detecting Ctrl-Alt-Del in Windows
Date 2011-09-02 01:10 +0100
Message-Id <pan.2011.09.02.00.10.14.153000@nowhere.com>
Newsgroups comp.lang.python
References <6e602a19-8cca-4924-bd95-df08615662d2@c8g2000prn.googlegroups.com>
Organization Zen Internet

Show all headers | View raw


On Thu, 01 Sep 2011 08:52:49 -0700, Den wrote:

> Obviously, this is a windows-based question.  I know that Ctrl-Alt-Del
> is handled deep inside the OS, and I'm not trying to interrupt that.
> But is there some way to detect that a C-A-D has been pressed?

Not reliably. You might infer that Ctrl-Alt-Del has been used by the way
that certain operations behave, but that's fairly error-prone.

> Also, is there a corresponding key-sequence in Mac and Linux?  And how
> might one detect those too?

I don't know about Mac. Linux has some support for Ctrl-Alt-Del on the
console, and the optional "Magic SysRq" feature. But there's no easy way
to detect these (if the sequence is recognised by the kernel, it's not
reported by the usual mechanisms).

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Detecting Ctrl-Alt-Del in Windows Den <patentsvnc@gmail.com> - 2011-09-01 08:52 -0700
  Re: Detecting Ctrl-Alt-Del in Windows Nobody <nobody@nowhere.com> - 2011-09-02 01:10 +0100
    Re: Detecting Ctrl-Alt-Del in Windows Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-01 22:19 -0700
    Re: Detecting Ctrl-Alt-Del in Windows Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-09-02 18:19 +1200
  Re: Detecting Ctrl-Alt-Del in Windows Stephen Hansen <me+list/python@ixokai.io> - 2011-09-02 00:06 -0700
  Re: Detecting Ctrl-Alt-Del in Windows Chris Angelico <rosuav@gmail.com> - 2011-09-02 17:55 +1000
    Re: Detecting Ctrl-Alt-Del in Windows Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-09-03 12:51 +1200
    Re: Detecting Ctrl-Alt-Del in Windows Nobody <nobody@nowhere.com> - 2011-09-03 08:49 +0100
  Re: Detecting Ctrl-Alt-Del in Windows Thomas Jollans <t@jollybox.de> - 2011-09-02 12:01 +0200
  Re: Detecting Ctrl-Alt-Del in Windows sjm <sjmsoft@gmail.com> - 2011-09-02 05:27 -0700
    Re: Detecting Ctrl-Alt-Del in Windows Den <patentsvnc@gmail.com> - 2011-09-02 09:19 -0700
    Re: Detecting Ctrl-Alt-Del in Windows Den <patentsvnc@gmail.com> - 2011-09-02 09:20 -0700
  Re: Detecting Ctrl-Alt-Del in Windows Web Dreamer <webdreamer@nospam.fr> - 2011-09-02 14:38 +0200
    Re: Detecting Ctrl-Alt-Del in Windows Tim Golden <mail@timgolden.me.uk> - 2011-09-02 13:45 +0100
  Re: Detecting Ctrl-Alt-Del in Windows Den <patentsvnc@gmail.com> - 2011-09-02 09:26 -0700
    Re: Detecting Ctrl-Alt-Del in Windows Chris Angelico <rosuav@gmail.com> - 2011-09-03 07:47 +1000

csiph-web