Hi

What kind of applications are there that are able to capture the stylus
clicks on a PPC device; and then replay the clicks later? ie. I want to
record a sequence of stylus clicks on an application, and then use this
sequence to do automated testing of some softwares. Does such tools
exists for the PPC environment.

Then just for curiousity, what API should I look at to get more
information about this. Is it possible to capture the stylus clicks? It
must be if you put a window on top of everything, that records the clicks.
But how do you later fake a stylus click on an application?
Can I only use window events for such thing, or do I need more
sophisticated APIs than that?

//Erik
-- REMOVE _NO_SPAM_ from email for the real email --

Re: Capturing stylus clicks into a sequend, and then repeat them (macros) by Peter

Peter
Fri Mar 11 03:47:25 CST 2005

Faking the stylus clicks is not too difficult - you can use the mouse_event
method to send left button down and up events. Refer to the SDK
documentation for mouse_event as you have to convert screen co-ordinates
into the range 0 - FFFF

While you can log a series of mouse clicks using your own full screen
window, you can't (that I'm aware of) intercept these while still allowing
another application to receive them, like a true macro recording
application.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"Erik Mattsson" <erikmattsson_no_spam_@home.se> wrote in message
news:ems$%23%23bJFHA.2936@TK2MSFTNGP15.phx.gbl...
> Hi
>
> What kind of applications are there that are able to capture the stylus
> clicks on a PPC device; and then replay the clicks later? ie. I want to
> record a sequence of stylus clicks on an application, and then use this
> sequence to do automated testing of some softwares. Does such tools exists
> for the PPC environment.
>
> Then just for curiousity, what API should I look at to get more
> information about this. Is it possible to capture the stylus clicks? It
> must be if you put a window on top of everything, that records the clicks.
> But how do you later fake a stylus click on an application?
> Can I only use window events for such thing, or do I need more
> sophisticated APIs than that?
>
> //Erik
> -- REMOVE _NO_SPAM_ from email for the real email --



Re: Capturing stylus clicks into a sequend, and then repeat them by Erik

Erik
Fri Mar 11 17:56:23 CST 2005

Peter Foot [MVP] wrote:
> Faking the stylus clicks is not too difficult - you can use the mouse_event
> method to send left button down and up events. Refer to the SDK
> documentation for mouse_event as you have to convert screen co-ordinates
> into the range 0 - FFFF

I will take a look at that SDK!

> While you can log a series of mouse clicks using your own full screen
> window, you can't (that I'm aware of) intercept these while still allowing
> another application to receive them, like a true macro recording
> application.

Hmmm, but shouldnt it be possible to intercept the mouse events, and
then go through the window list and see which window that is
second-on-top, and relay the mouse event to that window? I guess you
could go through the windows from top-to-bottom to see which one that
stretches were the stylus was clicked.

In order to make a nice macro-program, is it possible to make the
capturing window invisble but still capture the mouse events?

Thanks
//Erik