🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #469

using TwebBrowser for automation on the web

#469
From: belspar
Date: Wed, 25 Oct 2000 00:00
27 lines
1678 bytes
Hi all

I need help to complete my program :

When I navigate to "www.AbankingSite.com"  sometimes url change on
connect and have extra parameters such as session-id or user-id .
how to get  these parameters ?

sometimes , i want to automatically execute java script or CGI  on a
web site and pass some parameters to these script .( simulate the
click on a button , I know the name of the function attached to the
onclick event).
how to do it in delphi ?
or how to fill  and submit  a html form in delphi ?

my last question is :
I want to save a html file , i do : 

filename := 'c:\test.html';
Webbrowser.execWB(OLECMDID_SAVEAS,2,filename) ;

this statement may be executed without prompting user (2 =
DONT_PROMPT_USER)
but, it always prompt user for filename ...

sorry for my poor english  i'm french ,
thanks a lot for all your help.
Technical Details
Message-ID: <qpgdvsgamqc1adfrebo41flabn6bumrhel@4ax.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb0ea,943cc3c221740a96,start
X-Google-Attributes: gidfb0ea,public
X-Google-Thread: 10baee,943cc3c221740a96,start
X-Google-Attributes: gid10baee,public
From: belspar <belspar@voila.fr>
Subject: using TwebBrowser for automation on the web
Date: 2000/10/25
Message-ID: <qpgdvsgamqc1adfrebo41flabn6bumrhel@4ax.com>
X-Deja-AN: 685625590
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@oleane.net
X-Trace: s1.read.news.oleane.net 972474565 9330 195.25.229.219 (25 Oct 2000 11:49:25 GMT)
Organization: a
Mime-Version: 1.0
Reply-To: belspar@voila.fr
NNTP-Posting-Date: Wed, 25 Oct 2000 11:49:25 +0000 (UTC)
Newsgroups: comp.lang.pascal.delphi.misc,;,borland.public.delphi.vcl.components.using