[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] How programmatically determine nature of one's current lo
Re: [Lynx-dev] How programmatically determine nature of one's current location in the lynx screen?
Sun, 31 Jul 2011 17:07:02 -0400 (EDT)
On Mon, 1 Aug 2011, Graham Lawrence wrote:
Thank you for the quick response and reference to "expect". Actually
I'm so used to manipulating apps with xdotool etc it never occurs to
me that an app may offer the facility to script itself, as lynx does.
In the interim I discovered -cmd_log and -cmd_script, and its a whole
lot easier to do what I want that way.
ok - I had thought from the reference to the message line that lynx's
command/logging options would not solve the problem.
And thank you all very much for lynx. I used it a little on windows
but that version doesn't support https. But since converting to linux
a few months back and discovering that this lynx does support https it
has become my browser of choice; so much faster and no distractions,
no problem (report bugs)
On 7/31/11, Thomas Dickey <address@hidden> wrote:
On Sun, 31 Jul 2011, Graham Lawrence wrote:
I'm writing a bash script to automate my sign-ins at various web
sites. Is it possible for the script to access the content of the
blue highlighted line near the bottom of the lynx screen, so that it
can determine if it is currently at a (NORMAL LINK) or at a (Text
Entry Field), etc?
Not easily, I think. The usual response to questions about
screen-scraping would be to use "expect", but I believe that's
too hard (because of all of the screen optimization made by curses).
Thomas E. Dickey
Thomas E. Dickey