home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 4
/
AACD04.ISO
/
AACD
/
Online
/
AWebScripts
/
ColdList.awebrx
< prev
next >
Wrap
Text File
|
1999-11-25
|
570b
|
38 lines
/* $VER: ColdList.awebrx 1.0 (11.2.1999) by Jorma Oksanen <tenu@sci.fi>
Removes entry from hotlist
Note that it removes only the first entry with the same URL
Setup:
GUI/Popup/Link
Remove from hotlist
RUN AWeb3:Plugins/ColdList.awebrx %u
*/
options results
parse arg uri
if uri='' then 'get url var uri'
uri=strip(uri,'b','"')
'get hotlist stem hl'
m=hl.0
do i=1 to m
if hl.i.url=uri then leave
end
if i>m then exit
if i<m then do
hl.i.group=hl.m.group
hl.i.title=hl.m.title
hl.i.url=hl.m.url
hl.i.owner=hl.m.owner
end
hl.0=m-1
'hotlist set hl'