Add an error message if GetVideo is not installed. Use v0.27's new "ask" function

instead of assuming the user wants to save.

svn path=/trunk/netsurf/; revision=10914
This commit is contained in:
Chris Young 2010-10-28 19:21:58 +00:00
parent 35cb134ae8
commit 338e39e167
1 changed files with 7 additions and 1 deletions

View File

@ -20,4 +20,10 @@
options results
geturl
address REXX 'rexx:getvideo.rexx' result 'save "ram:"'
if open('getvideo','rexx:agetvideo.rexx','R') then do
close('getvideo')
address REXX 'rexx:getvideo.rexx' result 'ask "ram:"'
end
else
address command 'requestchoice >NIL: "NetSurf" "GetVideo.rexx must be installed in REXX: for this script to function.*n*nIt can be downloaded from Aminet:comm/www/getvideo.lha" "OK"'