Recent

Author Topic: How to send to all windows the message?  (Read 6024 times)

darkprof

  • Newbie
  • Posts: 2
How to send to all windows the message?
« on: April 14, 2011, 08:20:42 am »
How to send to all windows the message? I move mouse SetCursorPos and I need to send pressing of the left or right button of the mouse. Linux
« Last Edit: April 14, 2011, 09:13:12 am by darkprof »

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: How to send to all windows the message?
« Reply #1 on: April 18, 2011, 11:21:13 am »
windows from your program or all system windows?

From you program in Screen.Forms there is a list of windows.

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: How to send to all windows the message?
« Reply #2 on: April 18, 2011, 02:33:10 pm »
Instead of simulate button clicks, you can call the method button1click
(if your button is named Button1)
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

darkprof

  • Newbie
  • Posts: 2
Re: How to send to all windows the message?
« Reply #3 on: April 18, 2011, 04:24:02 pm »
all windows (not in my program). I have applied with xdotool

garlar27

  • Hero Member
  • *****
  • Posts: 652
Re: How to send to all windows the message?
« Reply #4 on: April 18, 2011, 04:59:04 pm »
Have you tried MouseAndKeyInput?

It might be what you are looking for...

Shebuka

  • Sr. Member
  • ****
  • Posts: 429
Re: How to send to all windows the message?
« Reply #5 on: April 19, 2011, 10:26:48 am »
windows from your program or all system windows?

From you program in Screen.Forms there is a list of windows.
Hi, it looks interesting, can you make an example of how to use Screen.Forms ?

 

TinyPortal © 2005-2018