[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] session scripting (was (no subject))
From: |
Floidranzil Costa |
Subject: |
Re: [Lynx-dev] session scripting (was (no subject)) |
Date: |
Fri, 4 Oct 2013 05:09:02 +0000 |
Thanks Stef, David & Team, It Worked.
Thanks & Regards
Floid Costa
EAI RBU O&M
Direct: 022-67786502
Mailto: address@hidden
-----Original Message-----
From: Stefan Caunter [mailto:address@hidden
Sent: Thursday, October 03, 2013 9:55 PM
To: address@hidden
Cc: lynx-dev; Floidranzil Costa
Subject: Re: [Lynx-dev] automatically accept cookies (was (no subject))
> On Tue, 1 Oct 2013, Floidranzil Costa wrote:
>
>> I need to automate only two commands
>>
>> y i.e accept the cookies
>
>
> there is a command-line option for this one:
>
> address@hidden:~$ lynx -accept_all_cookies
>
> -wes
>
i wrote this a long time ago, to help in cases where lynx complains about edge
cases
http://lynx.isc.org/current/README.cookies
-stef
-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Thursday, October 03, 2013 9:43 PM
To: address@hidden
Cc: Floidranzil Costa
Subject: Re: [Lynx-dev] session scripting (was (no subject))
On Thu, 3 Oct 2013, Floidranzil Costa wrote:
> It would be kind of you if you would be able to explain process/steps
> of capturing the required keystrokes that I wanted
> (y,Q) to use with the -cmd_log option, and then replaying them with
> the -cmd_script option.
to use the -cmd_log option to log the keystrokes you use during a session, just
start lynx with the -cmd_log=FILE option, where FILE is the desired filename of
the keystroke log.
for example:
address@hidden:~$ lynx -cmd_log=logfile1
this will start a browsing session. your keystrokes during this session will
be logged in a file named logfile1.
after quitting the session, you can start a scripted session, using
logfile1 as the script, like this:
address@hidden:~$ lynx -cmd_script=logfile1
i hope this helps you.
-wes