Newsgroups: microsoft.public.scripting.vbscript
From: "Pegasus [MVP]" <n...@microsoft.com>
Date: Wed, 28 Oct 2009 12:01:51 +0100
Local: Wed, Oct 28 2009 11:01 am
Subject: Re: How do i send CTRL + * in the sendkeys method
news:ff936c6f-af0f-4bc4-9e9a-f32f1fdf6895@n22g2000yqh.googlegroups.com...
On Oct 27, 4:31 pm, "Paul Randall" <paulr...@cableone.net> wrote: > "Harish_Sasikumar" <harishsasiku...@gmail.com> wrote in message Yes, i did go through msdn but it never specifically gave an example > news:22b81c73-7e8d-4c03-8f2d-52e887d8240a@s15g2000yqs.googlegroups.com... > > Hi, > > I am required to use keystrokes for the purpose of Test automation > > Set oShell = CreateObject("WScript.Shell") > Have you tried looking for information in the scripting help file, > If you don't have the help file on your system, download it through the > -Paul Randall to send the Ctrl and asterisk combination if u have noted, asterisk is placed on the upper part,below it is 8.For which the sendkey method doesnt take asterisk.I did try "^8", it worked. But i am not sure if its the correct approach. -HS ============= Here is the relevant text from script56.chm: To send keyboard characters that are comprised of a regular keystroke in Key Special Character As you see, it says specifically "precede the regular keystroke with ^", You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||