Groups > Superbase > Superbase 2 programming > Re: SENDKEYS




SENDKEYS

SENDKEYS
Thu, 26 Apr 2007 11:47:06 -040
Does the SENDKEYS command still work (in Win XP)? I can switch to apps, TAB 
through fields, but can't enter text. Tried Notepad and a few others.

In fact it seems to be adding CTRL to the beginning of every text string. 
i.e.

APPACTIVATE "Notepad"
SENDKEYS "f"

actually activates Notepad's Find function (as thought <CTRL>F had been 
sent)


Post Reply
Re: SENDKEYS
Fri, 27 Apr 2007 07:40:23 -040
You probably know this, but Superbase has a couple of versions of OLE, I think
it's CREATEOBJECT or AutoObject...

Of course this is irrelevant if the app in question uses SENDKEYS a lot for
manipulating other apps.




On Thu, 26 Apr 2007 11:47:06 -0400, John Ciccone
<johnrc@NOSPAMsympatico.ca> wrote:

> Does the SENDKEYS command still work (in Win XP)? I can switch to apps,
TAB
> through fields, but can't enter text. Tried Notepad and a few others.
>
> In fact it seems to be adding CTRL to the beginning of every text string.
> i.e.
>
> APPACTIVATE "Notepad"
> SENDKEYS "f"
>
> actually activates Notepad's Find function (as thought <CTRL>F had
been
> sent)
>
>
>
>
Post Reply
Re: SENDKEYS
Fri, 27 Apr 2007 10:17:10 +010
John Ciccone wrote:
> Does the SENDKEYS command still work (in Win XP)? I can switch to apps, TAB

> through fields, but can't enter text. Tried Notepad and a few others.
> 
> In fact it seems to be adding CTRL to the beginning of every text string. 
> i.e.
> 
> APPACTIVATE "Notepad"
> SENDKEYS "f"
> 
> actually activates Notepad's Find function (as thought <CTRL>F had
been 
> sent)

SENDKEYS does not work properly in Win32. This is because the window
that you think that you are sending the keystrokes to is not always
getting them. The command ones tend to work, but I have never seen the
entering of text work.

Post Reply
about | contact