[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 2chのread.cgiへ]
Update time : 11/09 04:52 / Filesize : 226 KB / Number-of Response : 778
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

Proxomitron フィルター作成スレッド Part12



12 名前:名無しさん@お腹いっぱい。 mailto:sage [2009/07/14(火) 19:36:46 ID:dTreB8EE0]
今更だけどthink氏のxAutopagerizeを、ツリー構造さえ正しければどこにProxNフォルダがあっても実行できるようにしてみた

***Download_AutopagerizeFiles.bat
1a2,4
+ pushd ..
+ set tmpPath = %CD%
+ popd
6c9
- wget http://wedata.net/databases/AutoPagerize/items.json?callback=callback -b -N -a AutopagerizeFiles.log -P "/Program Files/Proxomitron/html/userjs/"
+ wget http://wedata.net/databases/AutoPagerize/items.json?callback=callback -b -N -a AutopagerizeFiles.log -P "%tmpPath%/html/userjs/"
以下 "/Program Files/Proxomitron/html/userjs/" を "%tmpPath%/html/userjs/" に。

***replaceAutopagerizeFiles.js
4a5
+ var objFso = new ActiveXObject("Scripting.FileSystemObject");
7a9,10
+ var srcDir = objFso.getParentFolderName(WScript.ScriptFullName); // このファイルの存在するディレクトリ
+ var proxDir = objFso.getParentFolderName(srcDir); // Proxomitronのディレクトリ
10c13
- 'DirPath':'C:\\Program Files\\Proxomitron\\html\\userjs\\',
+ 'DirPath':'\\html\\userjs\\',
22c25
- 'DirPath':'C:\\Program Files\\Proxomitron\\html\\userjs\\',
+ 'DirPath':'\\html\\userjs\\',
73,74c76,77
- inputFile = cfg[i]['DirPath'] + cfg[i]['InputFile'];
- outputFile = cfg[i]['DirPath'] + cfg[i]['OutputFile'];
+ inputFile = proxDir + cfg[i]['DirPath'] + cfg[i]['InputFile'];
+ outputFile = proxDir + cfg[i]['DirPath'] + cfg[i]['OutputFile'];






[ 続きを読む ] / [ 携帯版 ]

全部読む 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧]( ´∀`)<226KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef