12-22-2008, 05:12 PM
How to return the ASCII value of Functional Keys
e.g: F11, F2 .... etc.,
e.g: F11, F2 .... etc.,
|
Ascii values
|
|
12-22-2008, 05:12 PM
How to return the ASCII value of Functional Keys
e.g: F11, F2 .... etc.,
12-22-2008, 11:25 PM
Asc("F11"), Asc("F2")...etc.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
12-23-2008, 03:04 PM
Hi ,
Use "Asc" built-in function ; Code: For i=1 to 12
funct_key= "F"&i
msgbox Asc(funct_key)
Next
12-24-2008, 11:31 AM
Thank You ankur for reply,
But This is not working.....! As per your code it is returning a ASCII value of "F" not "F11"...., for all Functional keys .. it is returning same value "70" i.e, ASCII value of "F"... check this print asc("`") --> 126 print asc("~") --> 96 These two are getting different ascii value for single key in keyboard... bcoz they are special char's not a functioning keys or char's. I hope for function keys also contain some ASCII Value.
12-24-2008, 11:32 AM
Hello,
This loop returning all 70's... it is a ascii value of "F"
01-03-2009, 03:51 PM
Hello Ankur...
I was waiting very eagerly for your reply, but I didn't get.... here is the answer... I was already given a hint, but you didn't given any answer. ASCII Value is available for only characters not for keys... --> I given that "~,` " these two characters have different ASCII Values but it is single key, Functional Keys doesn't contain any Characters.... So....! It doesn't Contain ASCII Values... Thank You... Baba Fakruddin
01-06-2009, 02:02 PM
Sorry Ankur, do not think like that... Once I get the question in my mind I will try in all the ways to clear that... here in your site and also in many sites... not only in sites but also from my side... until unless I found the answer for my question I can't feel good...
Once I got answer for my question I will share... and I will answer for my question in thread. If any body gives exact answer I will try to take additional information from that answer. Plz do not think that I was already know the answer before posting the thread. thank you for reply.. Baba Fakruddin.D |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Removing ASCII Control Characters from a file | Nithin | 0 | 6,022 |
09-30-2013, 11:45 PM Last Post: Nithin |
|
| Ascii Characters Appear while typing in Test Page | SaiJyothsana | 2 | 3,453 |
11-10-2010, 04:52 PM Last Post: SaiJyothsana |
|
| How to compare local sheet values with run time data table values? | test71 | 2 | 9,125 |
03-14-2008, 07:09 PM Last Post: test71 |
|