Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem in implementing the keyboard inputs
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
Iam want to do keyboard operations

"ctrl+down" and "shift"

I am trying the below code.
Code:
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "{CTRL + }"
WshShell.SendKeys "{DOWN}"
WshShell.SendKeys "{SHIFT}"
Set WshShell = Nothing
iam getting error message, invalid call or procedure.
Any help will be really appreciated.
Regards;
Vijay
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
try
Code:
WshShell.SendKeys "^{DOWN}"
WshShell.SendKeys "+"

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Emulating keyboard actions in MS Edge Browser with UFT 14.03 Sekhar9999 0 997 06-19-2018, 07:20 PM
Last Post: Sekhar9999
  Facing issue with Java Table to press Enter Key from Keyboard Nasir Ahmed 0 4,522 05-23-2014, 08:05 PM
Last Post: Nasir Ahmed
  Keyboard input in script Anurag Tygai 1 2,741 12-24-2013, 06:03 PM
Last Post: sshukla12
  Keyboard operations Rajesh 3 3,946 03-04-2008, 09:57 PM
Last Post: FredMan

Forum Jump:


Users browsing this thread: 1 Guest(s)