Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

emulating Function key say F4

Status
Not open for further replies.

kotharikailash

Programmer
Oct 13, 2009
11
0
0
IN
Keyboard xxx is command used to emulate read. I want to stuff function key codes say F4(which is -40?) in keyboard. How to do it?
 
I think F4 is -3

I also *think* you would want to do this:

Keyboard chr(-3)

BUT that won't work, as the keyboard instruction probably not interpret chr(-3) very well (chr() only works for 0-255)

Do you have a setkey set?



Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top