eligrey / voice-search

Chrome extension for searching by speaking.
Other
49 stars 14 forks source link

Mac OS X - script not working #11

Closed claddagh closed 13 years ago

claddagh commented 13 years ago

When used your script(Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-speech-input) in the Script Editor this comes up: SYNTAX ERROR A unknown token can’t go after this identifier. and ( Google\ ) is highlighted. When I remove Google\ from the script another "SYNTAX..." comes up with the ( / ) highlighted and so on until the whole script is removed. Definitely something`s wrong here. Thanks. Andy

eligrey commented 13 years ago

The script isn't Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-speech-input, it's do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --enable-speech-input".