From: Tushar Gandhi Date: 2009-04-06T17:10:14+09:00 Subject: Re: File copy Hi, I went through this link http://www.mail-archive.com/wtr-general@rubyforge.org/msg06628.html and my dll registered successfully. I changed my code like this " browser=Watir::IE.new browser.visible=true browser.goto(params[:photo_url]) idx = 0 # using the images collection, iterate through all of the images on a page browser.images.each do |x| idx += 1 # apparently the string accepted by the string method will not allow variable substitution original_type= x.src[-4,4] type=".gif" if original_type == ".gif" type=".jpg" if original_type == ".jpg" type=".png"if original_type == ".png" type=".bmp" if original_type == ".bmp" type="jpeg" if original_type == ".jpeg" x.save('E:\Rails2.2\integrateSNS\public\images') end " It open a new tab and open that image and also open windows standard sve pop up and hangs. What should I do for this? Thanks, Tushar -- Posted via http://www.ruby-forum.com/.