Re: Sending keystrokes to an application running on Citrix ICA Client

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Paul Bromley (flyfisher_at_dsl.pipex.com)
Date: 12/01/04


Date: Wed, 1 Dec 2004 23:11:55 -0000

Take a look at the Beta DLL for AutoIt and incorporate this in your
application. Not perfect, but it is a lot more 'managed' than using
SendKeys. Not sure if it will work in your case. AutoIt has got me out of a
lot of problems lately.

http://www.hiddensoft.com/AutoIt/

Best wishes

Paul Bromley

"Rachel" <Rachel@discussions.microsoft.com> wrote in message
news:84C2A76D-BF4F-475F-99DF-C983572C54AD@microsoft.com...
> Tim the only way I know of doing it is using another application called
QARUN
> from compuware. Sorry
>
> "Tim Diggle" wrote:
>
> > I'm trying to enter data into a database application running under
Citrix ICA
> > Client. I'm doing it from a VBA macro running under Microsoft Excel 2000
> > (although it may need to be backwardly compatible with '97).
> > yt
> > I'm doing this by using appactivate to activate the database
application,
> > then sendkeys to send strings of data and tab characters to fill up a
series
> > of data fields.
> >
> > Now, this works if Excel is running under Citrix, but if Excel is
running
> > under regular windows, it can't send keystrokes to Citrix, even if a
Citrix
> > "Parent" window has the focus. I find this odd, because the function
> > supposedly acts as if you were typing the keys on the keyboard, and if I
> > enter the keystrokes on the keyboard under the same circumstances the
data
> > gets entered fine.
> >
> > Is there some kind of lower level API call that I can use to send
keystrokes
> > from regular Windows 98 or 2000 "through" to an application running on
> > Citrix?
> >
> > If anyone can help I'd be most grateful!



Relevant Pages

  • Re: Word Macro, Recording Stops in Eqn Editor
    ... Thanks for your idea but I could not get the SendKeys ... keystrokes passed to MathType. ... I could not get MathType ... >Bear in mind that Word (ie your macro) gets no message ...
    (microsoft.public.word.vba.general)
  • RE: Sendkeys in Office 2003
    ... In that case the keys are sent and you get nothing. ... Sometimes the first few keystrokes are lost in a transmission. ... SendKeys "Then your important commands", ... Direct commands are always better than SendKeys ...
    (microsoft.public.access.modulesdaovba)
  • Re: Sendkeys to DOS application
    ... How would I send the keystrokes to the CMD.exe? ... Some command need to be processed before they reach the ... or other kind of method make use of Windows system message. ... but this yields the same results as the SendKeys method: ...
    (microsoft.public.dotnet.framework)
  • Re: Send keys : %{down}
    ... SendKeys is bad, bad, bad... ... The problem with it is that it sends the keystrokes the moment you run ... suggestion is to use a line of code instead of a macro with SendKeys: ... > server, and scrolled back to previously inputted records, ...
    (microsoft.public.access.macros)
  • Re: window show state
    ... Although I hate to suggest appactivate and sendkeys, ... But don't sendkeys alt twice. ... a 3rd-party control, there are several that will do what you ... AutoIt is a complete scripting language, ...
    (microsoft.public.scripting.wsh)