[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fill in a form (and send it) from Elisp
- From: Emanuel Berg <emanuel.berg.8573@xxxxxxxxxxxxx>
- Date: Tue, 12 Nov 2013 23:27:53 +0100
- X-ml-name: emacs-w3m
- X-mail-count: 12212
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