SendKeys method and keypad 
Author Message
 SendKeys method and keypad

With WSH 2.0, I wish to use sendkeys to drive an application which
responds to the keypad enter key and ignores the usual enter key.

As documented, no distinction is made between the two variants of the
following: ARROWS, digits, DEL or DELETE, END, ENTER, HOME, INS or
INSERT, PAGE DOWN, PAGE UP and possibly others!

Some of the following may not apply:
  Please point me at some magic to make such distinctions?
  Please explain the lack of documentation.
  Please explain the lack of capability.
--
Walter Briscoe



Sun, 22 Sep 2002 03:00:00 GMT  
 SendKeys method and keypad
If you look in MSDN under "Virtual-Key Codes" (in the Platform SDK: User
Interface section), you'll see a complete list of the key codes that we
could allow you to send. There is a way to distinguish between the
above-the-keyboard digits and the numeric keypad digits, but nothing for the
rest of the items you mention. When SendKeys was originally implemented in
VB, they chose a subset of the available key codes that would satisfy a
majority of the needs of users while being simple to understand. We
basically copied the VB implementation for the WSH version, so we used the
same subset.

As for the "lack of documentation" - I consider this pseudo-documented. The
docs don't indicate a way to do it because there isn't a way to do it. We
don't document everything that our products don't do, and if you think about
it, we can't - there are too many things you might want to try. We try to
point out some of the more obvious ones, like SendKeys not handling "Print
Screen", or the fact that you can't use it for applications not designed to
run under Windows. I understand that when you're looking for a solution, the
piece of information you need may seem obvious at the time, but that doesn't
mean it seemed obvious to us when we wrote the docs. The best solution when
you're unsure of something in the documentation is to do what you just did:
ask somebody - search the KB, call PSS, or ask here, as the regulars
contributors do a great job of keeping track of these things (Michael Harris
comes to mind as one good example of the several excellent people I'm
thinking of). If it's an implementation detail that's causing the problem,
I'm always lurking and will respond if I think no one else will (or when I'm
in a chatty mood 8) ).

Mike Whalen
Windows Script Dev


Quote:
> With WSH 2.0, I wish to use sendkeys to drive an application which
> responds to the keypad enter key and ignores the usual enter key.

> As documented, no distinction is made between the two variants of the
> following: ARROWS, digits, DEL or DELETE, END, ENTER, HOME, INS or
> INSERT, PAGE DOWN, PAGE UP and possibly others!

> Some of the following may not apply:
>   Please point me at some magic to make such distinctions?
>   Please explain the lack of documentation.
>   Please explain the lack of capability.
> --
> Walter Briscoe



Sun, 22 Sep 2002 03:00:00 GMT  
 SendKeys method and keypad
Thank you for a useful response.



Quote:
>If you look in MSDN under "Virtual-Key Codes" (in the Platform SDK: User
>Interface section), you'll see a complete list of the key codes that we
>could allow you to send. There is a way to distinguish between the

Can you please explain why. I had inferred that you were sending WM_CHAR messages
without sending corresponding WM_KEYDOWN, WM_KEYUP etc. messages. I hacked
Petzold's keyview1.c to show otherwise.

I was surprised to find that those messages you send do not set a scan code in
HIWORD(lParam). My deficient understanding is that such messages do not comply
with the interface. You may note the differences in handling "a".

Message        Key    Char     Repeat Scan Ext ALT Prev Tran .wParam    .lParam
WM_KEYDOWN     65 A                 1   30  No  No   Up Down 0x00000041 0x001e0001
WM_CHAR               0x0061 a      1   30  No  No   Up Down 0x00000061 0x001e0001
WM_KEYUP       65 A                 1   30  No  No   Up Down 0x00000041 0xc01e0001
WM_KEYDOWN     65                   1    0  No  No   Up Down 0x00000041 0x00000001
WM_CHAR               0x0061 a      1    0  No  No   Up Down 0x00000061 0x00000001
WM_KEYUP       65                   1    0  No  No   Up Down 0x00000041 0xc0000001

There may be inaccuracies above. I transcribed the text due to lack of
support for cutting and pasting!

Quote:
>above-the-keyboard digits and the numeric keypad digits, but nothing for the
>rest of the items you mention. When SendKeys was originally implemented in
>VB, they chose a subset of the available key codes that would satisfy a
>majority of the needs of users while being simple to understand. We
>basically copied the VB implementation for the WSH version, so we used the
>same subset.

I read that as "It is old code we have not visited for a while and would
prefer to forget"

Quote:

>As for the "lack of documentation" - I consider this pseudo-documented. The
>docs don't indicate a way to do it because there isn't a way to do it. We
>don't document everything that our products don't do, and if you think about
>it, we can't - there are too many things you might want to try. We try to
>point out some of the more obvious ones, like SendKeys not handling "Print
>Screen", or the fact that you can't use it for applications not designed to

I would value an explanation for not supporting "Print Screen". I am
not terribly surprised as - on this machine - it only produces a
WM_KEYUP message.

Quote:
>run under Windows. I understand that when you're looking for a solution, the
>piece of information you need may seem obvious at the time, but that doesn't
>mean it seemed obvious to us when we wrote the docs. The best solution when
>you're unsure of something in the documentation is to do what you just did:
>ask somebody - search the KB, call PSS, or ask here, as the regulars
>contributors do a great job of keeping track of these things (Michael Harris
>comes to mind as one good example of the several excellent people I'm
>thinking of). If it's an implementation detail that's causing the problem,
>I'm always lurking and will respond if I think no one else will (or when I'm
>in a chatty mood 8) ).

I have learned in a short time to value your contributions and those of
Michael Harris - particularly when I am searching Dejanews
( http://www.deja.com/home_ps.shtml ) which I usually do before I start
a thread.
[snip]
Quote:



>> With WSH 2.0, I wish to use sendkeys to drive an application which
>> responds to the keypad enter key and ignores the usual enter key.

>> As documented, no distinction is made between the two variants of the
>> following: ARROWS, digits, DEL or DELETE, END, ENTER, HOME, INS or
>> INSERT, PAGE DOWN, PAGE UP and possibly others!

>> Some of the following may not apply:
>>   Please point me at some magic to make such distinctions?

I now understand there is none and am unhappy about it.
Quote:
>>   Please explain the lack of documentation.

I would now say that it is documented at a high level which meets
the needs of most users.
Quote:
>>   Please explain the lack of capability.

I understand that is history.

Quote:
>> --
>> Walter Briscoe

Am I write in thinking that sendkeys is not internationalised.
e.g. it is of little use in driving applications where accented letters
are needed. (I have no ability to produce such letters as it has not been
considered necessary for users of British keyboards)

Thanks again for shedding light on this and other questions.
--
Walter Briscoe



Mon, 23 Sep 2002 03:00:00 GMT  
 SendKeys method and keypad

The best response I can give for pretty much all of this is "that's what VB
does". The spec for this method was to duplicate the VB SendKeys statement.
There was one parameter in the VB statement that didn't make sense in
script - if you use an object viewer, you'll notice we accept that parameter
anyway (it is ignored).

In this case, going back and fixing any deficiencies in the VB version was
not a concern. Whenever we implement a VB function/statement/method/whatever
in either VBS or WSH, we like it to work exactly the way it did in VB. This
way, a VB dev can simply cut and paste code back and forth between scripts
and VB projects. Sure, they need to add the shell object in their script,
but that's simple. Going through a cryptic set of key codes and looking for
the ones that won't work in VB is a much harder task.

Mike Whalen
Windows Script Dev


Quote:
> Thank you for a useful response.



writes
> >If you look in MSDN under "Virtual-Key Codes" (in the Platform SDK: User
> >Interface section), you'll see a complete list of the key codes that we
> >could allow you to send. There is a way to distinguish between the

> Can you please explain why. I had inferred that you were sending WM_CHAR
messages
> without sending corresponding WM_KEYDOWN, WM_KEYUP etc. messages. I hacked
> Petzold's keyview1.c to show otherwise.

> I was surprised to find that those messages you send do not set a scan
code in
> HIWORD(lParam). My deficient understanding is that such messages do not
comply
> with the interface. You may note the differences in handling "a".

> Message        Key    Char     Repeat Scan Ext ALT Prev Tran .wParam
.lParam
> WM_KEYDOWN     65 A                 1   30  No  No   Up Down 0x00000041
0x001e0001
> WM_CHAR               0x0061 a      1   30  No  No   Up Down 0x00000061
0x001e0001
> WM_KEYUP       65 A                 1   30  No  No   Up Down 0x00000041
0xc01e0001
> WM_KEYDOWN     65                   1    0  No  No   Up Down 0x00000041
0x00000001
> WM_CHAR               0x0061 a      1    0  No  No   Up Down 0x00000061
0x00000001
> WM_KEYUP       65                   1    0  No  No   Up Down 0x00000041
0xc0000001

> There may be inaccuracies above. I transcribed the text due to lack of
> support for cutting and pasting!

> >above-the-keyboard digits and the numeric keypad digits, but nothing for
the
> >rest of the items you mention. When SendKeys was originally implemented
in
> >VB, they chose a subset of the available key codes that would satisfy a
> >majority of the needs of users while being simple to understand. We
> >basically copied the VB implementation for the WSH version, so we used
the
> >same subset.

> I read that as "It is old code we have not visited for a while and would
> prefer to forget"

> >As for the "lack of documentation" - I consider this pseudo-documented.
The
> >docs don't indicate a way to do it because there isn't a way to do it. We
> >don't document everything that our products don't do, and if you think
about
> >it, we can't - there are too many things you might want to try. We try to
> >point out some of the more obvious ones, like SendKeys not handling
"Print
> >Screen", or the fact that you can't use it for applications not designed
to

> I would value an explanation for not supporting "Print Screen". I am
> not terribly surprised as - on this machine - it only produces a
> WM_KEYUP message.

> >run under Windows. I understand that when you're looking for a solution,
the
> >piece of information you need may seem obvious at the time, but that
doesn't
> >mean it seemed obvious to us when we wrote the docs. The best solution
when
> >you're unsure of something in the documentation is to do what you just
did:
> >ask somebody - search the KB, call PSS, or ask here, as the regulars
> >contributors do a great job of keeping track of these things (Michael
Harris
> >comes to mind as one good example of the several excellent people I'm
> >thinking of). If it's an implementation detail that's causing the
problem,
> >I'm always lurking and will respond if I think no one else will (or when
I'm
> >in a chatty mood 8) ).

> I have learned in a short time to value your contributions and those of
> Michael Harris - particularly when I am searching Dejanews
> ( http://www.deja.com/home_ps.shtml ) which I usually do before I start
> a thread.
> [snip]



> >> With WSH 2.0, I wish to use sendkeys to drive an application which
> >> responds to the keypad enter key and ignores the usual enter key.

> >> As documented, no distinction is made between the two variants of the
> >> following: ARROWS, digits, DEL or DELETE, END, ENTER, HOME, INS or
> >> INSERT, PAGE DOWN, PAGE UP and possibly others!

> >> Some of the following may not apply:
> >>   Please point me at some magic to make such distinctions?
> I now understand there is none and am unhappy about it.
> >>   Please explain the lack of documentation.
> I would now say that it is documented at a high level which meets
> the needs of most users.
> >>   Please explain the lack of capability.
> I understand that is history.
> >> --
> >> Walter Briscoe

> Am I write in thinking that sendkeys is not internationalised.
> e.g. it is of little use in driving applications where accented letters
> are needed. (I have no ability to produce such letters as it has not been
> considered necessary for users of British keyboards)

> Thanks again for shedding light on this and other questions.
> --
> Walter Briscoe



Fri, 27 Sep 2002 03:00:00 GMT  
 SendKeys method and keypad


writes
Quote:

>The best response I can give for pretty much all of this is "that's what VB
>does". The spec for this method was to duplicate the VB SendKeys statement.
>There was one parameter in the VB statement that didn't make sense in
>script - if you use an object viewer, you'll notice we accept that parameter
>anyway (it is ignored).

[snip]
I accept what you say. I suppose there is no interest in enhancing the
sendkeys method? e.g. Recognise something like {KEYB_ENTER}. Of course,
that would not handle my difficulty unless you placed scan codes in your
messages. I expect that you would then find applications which use scan
codes to select different behavior as a feature and whose users are
happy with the current behavior.

I am quite happy to live with half a loaf while pointing out to the
baker that some rising agent seems to have been omitted. 'Passover!'
might be a reasonable response. :)
--
Walter Briscoe



Sat, 28 Sep 2002 03:00:00 GMT  
 SendKeys method and keypad

Quote:
> Can you please explain why. I had inferred that you were
> sending WM_CHAR messages without sending corresponding
> WM_KEYDOWN, WM_KEYUP etc. messages. I hacked Petzold's
> keyview1.c to show otherwise.

You cannot do it this way because you are breaking the rules. Every
application can expect to get messages using the sequence defined by the
system. If you are sending only WM_CHAR messages to a specific
application, it may work. But it doesn't work in any case. So it's not a
suitable way for a generic method like SendKeys.

Quote:
> I was surprised to find that those messages you send do
> not set a scan code in HIWORD(lParam). My deficient
> understanding is that such messages do not comply with
> the interface.

Sending scan codes is conceptually a bad idea although it doesn't cause
problems. Look at the MSDN doc which describs the keyboard model on the
first pages. Scan codes are device dependent (although on a standard PC
they are all the same which is forced by special hardware, the 8042
chip). But Windows is not PC: I'm writing this using a Unix keyboard
(funnily with 22 function keys - no typo, 22, not 24). Virtual key codes
are needed to introduce device independency. System calls translating
keycodes like ToUnicode() typically ignore scan codes as long as a
virtual key code is present. It doesn't matter whether you are setting
the scan code, too.

Quote:
> Am I write in thinking that sendkeys is not
> internationalised. e.g. it is of little use in driving
> applications where accented letters are needed. (I have
> no ability to produce such letters as it has not been
> considered necessary for users of British keyboards)

There is no such thing as an international keyboard. The whole story is
completely independent from internationalization. That's done by a layer
above the virtual keycodes: the keyboard layout (see p.e. Win32 API
LoadKeyboardLayout). That's ok because there may be different layouts on
the same keyboard. I guess you do not use it, but most developers in
Germany have both english and german layout installed - you can switch
between two layouts by a hotkey. On the german keyboards, the key
labeled "Z" is "Y" using the english layout and vice versa, all other
letters are the same. (BTW: The layout switches the char code  a n d
the virtual key code - "Z" is "Z", regardless what is printed on the
keycaps.) Umlaute on a german keyboard are found on some dedicated keys.
Other european characters are buld by keystroke sequences like pressing
"^" followed by pressing "a" which creates the french accented letter
"a".

Quote:
> I would value an explanation for not supporting
> "Print Screen". I am not terribly surprised as -
> on this machine - it only produces a WM_KEYUP message.

That's a point I can't understand, too. Implementing the "Print Screen"
with SendKeys is simple, and I don't see any reason why it wasn't done.
(If you ignore the "gourmet problem" - so we call problems like this -
how to get a hardcopy and to be sure the caret is not in the bitmap.)

Quote:
> As documented, no distinction is made between the
> two variants of the following: ARROWS, digits, DEL
> or DELETE, END, ENTER, HOME, INS or INSERT, PAGE
> DOWN, PAGE UP and possibly others!

That's an old story. The keys you've mentioned are called extended keys
because the were introduced with IBM's extended keyboard for the XT
(which is "extended technology" - if anything is not extended, it is
advanced, or (NT!) new). To distinguish the new keys from the old, IBM
decided to set a marker on the new keys. So the new ENTER key on the
keypad was able to get the same code as the old ENTER key. The marker is
a prefix byte, 0xE0 (224), which is send by the keyboard processor
directly before the scan code. Since the first version of Windows,
Microsoft translates the presence of an extended key prefix to bit 24 of
the lParam of the WM_KEYDOWN, WM_CHAR, and WM_KEYUP messages. You may
set it but I do not know about any system component nor about any
application which interprets it.

Because you've cried loud for it, I've build it into my WScriptEx object
for which I'll send the next version out tomorrow so you may write
process.SendKeys("{Extd ENTER}"). But I think there's no use for it. For
the Extd modifier, not for the rest of WScriptEx ;-)

Quote:
> I read that as "It is old code we have not visited for
> a while and would prefer to forget"

That's not fair. Mike's point is: It doesn't matter whether the code is
good or bad, it's there, and people know how to use it. And it's much
cheaper to build on an existing code base than to do a complete rework.
Even if you decide to do a complete rework it's difficult to design a
better interface while retaining those parts which are proven to work
well (integrate mouse actions into the keystroke sequence, blocking the
user while sending, finding reliable replacements for AppActivate, ...).
And it's also a matter of time. As noted above: I've reimplemented it. I
estimated it needs about 100 hours - for a single method! That's far
more than any other part of WScriptEx.

And to Mike:

Quote:
> As for the "lack of documentation" - I consider
> this pseudo-documented. The docs don't indicate
> a way to do it because there isn't a way to do it.
> We don't document everything that our products
> don't do, and if you think about it, we can't -
> there are too many things you might want to try.
> We try to point out some of the more obvious ones,
> like SendKeys not handling "Print Screen", or the
> fact that you can't use it for applications not
> designed to run under Windows.

Until today I thought the doc is unacceptable but now I feel converted,
you've done the job: That's no real doc, it's a pseudo-doc ;-)

And, btw, there are docs like the Win32 doc which do not point out what
doesn't work. Instead they clearly point out what's going on so you get
the feeling what you can't do. Using the WSH doc, I'm happy about any
remarks what doesn't work because it helps understanding what's going
on. It's the weakest part around the product today.

Greetings from Zrich   Uwe



Sat, 16 Nov 2002 03:00:00 GMT  
 SendKeys method and keypad



I would have read the following article which DOES have a header
Xref: news.demon.co.uk microsoft.public.scripting.wsh:21890
more easily if it had started with some text like

11:26:44 in microsoft.public.scripting.wsh, Walter Briscoe

Quote:

>    > Can you please explain why. I had inferred that you were
>    > sending WM_CHAR messages without sending corresponding
>    > WM_KEYDOWN, WM_KEYUP etc. messages. I hacked Petzold's
>    > keyview1.c to show otherwise.

>    You cannot do it this way because you are breaking the rules. Every
>    application can expect to get messages using the sequence defined
>    by the system. If you are sending only WM_CHAR messages to a
>    specific application, it may work. But it doesn't work in any case.
>    So it's not a suitable way for a generic method like SendKeys.

I did not suggest that Sendkeys should send WM_CHAR messages without
WM_KEYDOWN etc. I found behavior which I could not explain. I advanced a
hypothesis. I proved it was false. I shared that knowledge.
I do not understand the purpose of your words.

Quote:

>    > I was surprised to find that those messages you send do
>    > not set a scan code in HIWORD(lParam). My deficient
>    > understanding is that such messages do not comply with
>    > the interface.

>    Sending scan codes is conceptually a bad idea although it doesn't
Why?
>    cause problems. Look at the MSDN doc which describs the keyboard
URL?
>    model on the first pages. Scan codes are device dependent (although
>    on a standard PC they are all the same which is forced by special
>    hardware, the 8042 chip). But Windows is not PC: I'm writing this

'Windows is not PC'?

Quote:
>    using a Unix keyboard (funnily with 22 function keys - no typo, 22,
>    not 24). Virtual key codes are needed to introduce device
>    independency. System calls translating keycodes like ToUnicode()
>    typically ignore scan codes as long as a virtual key code is
>    present. It doesn't matter whether you are setting the scan code,
>    too.

I agree that it should not matter. I use a deficient application to
which it does matter.

The next quote is out of order with respect to its position in

Quote:
>    > Am I write in thinking that sendkeys is not

How did I write 'write' when 'right' was intended?
Quote:
>    > internationalised. e.g. it is of little use in driving
>    > applications where accented letters are needed. (I have
>    > no ability to produce such letters as it has not been
>    > considered necessary for users of British keyboards)

>    There is no such thing as an international keyboard. The whole
>    story is completely independent from internationalization. That's
>    done by a layer above the virtual keycodes: the keyboard layout
>    (see p.e. Win32 API LoadKeyboardLayout). That's ok because there
>    may be different layouts on the same keyboard. I guess you do not
>    use it, but most developers in Germany have both english and german
>    layout installed - you can switch between two layouts by a hotkey.
>    On the german keyboards, the key labeled "Z" is "Y" using the
>    english layout and vice versa, all other letters are the same.
>    (BTW: The layout switches the char code? a n d? the virtual key
>    code - "Z" is "Z", regardless what is printed on the keycaps.)
>    Umlaute on a german keyboard are found on some dedicated keys.
>    Other european characters are buld by keystroke sequences like
>    pressing "^" followed by pressing "a" which creates the french
>    accented letter "a".

I do not understand how your answer relates to my question.
Could you send u with an umlaut or c with a cedilla with VBScript or
would you have to rely on characteristics of the keyboard driver.

I would appreciate a description of the loading of more than one
keyboard driver and swapping between them. (I sometimes need to write
French and dislike omitting the cedilla in Francais.) The American
keyboard driver supports access to accented to accented characters as
sequences of keys. I use British keyboards and adapt to the new
imperialism as best I can. (I value the irony.)

Quote:

>    > I would value an explanation for not supporting
>    > "Print Screen". I am not terribly surprised as -
>    > on this machine - it only produces a WM_KEYUP message.

>    That's a point I can't understand, too. Implementing the "Print
>    Screen" with SendKeys is simple, and I don't see any reason why it
>    wasn't done. (If you ignore the "gourmet problem" - so we call
>    problems like this - how to get a hardcopy and to be sure the caret
>    is not in the bitmap.)

"gourmet problem" + 'caret is not in the bitmap' ?

- Show quoted text -

Quote:

>    > As documented, no distinction is made between the
>    > two variants of the following: ARROWS, digits, DEL
>    > or DELETE, END, ENTER, HOME, INS or INSERT, PAGE
>    > DOWN, PAGE UP and possibly others!

>    That's an old story. The keys you've mentioned are called extended
>    keys because the were introduced with IBM's extended keyboard for
>    the XT (which is "extended technology" - if anything is not
>    extended, it is advanced, or (NT!) new). To distinguish the new
>    keys from the old, IBM decided to set a marker on the new keys. So
>    the new ENTER key on the keypad was able to get the same code as
>    the old ENTER key. The marker is a prefix byte, 0xE0 (224), which
>    is send by the keyboard processor directly before the scan code.
>    Since the first version of Windows, Microsoft translates the
>    presence of an extended key prefix to bit 24 of the lParam of the
>    WM_KEYDOWN, WM_CHAR, and WM_KEYUP messages. You may set it but I do
>    not know about any system component nor about any application which
>    interprets it.

I use a glass teletype email program which has such a feature.
I quote from the 'about help'
eNetwork Personal Communications Network Program Version 4.3 for Windows
95, Windows 98, and Windows NT ... IBM Corp.

It is not drivable by vbscript as it responds to the numeric keypad
enter key and ignores the enter key on the main body of the keyboard.

Quote:

>    Because you've cried loud for it, I've build it into my WScriptEx
>    object for which I'll send the next version out tomorrow so you may
>    write process.SendKeys("{Extd ENTER}"). But I think there's no use
>    for it. For the Extd modifier, not for the rest of WScriptEx ;-)

Thank you for your kind efforts. URL?
The message I quote omitted to quote. I do so to put Uwe's words in
context.



writes

Quote:
>above-the-keyboard digits and the numeric keypad digits, but nothing for the
>rest of the items you mention. When SendKeys was originally implemented in
>VB, they chose a subset of the available key codes that would satisfy a
>majority of the needs of users while being simple to understand. We
>basically copied the VB implementation for the WSH version, so we used the
>same subset.
>    > I read that as "It is old code we have not visited for
>    > a while and would prefer to forget"

I may owe an apology to Mike Whalen. I admit I may be wrong.

- Show quoted text -

Quote:
>    That's not fair. Mike's point is: It doesn't matter whether the
>    code is good or bad, it's there, and people know how to use it. And
>    it's much cheaper to build on an existing code base than to do a
>    complete rework. Even if you decide to do a complete rework it's
>    difficult to design a better interface while retaining those parts
>    which are proven to work well (integrate mouse actions into the
>    keystroke sequence, blocking the user while sending, finding
>    reliable replacements for AppActivate, ...). And it's also a matter
>    of time. As noted above: I've reimplemented it. I estimated it
>    needs about 100 hours - for a single method! That's far more than
>    any other part of WScriptEx.
Ouch!

>    And to Mike:

>    > As for the "lack of documentation" - I consider
>    > this pseudo-documented. The docs don't indicate
>    > a way to do it because there isn't a way to do it.
>    > We don't document everything that our products
>    > don't do, and if you think about it, we can't -
>    > there are too many things you might want to try.
>    > We try to point out some of the more obvious ones,
>    > like SendKeys not handling "Print Screen", or the
>    > fact that you can't use it for applications not
>    > designed to run under Windows.

>    Until today I thought the doc is unacceptable but now I feel
>    converted, you've done the job: That's no real doc, it's a
>    pseudo-doc ;-)

>    And, btw, there are docs like the Win32 doc which do not point out
>    what doesn't work. Instead they clearly point out what's going on
>    so you get the feeling what you can't do. Using the WSH doc, I'm
>    happy about any remarks what doesn't work because it helps
>    understanding what's going on. It's the weakest part around the
>    product today.

>    Greetings from Zrich?? Uwe

I agree that documentation is the weakest part of WSH doc and would
extend that to those Microsoft products I use. I think the biggest
difficulty is that the documentation scheme is inadequately structured.
Beautifully crafted needles are put in haystacks.
When I work in a Unix environment, I search text and find the relevant
references. I could probably download the developer kit to unpack .CHM
documents but it is a lot of work to do that and I am insufficiently
motivated.
Invalidating URL's is a joke that Microsoft plays on us ...

read more »



Sat, 16 Nov 2002 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Using Sendkeys Method to Automate another program

2. Using the Sendkeys Method for Automating an application

3. SendKeys method

4. Sendkeys: method not supported

5. SendKeys method to a minimized application

6. SendKeys Method without being Visible

7. sendkeys method and unicode characters

8. Alternative to SendKeys method

9. VB call to JScript method returns method's source

10. Sendkeys

11. SendKeys cannot close DOS window.

12. SendKeys cannot close DOS window.

 

 
Powered by phpBB® Forum Software