sun_day365
小狐狸
小狐狸
  • UID208
  • 注册日期2004-11-26
  • 最后登录2013-05-22
  • 发帖数41
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:16447回复:25

帮主 launchy 如何使用啊?

楼主#
更多 发布于:2004-11-26 14:49
怎样添加程序,和打开程序啊,谢谢
puhongyi
千年狐狸
千年狐狸
  • UID3
  • 注册日期2004-11-20
  • 最后登录2012-03-29
  • 发帖数1116
  • 经验9枚
  • 威望2点
  • 贡献值38点
  • 好评度19点
1楼#
发布于:2004-11-26 14:49
官方网站这样说的
launchy.xml file usage

Launchy is now (from version 2.5.0 and up) able to use a XML file to add custom applications. So you can add your own applications to Launchy's context menu. At startup Launchy will look for a file called launchy.xml in the chrome directory in your profile. Get help in finding the path of your Mozilla profile.

You can use this page to create a launchy.xml file. The content of the launchy.xml should look like this:
<?xml version="1.0" encoding="UTF-8"?>
<configurations xmlns="http://launchy.mozdev.org/configurations">
  <application>
    <label>Mozilla Composer</label>
    <type>7</type>
    <command>c:\program files\mozilla.org\nightly\mozilla\mozilla.exe</command>
    <arguments>-editor</arguments>
  </application>
  <application>
    <label>WordPad</label>
    <type>7</type>
    <command>%ProgramFiles%\accessories\wordpad.exe</command>
    <arguments></arguments>
  </application>
  <application>
    <label>Lynx</label>
    <type>1</type>
    <command>/usr/bin/lynx</command>
    <arguments></arguments>
  </application>
  <application>
    <label>Kget</label>
    <type>5</type>
    <command>/usr/bin/kget</command>
    <arguments></arguments>
  </application>
</configurations>

label: The name of the application required
command: The full path to the executable for the application required
arguments: The arguments for the application optional
type: The type of application required. The following types are supported:

   1. Browsers (fx Mozilla Firefox)
   2. Mail clients (fx Mozilla Thunderbird)
   3. Media clients (fx Windows Media Player)
   4. FTP clients (fx WS_FTP)
   5. Download Managers (fx FlashGet)
   6. File Explorers (fx Windows Explorer)
   7. Editors (fx UltraEdit)
   8. View Viewers (fx XnView)

You can use both %ProgramFiles% and %SystemRoot% and %HOMEDRIVE% and %HOMEPATH% in the the command and arguments and they are substitutes with their appropriated values.


看来主要是在launchy.xml里面添加这样的声明(如果没有这个文件就要安装上面说的格式来新建一个):

<application>
    <label>WordPad</label>  外部应用的名称
    <type>7</type>             外部应用的类型
    <command>%ProgramFiles%\accessories\wordpad.exe</command>   外部应用的地址
    <arguments></arguments>   需要传递的参数
  </application>
puhongyi
千年狐狸
千年狐狸
  • UID3
  • 注册日期2004-11-20
  • 最后登录2012-03-29
  • 发帖数1116
  • 经验9枚
  • 威望2点
  • 贡献值38点
  • 好评度19点
2楼#
发布于:2004-11-26 14:49
例如,我将我的LeapFTP加入到链接中,使用了这样的描述:
<?xml version="1.0" encoding="UTF-8"?>
<configurations xmlns="http://launchy.mozdev.org/configurations">
  <application>
    <label>LeapFtp</label>
    <type>4</type>
    <command>C:\Program Files\LeapFTP\leapftp.exe</command>
    <arguments></arguments>
  </application>
</configurations>


将其命名为launchy.xml保存到C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\lqc57ddg.default\chrome\

重新启动Firefox就OK了,如图:
jy02599559
小狐狸
小狐狸
  • UID40
  • 注册日期2004-11-21
  • 最后登录2009-07-28
  • 发帖数4
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
3楼#
发布于:2004-11-26 14:49
官网上有一个launchy.xml 文件自动生成器,http://gemal.dk/mozilla/launchy-xmlfile.html
你只要将有关程序的名称,路径,类形,参数输入就会自动生成文件拉!
hingis_fans
小狐狸
小狐狸
  • UID140
  • 注册日期2004-11-25
  • 最后登录2005-06-04
  • 发帖数42
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
4楼#
发布于:2004-11-26 14:49
可以直接修改或添加在 launchy.jar 里的 context.js中

这个插件真的非常非常好,在用IE时就想有类似的插件但找了很长时间也没有找到。特别在浏览图片网页时想用AcdSee但IE做不到,在火狐里这个问题解决了。
Charlie
火狐狸
火狐狸
  • UID27
  • 注册日期2004-11-21
  • 最后登录2006-03-23
  • 发帖数122
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
5楼#
发布于:2004-11-26 14:49
好东西,把flashgot给扔了
moZine论坛: http://www.mozine.org
xiangdong
小狐狸
小狐狸
  • UID261
  • 注册日期2004-11-27
  • 最后登录2004-11-27
  • 发帖数3
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
6楼#
发布于:2004-11-26 14:49
恳请各位大侠说得更详细些
我是个菜鸟,刚才上官网去生成个l文件,但显示的是代码,关键是如何把这些代码保存为xml,我就不会了,敢请各位教教我
xiangdong
小狐狸
小狐狸
  • UID261
  • 注册日期2004-11-27
  • 最后登录2004-11-27
  • 发帖数3
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
7楼#
发布于:2004-11-26 14:49
具体怎么修改呢,能不能讲具体的
hingis_fans:可以直接修改或添加在 launchy.jar 里的 context.js中

这个插件真的非常非常好,在用IE时就想有类似的插件但找了很长时间也没有找到。特别在浏览图片网页时想用AcdSee但IE做不到,在火狐里这个问题解决了。
回到原帖


对各位很是敬仰,盼指教
puhongyi
千年狐狸
千年狐狸
  • UID3
  • 注册日期2004-11-20
  • 最后登录2012-03-29
  • 发帖数1116
  • 经验9枚
  • 威望2点
  • 贡献值38点
  • 好评度19点
8楼#
发布于:2004-11-26 14:49
Re: 恳请各位大侠说得更详细些
xiangdong:我是个菜鸟,刚才上官网去生成个l文件,但显示的是代码,关键是如何把这些代码保存为xml,我就不会了,敢请各位教教我回到原帖


Xml文件就是简单的文本文件,最简单的方法就是你把你的代码复制到记事本里面,然后保存的时候设置后缀名为XML就可以了。注意,不是TXT后缀,在保存的时候要设置“保存类型——所有文件”
xiangdong
小狐狸
小狐狸
  • UID261
  • 注册日期2004-11-27
  • 最后登录2004-11-27
  • 发帖数3
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
9楼#
发布于:2004-11-26 14:49
我真笨呀
我想把影音传送加入扩展程序,也按照要求保存好xml文件了,放到chrome文件夹中,重新启动firefox后launchy下链接还是原来我下过插件后的ie wmp 和flashget三个链接,没有出现想要的NetTransport,不知道什么原因,下面是我这个xml文件的代码,麻烦老兄看一下有没有错误
<?xml version="1.0" encoding="UTF-8"?>
<configurations xmlns="http://launchy.mozdev.org/configurations">
<application>
<label>NetTransport</label>
<type>5</type>
<command>e:\nvtes\NetTransport\NetTransport.exe</command>
<arguments></arguments>
</application>


另外,在把文件保存为xml时,除了在保存类型中选全部文件,编码中还有四个选项,在这方面还有没有要求???
puhongyi
千年狐狸
千年狐狸
  • UID3
  • 注册日期2004-11-20
  • 最后登录2012-03-29
  • 发帖数1116
  • 经验9枚
  • 威望2点
  • 贡献值38点
  • 好评度19点
10楼#
发布于:2004-11-26 14:49
可能是记事本保存格式的问题,你试试看保存为UTF-8的看看。如果还是不行的话,建议你用UltraEdit或者EditPlus之类的编辑软件来试试。我是用UltraEdit的,另外,要确认一下保存的路径和文件名是否正确。
hingis_fans
小狐狸
小狐狸
  • UID140
  • 注册日期2004-11-25
  • 最后登录2005-06-04
  • 发帖数42
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
11楼#
发布于:2004-11-26 14:49
好像 configurations 没有关闭
</configurations>
minmim
小狐狸
小狐狸
  • UID336
  • 注册日期2004-11-29
  • 最后登录2006-02-12
  • 发帖数5
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
12楼#
发布于:2004-11-26 14:49
我也建了一个xml文件,就是用官网上的生成器作的,放在那个chrome文件夹后重启ff,但launchy说找不到这个xml文件而无法加载,这是怎么回事啊?
ChaosFox
小狐狸
小狐狸
  • UID275
  • 注册日期2004-11-27
  • 最后登录2012-05-31
  • 发帖数89
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
13楼#
发布于:2004-11-26 14:49
如何让flashget或net transport实现句柄下载
像在ie里一样可以选下载所有链接?
惊鸿一瞥
小狐狸
小狐狸
  • UID50
  • 注册日期2004-11-22
  • 最后登录2005-01-20
  • 发帖数22
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
14楼#
发布于:2004-11-26 14:49
官方网站这样说的
arguments: The arguments for the application optional
type: The type of application required. The following types are supported:

   1. Browsers (fx Mozilla Firefox)
   2. Mail clients (fx Mozilla Thunderbird)
   3. Media clients (fx Windows Media Player)
   4. FTP clients (fx WS_FTP)
   5. Download Managers (fx FlashGet)
   6. File Explorers (fx Windows Explorer)
   7. Editors (fx UltraEdit)
   8. View Viewers (fx XnView)
  </application>


看来插件对上述程序支持较好,其他自添加程序不一定能够好好支持。
上一页
游客

返回顶部