FF 手势执行 exe 程序

Published by Xianqiao Wang on June 23rd, 2013

firgestures手势
var file = Cc['@mozilla.org/file/local;1'].createInstance(Ci.nsILocalFile);
file.initWithPath("程序路径");
file.launch();

程序路径写法如D:\\Program Files\\Notepad++\\Notepad++.exe 注意是双斜杠
http://tieba.baidu.com/p/2410622954