home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
url_util.zip
/
picker.sl
< prev
next >
Wrap
Text File
|
1997-07-16
|
715b
|
25 lines
%URL picker
%See README.TXT for installation and usage information
define picker ()
{
variable browservbl;
variable rsp;
variable status = get_variable_value ("non_Xbrowser");
rsp = select_list_box ("Select Browser:",
"Lynx", "Bookmark", "Download", 3,
2);
switch (rsp)
{ case "Lynx" : browservbl = "lynx2.cmd %s" }
{ case "Bookmark" : browservbl = "echo %s | geturl.cmd > nul" }
{ case "Download" : browservbl = "echo %s | downurl.cmd > nul" }
set_string_variable ("non_Xbrowser", browservbl);
call ("browse_url");
set_string_variable ("non_Xbrowser", status);
}
definekey ("picker", "U", "article");