Created
August 6, 2009 02:33
-
-
Save typester/163090 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun appkido-lookup (word) | |
"search appkido" | |
(interactive | |
(let* ((cur (substring-no-properties (or (thing-at-point 'word) ""))) | |
(val (read-string (if (string-match "^[0-9A-Za-z_]+$" cur) | |
(format "AppKido Lookup (default %s): " cur) | |
"AppKido Lookup: ") nil nil cur))) | |
(list val))) | |
(do-applescript (format "tell application \"AppKiDo-for-iPhone\" | |
activate | |
search \"%s\" | |
end tell" word))) | |
(provide 'appkido) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment