468,526 Members | 2,133 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,526 developers. It's quick & easy.

system wide replace keystroke with other keystrokes

Does anyone know a trick to replace a keystroke (say "F12") with a
series of keystrokes (say "some lengthy text followed by F12") using
Visual Studio 2005?

-Jeroen
Feb 8 '08 #1
2 1517
Jeroen,

Well, you would use VS.NET 2005 to develop a solution that you could
use, you wouldn't use VS.NET 2005 directly to address this problem =)

Unfortunately, what you need is a Global Keyboard Hook, which is
something you can't do in .NET.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<ig********************@gmail.comwrote in message
news:ad**********************************@l32g2000 hse.googlegroups.com...
Does anyone know a trick to replace a keystroke (say "F12") with a
series of keystrokes (say "some lengthy text followed by F12") using
Visual Studio 2005?

-Jeroen

Feb 8 '08 #2
use, you wouldn't use VS.NET 2005 directly to address this problem =)

nope still can use vs c/cpp, didnt check witch OS over 2000 but used
in like http://www.codeguru.com/cpp/w-p/syst...hp/c5699/#more
but from the name of the link its cpp, looks like plain K&R c code to
me, with a win touch ;)

now the interesting part is could one use .net to do something like
this?

never thought about that, OT had some problemd with java->fortran, had
to go jni to communicate (on OpenVMS, will NOT recommend using it if u
dont have to... directorys are not win/*nix style a\b\c or a/b/c but
a.b.c so getting canonical names wont work...)
//CY
Feb 10 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by hokieghal99 | last post: by
2 posts views Thread by Wayne Wengert | last post: by
3 posts views Thread by groleo | last post: by
1 post views Thread by tekhneek | last post: by
2 posts views Thread by ericlangland | last post: by
3 posts views Thread by =?Utf-8?B?QmVybmFyZG8gU2FsYXphciBuZXdi?= | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.