Re: Simulating mouse clicks

Frank R. Larsen (gobo@gimle.nu)
Sat, 08 Jan 2000 05:54:44 +0100


> 
> On 8 Jan 2000, Oystein Viggen wrote:
> 
> > Key Return      A       SC      ClickButton 1
> > Key Delete      A       SC      ClickButton 2
> > Key Insert      A       SC      ClickButton 3
> > 
> > This does not work. Anyone have any idea as to what would?
> 
> There is no AfterStep function which simulates mouse events.

Well... You can simulate mouse movement by using:
Key Left        A       SC       CursorMove -1 0
Key Right       A       SC       CursorMove +1 +0
Key Up          A       SC       CursorMove +0 -1
Key Down        A       SC       CursorMove +0 +1

so being able to press buttons would only be natural...

FrankRL


--
To unsubscribe, send a message to as-users-request@afterstep.org with subject
unsubscribe.  For more details, see http://www.afterstep.org.