Again, I'd use java.awt.Robot for that. It defines keyPress() and keyRelease().
-T On Fri, Sep 25, 2009 at 6:37 AM, Sandro Martini <sandro.mart...@gmail.com>wrote: > Hi Greg, > thanks for having already implemented this feature, i hope to find > some time soon to try it !! > > Only one question, on this: > do you think it's possible from an "automation client" (for example in > Javascript, and for simplicity running in the same process) to send > also other events, like keystrokes combinations (and maybe but for me > this is not important, also mouse events), let Pivot consume and use > (as the usual way) them ? > > This could be useful in testing applications, to ensure for example > that the expected shortcuts have been defined and are working goos. > > > Thanks, > Sandro >