From: 7stud -- Date: 2008-02-18T08:20:28+09:00 Subject: Re: Send keystrokes to Firefox or Safari? Philip Brocoum wrote: > Is there a way to send keystrokes to Firefox or Safari on Mac OS X > Leopard using Ruby? I don't want to remote control the web using watir > or anything, I just want to send keystrokes (ie. I want to be able to > type into a text box really fast hehe). > > Anyone know how to do this? Thanks! You have to realize that Safari is a software program on your computer. What you want to do involves mucking around in the internals of that software program. Watir is a completely different story. Watir merely mimics what Safari does. Watir sends the same requests as Safari does out over the internet and then receives the same responses as Safari. -- Posted via http://www.ruby-forum.com/.