473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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 1705
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: hokieghal99 | last post by:
Does anyone know of a keystroke logger that has been written in Python for Windows machines? I'd like to see such a script and use it as a point of reference for a real-time backup project that I'm...
2
by: Wayne Wengert | last post by:
I want to get the decimal (integer) value of user keystrokes. I am using the following code. chrInput is the character entered (e.g. "M") and "keystroke is DIMed as Short keystroke =...
3
by: groleo | last post by:
Hi. I have the following string: string s = "hello\W\n"; If I do this: std::cout << s; i would get "helloW" How can I replace the \ within the string, so when I print it out, I would...
3
by: GG | last post by:
I have a console app that when it is run and I press a key then it freezes till a press another key gain. Is there a way to avoid it that is the keystrokes do not pause the app? Thanks ...
2
by: beaker | last post by:
Hello, I'm writing a program (which will be running in the background 99% of the time) and I want to be able to work out how long it has been since the user last used the mouse and/or keyboard. ...
1
by: tekhneek | last post by:
is there ANYWAY to have a variable monitor keystrokes on an active page with javascript and if x keys are pressed, show an alert? in other words If I'm on the site and I type in "login", it alerts...
2
by: ericlangland | last post by:
Hi, I have a small managed code application (windows forms) that executes on startup and immidiatly minimizes to the system tray. It launches and shows the form when I double click it's small...
3
by: =?Utf-8?B?QmVybmFyZG8gU2FsYXphciBuZXdi?= | last post by:
Hi everybody... i need help with this issue: i have a textbox control with the focus. at side, i have a datagridview control populated with some data. i need to control behavior of dgv control...
2
by: TamusJRoyce | last post by:
I was curious if there is an easy way, besides making a new custom DataGridViewColumn, that on each keystroke validation is done (while the D.G.V.TextBoxCell is being edited), instead of when focus...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.