Click here to Skip to main content
15,886,075 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!
So, I'm kinda new to programming, but I want to start out with creating a program that can bind my password, email etc so i just can press it and it enters my email.

Like this:

F1 + 'xxx@hotmail.com'

And when i press F1 it will type my 'xxx@hotmail.com'

Regards

[Edit]Code block formatting removed[/Edit]
Posted
Updated 24-Dec-12 5:20am
v2
Comments
Thomas Daniels 24-Dec-12 11:21am    
Which programming language do you use?
Luan Mollakuqe 24-Dec-12 11:23am    
C#
Thomas Daniels 24-Dec-12 11:24am    
Thanks.
Akinmade Bond 24-Dec-12 12:29pm    
Take a look at http://www.codeproject.com/Articles/20988/Clipboard-little-helper

and http://www.codeproject.com/Articles/442285/Global-Shortcuts-in-WinForms-and-WPF
Luan Mollakuqe 25-Dec-12 4:33am    
Thank you very much!

1 solution

Hi!

You should use the SendKeys. It simulates the keyboard presses.

C++
SendKeys.Send("xxx@hotmail.com");


The only problem is, how will you get information if F1 key is pressed. If your aplication is not focused that could not work. You should try, I'm not sure about this.

Regards!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900