æ¬æ¥ã®ããã»ãã·ã³ã°04ãEmacsããNodeBoxãå®è¡ãã¦ã¿ãã
Processingã®PythonçãNodeBoxãã§è²ã ãã¦ã¿ãã(ï¾Ðï¾)p
EmacsããNodeBoxãå®è¡
Emacsã§ã³ã¼ãæ¸ãã¦NodeBoxãå®è¡ãããã®ã§ãã£ã¦ã¿ãã
Applescript使ç¨ãã¦ããã®ã§MacOSXéå®ãï¼MacOSX10.4ãCarbonEmacs-Tiger-20080418ï¼
ã¨ããããå®è¡ã§ãããã©åé¡ãã(´・Ïï½¥`)
Emacsã®è¨å®ï¼æ«å®çï¼
以ä¸.emacs.elã«æ¸ãè¾¼ãã
(defun nodebox-open-run) (interactive) (let ((file nil)) (cond ((and (local-variable-p 'dired-directory) dired-directory (string-match "\\.app/\\'" dired-directory)) (setq file dired-directory)) ((stringp (buffer-file-name)) (setq file (buffer-file-name)))) (do-applescript (format " tell application \"NodeBox\" open (\"%s\" as POSIX file) activate end tell tell application \"System Events\" tell application process \"NodeBox\" key down command delay 1 keystroke \"r\" key up command end tell end tell "file)) ) )
Emacsã§ã³ã¼ãæ¸ã㦠command + R ã§å®è¡
ãã¼ãã¤ã³ãï¼CarbonEmacsï¼
(define-key mac-key-mode-map [(alt r)] 'nodebox-open-run)
Emacsã§NodeBoxã®ã³ã¼ãæ¸ãã¦ãcommand + R ãã¼ãæ¼ãã°ãNodeBox.appãç«ã¡ä¸ããå®è¡ããããªããå®è¡ããªãã¨ãããã...(´・Ïï½¥`)
åé¡
Emacsã§ã³ã¼ãä¿®æ£ä¿åãã¦ãNodoBoxã®æ¹ã¯å¤æ´åã®ã¾ã¾(||ï¾Ðï¾)
ä¿®æ£ãããNodeBoxã®ã¦ã¤ã³ãã¦éãã¦ããå®è¡ããªãã¨ãããªããªãã
ãã¾ãå®ç¨çã§ãªããã©ãã¨ããããåããã£ã¦ãã¨ã§...
åèãµã¤ã
- CabonEmacsã®mac-key-mode.elã®ãmac-key-show-in-finderãã¨ãmac-key-open-terminal ãããã
- Official Apple Support
- Emacs で processingのファイルを編集する - hibomaのはてなダイアリー
- 任意のアプリにDrag&DropするAppleScript... - Macintosh - 教えて!goo