address command 'makelink hard force Buttons.info '||buttons
options failat 20
if show('p','IRIS') then do
address 'IRIS'
'ASKCHOICE "Install-Buttons" "The buttons have been installed.*NIt is necessary to restart Iris*Nto use the new buttons.*NDo you wish me to do this?" *_Yes|_No'
if rc=0 then do
'GETFOLDER'
curfol=result
q=0
do while rc=0
'FOLDERNAME' q
if result=curfol then leave
q=q+1
end
xrc=rc
'QUIT'
do while show('p','IRIS')
address command 'wait 1'
end
if xrc=0 then do
address command 'run >nil: <nil: iris curfol' q
end
else do
address command 'run >nil: <nil: iris'
end
end
else nop
end
else,
address command 'requestchoice >nil: "Install-Buttons" "The buttons have been installed." "OK"'