秀丸エディタスレ Part21at SOFTWARE
秀丸エディタスレ Part21 - 暇つぶし2ch448:名無しさん@お腹いっぱい。
08/03/01 13:28:32 uQm96nva0
>>446
設定項目に対応するレジストリエントリと値を調べるマクロ作ってみた
パスの通ったところにgnu仕様のdiff.exeが必要

$File1 = directory2 + "\\conf1.reg";
$File2 = directory2 + "\\conf2.reg";
$DiffFile = directory2 + "\\conf.diff";
$RegKey = "HKEY_CURRENT_USER\\Software\\Hidemaruo\\Hidemaru";
run getenv("ComSpec") + " /c del \"" + $File1 + "\" \"" + $File2 + "\"";
closehidemaruforced findhidemaru($DiffFile);
runsync2 "regedit.exe /e /a \"" + $File1 + "\" \"" + $RegKey + "\"";
CONFIG;
runsync2 "regedit.exe /e /a \"" + $File2 + "\" \"" + $RegKey + "\"";
runsync2 getenv("ComSpec") + " /c diff.exe \"" + $File1 + "\" \"" + $File2 + "\" >> \"" + $DiffFile + "\"";
openfile $DiffFile;


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch