Most web browser have the ability to be started from the
command with a URL as an arguement.
e.g
c:\camerashy.exe www.cnn.com
or if URL contains white space then enclose within
double quotes.
e.g
c:\camerashy.exe "www.somesite.com/stego/page
name with spaces.html"
The browser would thus open a window at that URL
intead of the default homepage.
This is at times can be a useful feature.
e.g
Allows scripted automation of CameraShy process start
on a chosen URL.
e.g
Allows CS to be used the default browser option in 3rd
party applications such as Copernic search engine.
I believe that the code snippet below contains the minor
modification to the sourcecode that is required to enable
this feature in CS.
//*******start code snippet*****************
procedure TForm1.FormShow(Sender: TObject);
begin
webbrowser1.AssignDocument;
try begin
//accept URL as command line parameter for a
startpage
webbrowser1.go(ParamStr(1)) ;
end
except
//if no parameter string found then use default IE
Homepage
webbrowser1.GoHome;
end;
IETravellog1.Connect;
end;
//******* end code snippet****************
Nobody/Anonymous
None
None
Public
|
Date: 2002-08-09 02:59 Logged In: YES |
|
Date: 2002-08-09 02:55 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2002-08-09 02:59 | thepull |
| close_date | - | 2002-08-09 02:59 | thepull |
| priority | 5 | 2002-07-25 02:06 | stonefisk |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use