Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to press the space bar with send keys method
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi Forum,

I want to press CTRL+Space bar in my application. For CTRL i can use ^ this symbol. But for Space bar i couldn't see any character even in QTP Help also. Is there any body knowing that, how to send the space bar to the send keys method.

Thanks in advance,
Hari Prasad.
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Use the Type method
Code:
Browser("Untitled").Dialog("Internet Options").WinCheckBox("Internet Explorer").Type " "
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Try this:

Code:
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys " "
Reply
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
Thanks Anshoo.
I got it in some another way ie., i used Type method something like Type micCtrl &" " and i achieved this. Thanks once again.
Reply
#5
Solved: 11 Years, 3 Months, 4 Weeks ago
Most welcome
Reply
#6
Solved: 11 Years, 3 Months, 4 Weeks ago
(05-09-2008, 11:22 AM)Hari Prasad Wrote: Thanks Anshoo.
I got it in some another way ie., i used Type method something like Type micCtrl &" " and i achieved this. Thanks once again.

Thanks Hari Prasad,

Its working fine
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Take Entire screen shot including scroll bar. venkatesh9032 0 1,866 12-26-2016, 06:14 PM
Last Post: venkatesh9032
  UFT does not recognize IE9 download bar akilamurugesh 1 3,610 02-11-2015, 08:43 PM
Last Post: Kirill
  Facing issue with Java Table to press Enter Key from Keyboard Nasir Ahmed 0 4,533 05-23-2014, 08:05 PM
Last Post: Nasir Ahmed
  Unable to send an email from Outlook which is already opened as draft attiliv 0 2,239 03-24-2013, 11:14 AM
Last Post: attiliv
  send arguments to qtp hadar 0 1,963 02-04-2013, 10:15 PM
Last Post: hadar

Forum Jump:


Users browsing this thread: 2 Guest(s)