[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Fill in a form (and send it) from Elisp



How do you do that?

My attempts so far:

(fset 'login-name "embe8573")

(defun web-login ()
  (interactive)
  (w3m-next-anchor 6) ; this works
  (w3m-view-this-url) ; and this
  (execute-kbd-macro (symbold-function 'login-name)) )

But the last line doesn't work, so perhaps the whole
"macro idea" is a dead end.

If I know the configuration of a form beforehand, how
can I write Elisp to fill all fields with data, and
then likewise pragmatically push the "send" (or so)
button?
  
-- 
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united:  http://user.it.uu.se/~embe8573