|
-
August 17th, 2009, 10:45 AM
#1
Getting Keypress on timer
Hiya,
Just wondered, does anyone know how to get the ascii of a key press on a timer.
thanks in advance
-
August 17th, 2009, 02:47 PM
#2
Re: Getting Keypress on timer
Ascii of a keypress can be retrieved using a KeyPress event handler, not in the timer.
Do you want to get ascii of keys pressed even when your application is not in focus?
-
August 17th, 2009, 03:34 PM
#3
Re: Getting Keypress on timer
Yes, basically i have made this program ages ago which simply allows me to look at a drop down list and select a program i want to open. Unfortunately constant changing of programs means its quicker to go to the start menu. Therefore i tried to think of a better way and i wanted to know if there was a way so that when i do a certain key combination, my form which is minimized will be able to open the program i want. For example when i press ctrl + F then Flash CS4 will open etc.
Thanks in advance
-
August 17th, 2009, 03:53 PM
#4
Re: Getting Keypress on timer
Have you looked at a much simpler way of creating shortcuts in Windows and assigning a specific shortcut key to these?
-
August 17th, 2009, 04:06 PM
#5
Re: Getting Keypress on timer
Yes and there are ways but i like to try and make programs myself which can do random things just for good practice. for example i did a silly program which turned pictures into text, there was no need for it i just like to learn how.
Thanks
-
August 18th, 2009, 12:16 AM
#6
Re: Getting Keypress on timer
Post the code. It could help someone else!
-
August 18th, 2009, 03:41 AM
#7
Re: Getting Keypress on timer
For which program would you like the code??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|