퀵실버에서 구글 사전 검색 - iChat 활용

AppleScript 2008/12/12 08:01

골빈해커님 블로그에 "구글 사전 편하게 쓰기"란 글에서 en2ko.dict@bot.talk.google.com 을 iChat이나 GTalk에서 사전으로 쓸 수 있다는 정보를 입수! 다음과 같은 애플 스크립트를 짜봤다.

using terms from application "Quicksilver"

on process text gSearch

searchNotify(gSearch)

end process text

end using terms from


using terms from application "iChat"

on searchNotify(gQry)

tell application "iChat"

send gQry to buddy "en2ko.dict@bot.talk.google.com"

activate

end tell

end searchNotify

end using terms from


요놈을 GoogledicIChat.scpt 란 파일로 아래 폴더에 집어넣고 퀵실버를 실행한 후, 쩜( . )찍고 찾는 단어 입력, Tab누르고 g, i 순서대로 해당 스크립트 찾아서 실행하면 iChat에서 메신저로 구글 사전과 대화할 수 있다~

~username/Library/Application Support/Quicksilver/Actions/

screen-capture.jpg

tags : ,
Trackback 0 : Comment 0