I am investigating the use of Attachmate Extra and would like to know how to send functions keys using sendkeys.. I have tried @E which passes an <enter> however, I have been unsuccessful in sending functions keys.
You should be able to use the code as shown below to send any set of keys ie mimic written text or as you mention send function keys PF1 to PF24. I've not found any short cuts like the @e for enter.
"@c" in the example is PF12. The functions keys PF1-PF9 are basically @ plus the numbers 1-9, and for PF10 and above you use the letters a-o.
This link contains a table of the codes for function keys, and other keys using the HLLAPI (scroll to the bottom of the page when you get there):
Hi tazhelp,
I have trouble with sending the .sendkeys("<Enter>"). Did you find out how to send this "Enter" key?
Other keys works like "BackSpace", "Home", .....
If you can send "Enter" please help
Thanks'
Pal.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.