Board logo

标题: [AU3基础] AU3怎么添加注册表类型为REG_BINARY的值(已解决) [打印本页]

作者: 你没有kii    时间: 2017-1-10 19:46     标题: AU3怎么添加注册表类型为REG_BINARY的值(已解决)

本帖最后由 你没有kii 于 2017-1-10 22:42 编辑

$reg="以下的值"
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData","UserFilter","REG_BINARY","$reg")
用此语句怎么添加以下的注册表的值我想请教的是用什么工具转换的还是手动改,请教方法
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData]
"UserFilter"=hex:41,1f,00,00,53,08,ad,ba,06,00,00,00,fe,00,00,00,01,00,00,00,\
  06,00,00,00,0c,00,00,00,b4,35,1f,ea,57,3a,d2,01,01,00,00,00,0b,00,31,00,30,\
  00,2e,00,31,00,36,00,2e,00,30,00,2e,00,31,00,34,00,30,00,0c,00,00,00,28,1a,\
  f4,ee,57,3a,d2,01,01,00,00,00,0b,00,31,00,30,00,2e,00,31,00,36,00,2e,00,30,\
  00,2e,00,31,00,34,00,38,00,0c,00,00,00,1a,94,8d,f3,57,3a,d2,01,01,00,00,00,\
  0b,00,31,00,30,00,2e,00,31,00,36,00,2e,00,32,00,35,00,2e,00,33,00,35,00,0c,\
  00,00,00,ac,89,3f,12,58,3a,d2,01,01,00,00,00,0b,00,31,00,30,00,2e,00,31,00,\
  36,00,2e,00,30,00,2e,00,31,00,32,00,33,00,0c,00,00,00,f4,4d,2c,1f,58,3a,d2,\
  01,01,00,00,00,0b,00,31,00,30,00,2e,00,31,00,36,00,2e,00,32,00,35,00,2e,00,\
  33,00,36,00,0c,00,00,00,bc,36,1d,15,a5,61,d2,01,01,00,00,00,0c,00,6d,00,69,\
  00,64,00,65,00,61,00,2e,00,63,00,6f,00,6d,00,2e,00,63,00,6e,00
//兼容站点
作者: 你没有kii    时间: 2017-1-10 22:46

先复制hex:后面数值,替换掉逗号降杠,缩成一行。选中全部再用AUE软件的工具转换文字为au3字符串。然后去掉$string = _
''再最前面加上0x放进去就OK了。实际结果如下:
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData","UserFilter","REG_BINARY","0x411f00005308adba06000000fe00000001000000060000000c000000b4351fea573ad201010000000b00310030002e00310036002e0030002e003100340030000c000000281af4ee573ad201010000000b00310030002e00310036002e0030002e003100340038000c0000001a948df3573ad201010000000b00310030002e00310036002e00320035002e00330035000c000000ac893f12583ad201010000000b00310030002e00310036002e0030002e003100320033000c000000f44d2c1f583ad201010000000b00310030002e00310036002e00320035002e00330036000c000000bc361d15a561d201010000000c006d0069006400650061002e0063006f006d002e0063006e00")




欢迎光临 AUTOIT CN (http://autoitx.com/) Powered by Discuz! 7.2