2022年5月
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
無料ブログはココログ

« 著作権、署名など定型文を編集ボックスの先頭か末尾に挿入するブックマークレット | トップページ | inprivateで開くプロトコル »

2016年1月30日 (土)

chromeで開くプロトコル

chrome.vbsをデスクトップなどに作る。

createobject("wscript.shell").run "chrome.exe "&mid(wscript.arguments(0),len("chrome:")+1)

chrome.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\chrome]
"URL protocol"=""

[HKEY_CLASSES_ROOT\chrome\shell]

[HKEY_CLASSES_ROOT\chrome\shell\open]

[HKEY_CLASSES_ROOT\chrome\shell\open\command]
@="wscript.exe \"C:\\Users\\%username%\\Desktop\\chrome.vbs\" \"%1\""

場所のパス名は適宜変更。

« 著作権、署名など定型文を編集ボックスの先頭か末尾に挿入するブックマークレット | トップページ | inprivateで開くプロトコル »