I am trying to make a script that will do a google search for you, but if i do a multiple word search, it doesn't work. Anyone know how to fix this?
set keyword to text returned of (display dialog "Enter Search Query" default answer "")
display dialog "Enter Search Query" buttons {"Cancel", "Ok"} default button 2
if the button returned of the result is "Ok" then
open location "http://search.yahoo.com/search?p=" & keyword
end if