Simulating mouse clicks on other GUI programs 
Author Message
 Simulating mouse clicks on other GUI programs

Quote:

> Hi,

> I need to develop a demo for a GUI program. The demo should invoke the program
> simulate mouse clicks on various points and do the operations.

> Is it possible to do that kind of thing in Perl/Tk.

For buttons, you can use $button->invoke. For general event
generation, there is (since Tk800.000) the event method. E.g.:

   $widget->event('generate', "<ButtonPress-1>", '-x' => $x, '-y' => $y);

Regards,
        Slaven
--
                        ============
 ====================== Slaven Rezic ====================================

 ======================              ====================================



Mon, 12 Feb 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. simulating a mouse click?

2. anyone know how to simulate a mouse click?

3. HList bug (single click simulates 2 clicks?)

4. Sending keystrokes and mouse click under WinPerl

5. Mouse click location on a scrolled canvas

6. Mouse Click Bind for an Entry Widget

7. binding mouse clicks to Tk::Columns

8. left mouse click on HList throws messages when empty

9. A weird one - misguided mouse clicks and all that

10. mouse right click

11. Please help: Binding mouse click to tree entry.

12. binding right mouse button click to all buttons

 

 
Powered by phpBB® Forum Software