attaching to a process and injecting events
- From: Chris Capon <abyss pathcom com>
- To: gtk-app-devel-list gnome org
- Subject: attaching to a process and injecting events
- Date: Sun, 23 Apr 2006 11:40:36 -0400
Hi all:
Is it possible (relatively easy) to write a tool which can attach to a
running GTK process and inject events into its event handler?
I am interested in automating the import of OFX/QFX files into GNUCash
and can't see an easy way other than driving the GUI.
To do this there would need to be a way of:
a) given a process id, find out what windows are visible and/or have focus.
b) given a process id, send events to the event handler.
Any pointers would be appreciated.
Thanks, Chris.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]