[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print key

From: John Robot
Subject: Re: Print key
Date: Mon, 21 Jun 2004 12:10:38 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Hamster/

jasonr (Jason Rumney) @ writes:
> John Robot <address@hidden> writes:
>> jasonr (Jason Rumney) @ writes:
>>> What does C-h k say?
>> Nothing. `describe-key' does not "see" the `Print Screen' key;
>> it does not display anything, still waiting for an input key...
> "Print Screen" is globally used by Windows as a hotkey (it puts a
> screen snapshot on the clipboard). To override this, you need to get
> Emacs to re-register it:
> (w32-register-hot-key [snapshot])

Yeah!  The following code is now *perfectly* working:

(w32-register-hot-key [snapshot])
(global-set-key [(snapshot)] 'ps-print-buffer-with-faces)

Many thanks for your help!

Best regards,

John Robot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]