I've been using an expect script that I wrote for a number of years now to deal with some password changes. Expect is like a macro program that you code yourself. You can use it to deal with some GUI automation, I've only used it to deal with automating interactive programs that require input.
One of the toughest things for me to figure out was how to deal with command line variables. Once that was solved, I was able to create a pretty generic script with it.
Using Expect to automate tasks (password change)
Thursday, August 28, 2008
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment