---
title: "用Launchy发消息到饭否"
author: "ev0"
date: "2007-08-02T15:33:51Z"
tags: []
slug: "launchy"
draft: false
lastmod: "2007-08-02T15:33:51Z"
id: 108820
url: "https://ev0.iteye.com/blog/108820"
---

[Launchy](http://www.launchy.net/ "Launchy")真是个用了舍不得放下的小东西，可以双手不离键盘的打开电脑上几乎任何东西。而且，hack一番的话你还可以让Launchy干更多更有趣的事情。

[![image](http://blog.lifedreamr.com/wp-content/uploads/2007/08/image-thumb.png)](http://blog.lifedreamr.com/wp-content/uploads/2007/08/image.png)

比如，今天尝试成功了用Launchy发消息到[饭否](http://www.fanfou.com "饭否")，方法如下。

1. 先下载[cURL](http://curl.haxx.se/ "cURL")。把curl.exe复制到系统path路径下，比如c:\\windows
2. 在Launchy建立了索引的某个directory下，新建文件fanfou.bat，内容如下  
   @echo off  
   cmd /c curl –basic –user loginname:password –data status=”%\*” [http://api.fanfou.com/statuses/update.xml](http://api.fanfou.com/statuses/update.xml)  
   Echo Exiting…
3. 设置Launchy确保.bat文件也会被索引到  
   [![image](http://blog.lifedreamr.com/wp-content/uploads/2007/08/image-thumb1.png)](http://blog.lifedreamr.com/wp-content/uploads/2007/08/image1.png)

就这样，搞定了！使用的时候，alt+space召唤出Launchy窗口，然后输入fanfou（就是新建的fanfou.bat的文件名），TAB，加上你要发到fanfou的话就行了。用起来很爽哦。

[![image](http://blog.lifedreamr.com/wp-content/uploads/2007/08/image-thumb2.png)](http://blog.lifedreamr.com/wp-content/uploads/2007/08/image2.png)

[![](http://feeds.feedburner.com/~f/intrc?i=AhidODge)](http://feeds.feedburner.com/~f/intrc?a=AhidODge) [![](http://feeds.feedburner.com/~f/intrc?i=V8dlnqgI)](http://feeds.feedburner.com/~f/intrc?a=V8dlnqgI) [![](http://feeds.feedburner.com/~f/intrc?i=NpSiquQu)](http://feeds.feedburner.com/~f/intrc?a=NpSiquQu) [![](http://feeds.feedburner.com/~f/intrc?i=9k9EtkkU)](http://feeds.feedburner.com/~f/intrc?a=9k9EtkkU) [![](http://feeds.feedburner.com/~f/intrc?i=MySCLgoF)](http://feeds.feedburner.com/~f/intrc?a=MySCLgoF) [![](http://feeds.feedburner.com/~f/intrc?i=b2tO4M57)](http://feeds.feedburner.com/~f/intrc?a=b2tO4M57)

![](http://feeds.feedburner.com/~r/intrc/~4/139988766)