Home All Groups Group Topic Archive Search About

See the $99.00 Sendkeys replacment?

Author
24 Nov 2007 11:05 PM
Kevin Provance
In light of Karl's recent success (and genius) with the SendKeys
replacement, I thought it would be humourous to share this:  Some wiseguy
thought he would do the same thing, package it up as an ActiveX DLL and
charge for it.

http://www.m8software.com/developer/keysend/sendkey.htm

For $99.00, you get the source code for the exact same thing Karl did for
free.

The one thing I did notice as that this guy claims to have implemented the
"wait" parameter.  I scoured the net to see if anyone was brave enough to
violate this dude's license agreement and post the code, but alas none was
to be found.

Anyone think we should all chip in, but the damned thing and post it?  I'd
go ten bucks for it...and I trust Karl enough to hold it in escrow (he could
use one of his PayPal pages to host it).  ;-)

- Kev

Author
25 Nov 2007 12:35 AM
Twayne
Kevin Provance wrote:
Show quote
> In light of Karl's recent success (and genius) with the SendKeys
> replacement, I thought it would be humourous to share this:  Some
> wiseguy thought he would do the same thing, package it up as an
> ActiveX DLL and charge for it.
>
> http://www.m8software.com/developer/keysend/sendkey.htm
>
> For $99.00, you get the source code for the exact same thing Karl did
> for free.
>
> The one thing I did notice as that this guy claims to have
> implemented the "wait" parameter.  I scoured the net to see if anyone
> was brave enough to violate this dude's license agreement and post
> the code, but alas none was to be found.
>
> Anyone think we should all chip in, but the damned thing and post it?
> I'd go ten bucks for it...and I trust Karl enough to hold it in
> escrow (he could use one of his PayPal pages to host it).  ;-)
>
> - Kev

lol, that's awfully tempting but there are too many of that ilk around to
start spending money on them.  IMO anyway.    Did you have a look at his
demo pkg?  Maybe what you want is there?
Author
25 Nov 2007 3:21 PM
PeterD
On Sat, 24 Nov 2007 18:05:50 -0500, "Kevin Provance"
<ca***@tpasoft.com> wrote:

> I scoured the net to see if anyone was brave enough to
>violate this dude's license agreement and post the code, but alas none was
>to be found.

Someone has to buy it first before they can tell 'all'... <bg>
Author
26 Nov 2007 12:13 AM
Michael C
Show quote
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:uju2N6uLIHA.3356@TK2MSFTNGP02.phx.gbl...
> In light of Karl's recent success (and genius) with the SendKeys
> replacement, I thought it would be humourous to share this:  Some wiseguy
> thought he would do the same thing, package it up as an ActiveX DLL and
> charge for it.
>
> http://www.m8software.com/developer/keysend/sendkey.htm
>
> For $99.00, you get the source code for the exact same thing Karl did for
> free.
>
> The one thing I did notice as that this guy claims to have implemented the
> "wait" parameter.  I scoured the net to see if anyone was brave enough to
> violate this dude's license agreement and post the code, but alas none was
> to be found.
>
> Anyone think we should all chip in, but the damned thing and post it?  I'd
> go ten bucks for it...and I trust Karl enough to hold it in escrow (he
> could
> use one of his PayPal pages to host it).  ;-)

WTF is everyone using SendKeys for? In 10+ years I haven't used it once. As
far as writing unreliable, buggy code goes you can't do much better than
sendkeys.

Michael
Author
26 Nov 2007 1:44 AM
Stefan Berglund
On Mon, 26 Nov 2007 11:13:28 +1100, "Michael C" <mike@nospam.com> wrote:
in <O6rsrE8LIHA.5***@TK2MSFTNGP05.phx.gbl>

>WTF is everyone using SendKeys for? In 10+ years I haven't used it once. As
>far as writing unreliable, buggy code goes you can't do much better than
>sendkeys.
>
>Michael
>

As far as troll material goes you must be having a really hard time
because nothing about this comment warrants such an oblique response.

---
Stefan Berglund
Author
26 Nov 2007 1:53 AM
Michael C
"Stefan Berglund" <sorry.no.kool***@for.me> wrote in message
news:s19kk35hptrd69i0db5bev83asu5dufioe@4ax.com...
> As far as troll material goes you must be having a really hard time
> because nothing about this comment warrants such an oblique response.

It's a fair question, why all this fuss about sendkeys?

Michael
Author
26 Nov 2007 4:43 PM
Randy Birch
AFAIAK, primarily to make the enter-act-like-tab work again in the IDE
without error under Vista. But I agree, in actual apps I've never used it
other than this.

Show quote
"Michael C" <mike@nospam.com> wrote in message
news:%23g7Jd88LIHA.4684@TK2MSFTNGP06.phx.gbl...
> "Stefan Berglund" <sorry.no.kool***@for.me> wrote in message
> news:s19kk35hptrd69i0db5bev83asu5dufioe@4ax.com...
>> As far as troll material goes you must be having a really hard time
>> because nothing about this comment warrants such an oblique response.
>
> It's a fair question, why all this fuss about sendkeys?
>
> Michael
>
Author
27 Nov 2007 10:27 PM
Karl E. Peterson
Randy Birch wrote:
> AFAIAK, primarily to make the enter-act-like-tab work again in the IDE
> without error under Vista. But I agree, in actual apps I've never used it
> other than this.

I think I also used it once to force a combo to drop when a certain form was opened.
It's rare, alright.
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
27 Nov 2007 10:54 PM
Mike Williams
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:OAgIBTUMIHA.1188@TK2MSFTNGP04.phx.gbl...

> I think I also used it once to force a combo to drop when
> a certain form was opened. It's rare, alright.

It's quite useful when you want a snapshot of the screen, where SendKeys
does not work even in XP, whereas Keybd_Event works fine in Win98 / XP /
Vista:

Call keybd_event(VK_SNAPSHOT, 0, 0, 0)
Call keybd_event(VK_SNAPSHOT, 0, 2, 0)

Mike
Author
27 Nov 2007 11:26 PM
Michael C
"Mike Williams" <mi***@whiskyandCoke.com> wrote in message
news:utpd3hUMIHA.3916@TK2MSFTNGP02.phx.gbl...
> It's quite useful when you want a snapshot of the screen, where SendKeys
> does not work even in XP, whereas Keybd_Event works fine in Win98 / XP /
> Vista:
>
> Call keybd_event(VK_SNAPSHOT, 0, 0, 0)
> Call keybd_event(VK_SNAPSHOT, 0, 2, 0)

I'd describe that as an abuse of send keys. Bitblt will get a screenshot the
proper way.
Show quote
>
> Mike
>
>
Author
27 Nov 2007 11:43 PM
Karl E. Peterson
Mike Williams wrote:
> "Karl E. Peterson" <k***@mvps.org> wrote in message
> news:OAgIBTUMIHA.1188@TK2MSFTNGP04.phx.gbl...
>
>> I think I also used it once to force a combo to drop when
>> a certain form was opened. It's rare, alright.
>
> It's quite useful when you want a snapshot of the screen, where SendKeys
> does not work even in XP, whereas Keybd_Event works fine in Win98 / XP /
> Vista:
>
> Call keybd_event(VK_SNAPSHOT, 0, 0, 0)
> Call keybd_event(VK_SNAPSHOT, 0, 2, 0)

Huh.  Made me look. <g>  Found something very interesting!

The module I posted was using vbKeyPrint as the keycode for that purpose.  But
whaddayaknow???

  vbKeyPrint = 42
  VK_SNAPSHOT = 44

WTH???????????????????

And guess what?  When I updated my module to use the new value, this now works too:

  MySendKeys "{PRTSC}"

Hey, while I was looking at the other named constants, I also stumbled across
vbKeySelect (VK_SELECT).  Anyone know what that is?

Thanks...   Karl
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
27 Nov 2007 11:50 PM
Bob Butler
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:%23VyzG9UMIHA.6108@TK2MSFTNGP03.phx.gbl...
> Hey, while I was looking at the other named constants, I also stumbled
> across vbKeySelect (VK_SELECT).  Anyone know what that is?

I found a few references to a select key on special keyboards; perhaps it's
just something not seen very often.
Author
27 Nov 2007 11:57 PM
Karl E. Peterson
Bob Butler wrote:
> "Karl E. Peterson" <k***@mvps.org> wrote in message
> news:%23VyzG9UMIHA.6108@TK2MSFTNGP03.phx.gbl...
>> Hey, while I was looking at the other named constants, I also stumbled
>> across vbKeySelect (VK_SELECT).  Anyone know what that is?
>
> I found a few references to a select key on special keyboards; perhaps it's
> just something not seen very often.

Weird, huh?  I came to find that there's also this "Print" key that's supported at
the OS level.  No idea on that, either.
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
27 Nov 2007 11:53 PM
Karl E. Peterson
Karl E. Peterson wrote:
Show quote
> Mike Williams wrote:
>> "Karl E. Peterson" <k***@mvps.org> wrote in message
>> news:OAgIBTUMIHA.1188@TK2MSFTNGP04.phx.gbl...
>>
>>> I think I also used it once to force a combo to drop when
>>> a certain form was opened. It's rare, alright.
>>
>> It's quite useful when you want a snapshot of the screen, where SendKeys
>> does not work even in XP, whereas Keybd_Event works fine in Win98 / XP /
>> Vista:
>>
>> Call keybd_event(VK_SNAPSHOT, 0, 0, 0)
>> Call keybd_event(VK_SNAPSHOT, 0, 2, 0)
>
> Huh.  Made me look. <g>  Found something very interesting!
>
> The module I posted was using vbKeyPrint as the keycode for that purpose.  But
> whaddayaknow???
>
>  vbKeyPrint = 42
>  VK_SNAPSHOT = 44
>
> WTH???????????????????

Ahhh...  So vbKeySnapshot is equivalent to VK_SNAPSHOT. <blush>  Makes sense.

> Hey, while I was looking at the other named constants, I also stumbled across
> vbKeySelect (VK_SELECT).  Anyone know what that is?

Still have no idea what this is, or VK_PRINT for that matter!
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
26 Nov 2007 8:11 PM
Peter T
> It's a fair question, why all this fuss about sendkeys?
>
> Michael

FWIW, one thing that comes up from time to time in Excel is how to
unlock/relock a protected project, one way is with SendKeys. Bit of a pain
if need to batch process many files.

Regards,
Peter T
Author
26 Nov 2007 10:40 PM
Kevin Provance
In general, I'm not sure.  I have only one instance where I use it as I have
not found any other work around (well, until Karl did his SendInput thing)
and now that he posted it, SendKeys is no longer required.  I use API in
place of most cases where one would normally use SendKeys.

It was more the principle of the matter, in that Vista killed SendKeys (even
for you vFred'ers) and it wasn't right to do that since it appears many
developers still use it for one reason or another.  Great minds figured out
a workaround and we had discussions about it.  Nothing like a good challenge
to get the brain cells going.  I'm sure even you could agree with that, eh?
<g>

- Kev

Show quote
"Michael C" <mike@nospam.com> wrote in message
news:%23g7Jd88LIHA.4684@TK2MSFTNGP06.phx.gbl...
| "Stefan Berglund" <sorry.no.kool***@for.me> wrote in message
| news:s19kk35hptrd69i0db5bev83asu5dufioe@4ax.com...
| > As far as troll material goes you must be having a really hard time
| > because nothing about this comment warrants such an oblique response.
|
| It's a fair question, why all this fuss about sendkeys?
|
| Michael
|
|
Author
26 Nov 2007 11:33 PM
Michael C
"Kevin Provance" <ca***@tpasoft.com> wrote in message
news:eMb0h1HMIHA.5244@TK2MSFTNGP03.phx.gbl...
> In general, I'm not sure.  I have only one instance where I use it as I
> have
> not found any other work around (well, until Karl did his SendInput thing)
> and now that he posted it, SendKeys is no longer required.  I use API in
> place of most cases where one would normally use SendKeys.

That's my point, if a situation arose where it was really necessary to use
sendkeys then you would be better off  using the API. That way you're not so
exposed to bugs caused by some other app/window grabbing the focus.

> It was more the principle of the matter, in that Vista killed SendKeys
> (even
> for you vFred'ers) and it wasn't right to do that since it appears many
> developers still use it for one reason or another.  Great minds figured
> out
> a workaround and we had discussions about it.  Nothing like a good
> challenge
> to get the brain cells going.  I'm sure even you could agree with that,
> eh?
> <g>

Of course I like a good challenge but it's always wise to question whether
they are going in the right direction :-)

Michael
Author
26 Nov 2007 9:27 AM
Jan Hyde (VB MVP)
"Kevin Provance" <ca***@tpasoft.com>'s wild thoughts were
released on Sat, 24 Nov 2007 18:05:50 -0500 bearing the
following fruit:

>In light of Karl's recent success (and genius) with the SendKeys
>replacement, I thought it would be humourous to share this:  Some wiseguy
>thought he would do the same thing, package it up as an ActiveX DLL and
>charge for it.
>
>http://www.m8software.com/developer/keysend/sendkey.htm

Heh, some of my friends and colleagues can't for the life of
them understand why I give my time and experience here for
free when I could be charging people for it.

Different strokes for different folks I guess.

J


Show quote
>For $99.00, you get the source code for the exact same thing Karl did for
>free.


>The one thing I did notice as that this guy claims to have implemented the
>"wait" parameter.  I scoured the net to see if anyone was brave enough to
>violate this dude's license agreement and post the code, but alas none was
>to be found.
>
>Anyone think we should all chip in, but the damned thing and post it?  I'd
>go ten bucks for it...and I trust Karl enough to hold it in escrow (he could
>use one of his PayPal pages to host it).  ;-)
>
>- Kev
>

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Author
27 Nov 2007 10:37 PM
Karl E. Peterson
Kevin Provance wrote:
> In light of Karl's recent success (and genius) with the SendKeys
> replacement, I thought it would be humourous to share this:  Some wiseguy
> thought he would do the same thing, package it up as an ActiveX DLL and
> charge for it.
>
> http://www.m8software.com/developer/keysend/sendkey.htm
>
> For $99.00, you get the source code for the exact same thing Karl did for
> free.

Maybe I should offer mine, as a DLL, for $49 and compare which gets more downloads?
<eg>  Some folks just don't trust things that are free, y'know.

> The one thing I did notice as that this guy claims to have implemented the
> "wait" parameter.

I "implemented" it, as well.  Absolutely, positively, 100% in fact, duplicated the
native behavior of that parameter.  Best I've ever been able to determine, at any
rate.  Dare ya to show otherwise! <g>

Heck, maybe we could get them to explain to us just what they're doing with that
parameter.  According to their site, the place to ask would be here:

   Regrettably, we too have had to install an anti spam filter. To avoid the
challenge
   and response and have your email automatically accepted, please put the word
Readme
   somewhere in the subject line of your email.

   Click here mailto:supp***@m8software.com?subject=SendKey%20Scam%20Readme

<veg>
--
..NET: It's About Trust!
http://vfred.mvps.org

AddThis Social Bookmark Button