sergeyg
Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Новая версия Reg2Script. Изменина обработка hex и hex7 http://vistape.boot-land.net/files/r2s_v3.rar NIKZZZZ Цитата: А то как-то несолидно Vista и REGEDIT4, да и где его взять? | Ну насчет взять, просто сохраняй из regedit в этот формат, насчет нужности - я 95% работы делаю в far, а он UNICODE нормально не поддерживает, так что пока встаривать поддержку unicode не хочу... все таки, было бы неплохо, если Nuno встроит конвертор непосредственно в winbuilder... Цитата: И предлагаю для однообразия в качестве подстановок использовать WB-software, WB-default и т.д. как в скрипте RegEditWB. | э нет, у меня все равно для путей к реестру используются переменные прописанные в vistape, в любом случаи скрипт придется изменять вручную, так что лучше даже видимость совместимости не делать ... NIKZZZZ на входе берем Цитата: [HKEY_LOCAL_MACHINE\SOFTWARE\!!] "string"="1234" "binary"=hex:12,34 "dword"=dword:000004d2 "multi string"=hex(7):31,32,33,34,00,34,33,32,31,00,31,31,32,33,34,35,36,37,38,\ 5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,\ 33,34,35,36,37,38,39,30,5c,00 "expantable"=hex(2):31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,\ 39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,\ 31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,\ 34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,\ 37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,\ 30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,\ 32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,\ 35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,\ 38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,\ 5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,33,34,35,36,37,38,39,30,5c,31,32,\ 33,34,35,36,37,38,39,30,5c,00 @="1234" | на выхоте получаем Цитата: RegWrite,"HKLM",0x1,"Tmp_softreg_hiv\SOFTWARE\!!","string","1234" RegWrite,"HKLM",0x3,"Tmp_softreg_hiv\SOFTWARE\!!","binary","12","34" RegWrite,"HKLM",0x4,"Tmp_softreg_hiv\SOFTWARE\!!","dword","1234" RegWrite,"HKLM",0x7,"Tmp_softreg_hiv\SOFTWARE\!!","multi string","31","32","33","34","00","34","33","32","31","00","31","31","32","33","34","35","36","37","38""5c","31","32","33","34","35","36","37","38","39","30","5c","31","32","33","34","35","36","37","38","39","30","5c","31","32""33","34","35","36","37","38","39","30","5c","00" RegWrite,"HKLM",0x2,"Tmp_softreg_hiv\SOFTWARE\!!","expantable","1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\1234567890\" RegWrite,"HKLM",0x1,"Tmp_softreg_hiv\SOFTWARE\!!","@","1234" | достаточно корректно? (меня уже плющит) |