- 1 名前:デフォルトの名無しさん [2009/03/04(水) 15:44:54 ]
- ・FireGestures
「リンク先、または現在のページをJane Styleで開く」 で、「My Document・・・にJane2ch.exeがなければ、H:・・・のJane2ch.exeで実行」を指定 ・Jane Style 「プラウザのパス」 「コマンド」で、「リンクをFirefoxで開く」を 「My Document・・・にFirefox.exeがなければ、H:・・・のFirefoxPortable.exeで実行」 親切な方お願いします
- 2 名前:現行構文 [2009/03/04(水) 15:46:44 ]
- ・FireGestures
const IE_PATH = "パス\\Jane Style\\Jane2ch.exe"; var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile); file.initWithPath(IE_PATH); if (!file.exists()) { alert("File does not exist: " + IE_PATH); return; } var process = Cc["@mozilla.org/process/util;1"].createInstance(Ci.nsIProcess); try { var args = [window.content.location.href]; var linkURL = FireGestures.getLinkURL(); if (linkURL) args = [linkURL]; process.init(file); process.run(false, args, args.length); } catch (ex) { alert("Failed to execute: " + IE_PATH); }
- 3 名前:現行構文 [2009/03/04(水) 15:47:53 ]
- コマンド
wscript "$BASEPATHsendurl.wsf" "$TEXT $LINK" Program "C:\Program Files\Mozilla Firefox\firefox.exe"
- 4 名前:デフォルトの名無しさん [2009/03/04(水) 15:58:35 ]
- 【プログラミング】Jane Styleのコマンドやパスで・・・
takeshima.2ch.net/test/read.cgi/news4vip/1236146893/
|

|