Operating System - Linux
1828032 Members
1832 Online
109973 Solutions
New Discussion

Re: Pushing a button from a script

 
Arturo Medina
New Member

Pushing a button from a script

How can I push a button of a X-Window application from a script that is independent of such application?

How can I close a X-Window application from a script that is independent of such application?

I apologize about my poor English.

Thanks in advance.
2 REPLIES 2
Sandman!
Honored Contributor

Re: Pushing a button from a script

Hi Arturo,

You might want to look at either Tk or expecTk which allow automating graphical based applications. There are also commercial tools like Xrunner which let you do the same.

cheers!
Mark Greene_1
Honored Contributor

Re: Pushing a button from a script

Download expect from here:

http://hpux.cs.utah.edu/hppd/hpux/Tcl/expect-5.43/

make sure you get a copy of the README file:

http://hpux.cs.utah.edu/hppd/hpux/Tcl/expect-5.43/readme.html

It has a lot of good info and more web links to other sources including the expect home page.

mark
the future will be a lot like now, only later