I would like some ideas on how to simulate mouse moves targeted at a particular 
application.
The mouse should "move" in proximity of its current location, say within a 2 
pixel square maximum.
If it doesn't really move and the application is just tricked into thinking it 
has moved, all the better.
Options that I could think of:
1. send a mouse-moved message to the application - I don't know how
2. for loop
for(;;) 
  if( (ctrl && shift && win) || not anywindow("=app") )
     break
  win.mouse ("ab "++xmouse-1++" "++ymouse+1)
  wait.for(100)
  win.mouse ("ab "++xmouse+1++" "++ymouse-1)
  wait.for(100)
endfor

3. the above for loop transposed into an event - can I use wait.for() inside?

Other ideas? TIA



Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to