From: Flaming Flamingo Date: 2008-01-24T18:36:56+09:00 Subject: Re: check corrupt PDF file oke, fixed it with this: Before opening the pdf I call this def: def startClicker(waitTime = 3) sleepTime = waitTime puts "in clicker" @wsh = WIN32OLE.new('Wscript.Shell') @wsh.SendKeys('{enter}') end Any better idea's are welcom (don't like sendkeys solutions that much...) -- Posted via http://www.ruby-forum.com/.