[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/2.0.5.5 |
jasonr (Jason Rumney) @ f2s.com writes:
> John Robot <john.robot@laposte.net> writes:
>> jasonr (Jason Rumney) @ f2s.com 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
--
John Robot