找回密码
 加入
搜索
查看: 4675|回复: 13

还是关于Regwrite修改REG_BINARY键值的问题,搜索其它贴解决不了

[复制链接]
发表于 2009-7-28 17:36:02 | 显示全部楼层 |阅读模式
各位看看这个注册表怎么写,用Reg2Au3转换出错,行不通。各位前辈支支招
;26、任务栏上打开快速启动
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]
"TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,\
d8,64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,01,00,00,1a,00,00,00,\
01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,\
00,00,00,c0,00,00,00,00,00,00,46,83,00,00,00,10,00,00,00,a0,b0,48,5e,89,8d,\
bd,01,00,d8,9e,e4,2a,8d,bd,01,00,45,fe,5e,89,8d,bd,01,00,00,00,00,00,00,00,\
00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13,01,14,00,1f,0f,e0,4f,\
d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,23,44,3a,5c,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,cd,97,15,00,31,00,00,00,00,00,af,24,5c,\
b9,10,80,57,69,6e,6e,74,00,00,20,00,31,00,00,00,00,00,af,24,a3,b9,10,00,50,\
72,6f,66,69,6c,65,73,00,50,52,4f,46,49,4c,45,53,00,19,00,31,00,00,00,00,00,\
c1,24,08,92,10,00,69,65,35,30,30,2e,30,30,30,00,00,28,00,31,00,00,00,00,00,\
c1,24,08,92,10,00,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,00,41,50,\
50,4c,49,43,7e,31,00,21,00,31,00,00,00,00,00,c5,22,9d,91,10,00,4d,69,63,72,\
6f,73,6f,66,74,00,4d,49,43,52,4f,53,7e,31,00,29,00,31,00,00,00,00,00,d3,22,\
32,a6,10,00,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,00,49,4e,54,\
45,52,4e,7e,31,00,24,00,31,00,00,00,00,00,db,22,76,ba,10,00,51,75,69,63,6b,\
20,4c,61,75,6e,63,68,00,51,55,49,43,4b,4c,7e,31,00,00,00,8d,00,00,00,1c,00,\
00,00,01,00,00,00,1c,00,00,00,36,00,00,00,0d,f0,ad,ba,8c,00,00,00,1a,00,00,\
00,03,00,00,00,e7,18,2d,23,10,00,00,00,49,45,35,30,30,5f,58,31,43,00,43,3a,\
5c,57,49,4e,4e,54,5c,50,72,6f,66,69,6c,65,73,5c,49,45,35,30,30,2e,30,30,30,\
5c,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,5c,4d,69,63,72,6f,73,6f,\
66,74,5c,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,5c,51,75,69,63,\
6b,20,4c,61,75,6e,63,68,00,00,10,00,00,00,05,00,00,a0,1a,00,00,00,a3,00,00,\
00,00,00,00,00,08,00,00,00,02,00,00,00,cc,00,00,00,01,00,00,00,03,00,00,00,\
4a,00,00,00,01,00,00,00,40,00,32,00,e6,01,00,00,c4,24,15,9f,20,00,4c,61,75,\
6e,63,68,20,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,20,42,72,6f,\
77,73,65,72,2e,6c,6e,6b,00,4c,41,55,4e,43,48,7e,32,2e,4c,4e,4b,00,00,00,40,\
00,00,00,02,00,00,00,36,00,32,00,48,02,00,00,c4,24,15,9f,20,00,4c,61,75,6e,\
63,68,20,4f,75,74,6c,6f,6f,6b,20,45,78,70,72,65,73,73,2e,6c,6e,6b,00,4c,41,\
55,4e,43,48,7e,31,2e,4c,4e,4b,00,00,00,36,00,00,00,00,00,00,00,2c,00,32,00,\
51,00,00,00,ec,22,46,39,20,00,53,68,6f,77,20,44,65,73,6b,74,6f,70,2e,73,63,\
66,00,53,48,4f,57,44,45,7e,31,2e,53,43,46,00,00,00,52,00,00,00,e0,00,00,00,\
00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,\
00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,\
00,00,e0,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,\
00,00,00,00,00,01,00,00,00
发表于 2009-7-28 18:02:52 | 显示全部楼层
这个是十六进制表示的二进制值,可以直接写,把逗号去了就行了
发表于 2009-7-28 18:04:20 | 显示全部楼层
直接用注册表.reg文件有效?
 楼主| 发表于 2009-7-28 18:07:31 | 显示全部楼层
这个是十六进制表示的二进制值,可以直接写,把逗号去了就行了
netegg 发表于 2009-7-28 18:02


多谢前辈,我试试看

直接用注册表.reg文件有效?
afan 发表于 2009-7-28 18:04


直接保存成.reg文件执行有效
发表于 2009-7-28 18:11:33 | 显示全部楼层
RegWrite('HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop', 'TaskbarWinXP', 'REG_BINARY',  _
                '0c000000080000000200000000000000b0e22bd86457d011a96e00c04fd705a222001c000a0100001a000000010000000000' & _
                '000000000000000000004c0000000114020000000000c0000000000000468300000010000000a0b0485e898dbd0100d89ee4' & _
                '2a8dbd010045fe5e898dbd01000000000000000001000000000000000000000000000000130114001f0fe04fd020ea3a6910' & _
                'a2d808002b30309d190023443a5c0000000000000000000000000000000000cd971500310000000000af245cb9108057696e' & _
                '6e7400002000310000000000af24a3b9100050726f66696c65730050524f46494c4553001900310000000000c12408921000' & _
                '69653530302e30303000002800310000000000c124089210004170706c69636174696f6e2044617461004150504c49437e31' & _
                '002100310000000000c5229d9110004d6963726f736f6674004d4943524f537e31002900310000000000d32232a61000496e' & _
                '7465726e6574204578706c6f72657200494e5445524e7e31002400310000000000db2276ba1000517569636b204c61756e63' & _
                '6800515549434b4c7e310000008d0000001c000000010000001c000000360000000df0adba8c0000001a00000003000000e7' & _
                '182d231000000049453530305f58314300433a5c57494e4e545c50726f66696c65735c49453530302e3030305c4170706c69' & _
                '636174696f6e20446174615c4d6963726f736f66745c496e7465726e6574204578706c6f7265725c517569636b204c61756e' & _
                '6368000010000000050000a01a000000a3000000000000000800000002000000cc00000001000000030000004a0000000100' & _
                '000040003200e6010000c424159f20004c61756e636820496e7465726e6574204578706c6f7265722042726f777365722e6c' & _
                '6e6b004c41554e43487e322e4c4e4b00000040000000020000003600320048020000c424159f20004c61756e6368204f7574' & _
                '6c6f6f6b20457870726573732e6c6e6b004c41554e43487e312e4c4e4b00000036000000000000002c00320051000000ec22' & _
                '4639200053686f77204465736b746f702e7363660053484f5744457e312e53434600000052000000e0000000000000001600' & _
                '0000000000000000000016000000000000000100000001000000aa4f2868486ad0118c7800c04fd918b437020000e0000000' & _
                '00000000160000000000000000000000160000000000000001000000')
试下行不~
 楼主| 发表于 2009-7-28 18:14:43 | 显示全部楼层
RegWrite('HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop', 'TaskbarWinXP', 'REG_BINARY',  _
                '0c000000080000000200000000000000b0e22bd86457d011a96e00c04fd705a2 ...
afan 发表于 2009-7-28 18:11


前辈是用reg2a3u转的吗,我试了,编译出错
发表于 2009-7-28 18:32:46 | 显示全部楼层
本帖最后由 afan 于 2009-7-28 19:07 编辑
RegWrite('HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop', 'TaskbarWinXP', 'REG_BINARY',  _
                '0x0c000000080000000200000000000000b0e22bd86457d011a96e00c04fd705a222001c000a0100001a000000010000000000' & _
                '000000000000000000004c0000000114020000000000c0000000000000468300000010000000a0b0485e898dbd0100d89ee4' & _
                '2a8dbd010045fe5e898dbd01000000000000000001000000000000000000000000000000130114001f0fe04fd020ea3a6910' & _
                'a2d808002b30309d190023443a5c0000000000000000000000000000000000cd971500310000000000af245cb9108057696e' & _
                '6e7400002000310000000000af24a3b9100050726f66696c65730050524f46494c4553001900310000000000c12408921000' & _
                '69653530302e30303000002800310000000000c124089210004170706c69636174696f6e2044617461004150504c49437e31' & _
                '002100310000000000c5229d9110004d6963726f736f6674004d4943524f537e31002900310000000000d32232a61000496e' & _
                '7465726e6574204578706c6f72657200494e5445524e7e31002400310000000000db2276ba1000517569636b204c61756e63' & _
                '6800515549434b4c7e310000008d0000001c000000010000001c000000360000000df0adba8c0000001a00000003000000e7' & _
                '182d231000000049453530305f58314300433a5c57494e4e545c50726f66696c65735c49453530302e3030305c4170706c69' & _
                '636174696f6e20446174615c4d6963726f736f66745c496e7465726e6574204578706c6f7265725c517569636b204c61756e' & _
                '6368000010000000050000a01a000000a3000000000000000800000002000000cc00000001000000030000004a0000000100' & _
                '000040003200e6010000c424159f20004c61756e636820496e7465726e6574204578706c6f7265722042726f777365722e6c' & _
                '6e6b004c41554e43487e322e4c4e4b00000040000000020000003600320048020000c424159f20004c61756e6368204f7574' & _
                '6c6f6f6b20457870726573732e6c6e6b004c41554e43487e312e4c4e4b00000036000000000000002c00320051000000ec22' & _
                '4639200053686f77204465736b746f702e7363660053484f5744457e312e53434600000052000000e0000000000000001600' & _
                '0000000000000000000016000000000000000100000001000000aa4f2868486ad0118c7800c04fd918b437020000e0000000' & _
                '00000000160000000000000000000000160000000000000001000000')
我哪是前辈,我是新新菜鸟。这样应该可以了,输出结果一致。
 楼主| 发表于 2009-7-28 19:23:24 | 显示全部楼层
RegWrite('HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop', 'TaskbarWinXP', 'REG_BINARY',  _
                '0x0c000000080000000200000000000000b0e22bd86457d011a96e00c04fd705 ...
afan 发表于 2009-7-28 18:32


可以了,问题出在哪啊??多谢
发表于 2009-7-28 19:47:48 | 显示全部楼层
在值 0c 前面补个 0x 就行了
发表于 2009-7-29 00:38:15 | 显示全部楼层
afan很强啊
 楼主| 发表于 2009-7-30 09:17:13 | 显示全部楼层
有人知道为什么要补0x?
发表于 2009-7-30 09:19:44 | 显示全部楼层
打开regedit,你会明白一切,一直都要0X
 楼主| 发表于 2009-7-30 09:52:04 | 显示全部楼层
我在scite编辑器里调试,感觉数据多的话就会出错,我截断一部分,编译不出错
大家可以试试下面的,肯定会出错,截断一部分不会出错,为什么呢?
RegWrite('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop', 'TaskbarWinXP', 'REG_BINARY',  _
                '0x0c000000080000000300000000000000b0e22bd86457d011a96e00c04fd705a222001c000a1100001a000000010000000000' & _
                '000000000000000000004c0000000114020000000000c000000000000046810000001100000022b5c066de84c9015285ec36' & _
                '4b0cca015285ec364b0cca01000000000000000001000000000000000000000000000000ff0114001f50e04fd020ea3a6910' & _
                'a2d808002b30309d19002f433a5c000000000000000000000000000000000000005c00310000000000fc3ac7491000444f43' & _
                '554d457e310000440003000400efbe8439b44afc3ac7491400000044006f00630075006d0065006e0074007300200061006e' & _
                '0064002000530065007400740069006e0067007300000018003400310000000000e73af15410003230303900002000030004' & _
                '00efbe423af813e73af154140000003200300030003900000014006400310000000000ea3a231813004150504c49437e3100' & _
                '004c0003000400efbe423af813ea3a2318140036004100700070006c00690063006100740069006f006e0020004400610074' & _
                '0061000000407368656c6c33322e646c6c2c2d32313736350018004200310000000000423a301414004d4943524f537e3100' & _
                '002a0003000400efbe423af813423a3014140000004d006900630072006f0073006f00660074000000180052003100000000' & _
                '00423afa131000494e5445524e7e3100003a0003000400efbe423af813423afa131400000049006e007400650072006e0065' & _
                '00740020004500780070006c006f00720065007200000018004800310000000000423afb131100515549434b4c7e31000030' & _
                '0003000400efbe423af913423afb131400000051007500690063006b0020004c00610075006e006300680000001800000060' & _
                '000000030000a058000000000000006e65742d616475000000000000000000a689b52f6aa03b479312e2534a04c80ca903b7' & _
                'c2cdf0dd1192b2001fc6eefeada689b52f6aa03b479312e2534a04c80ca903b7c2cdf0dd1192b2001fc6eefead1000000005' & _
                '0000a01a00000021010000000000000800000002000000960800000100000013000000620000001200000054003600860200' & _
                '00f83a1a552000330036003000895b68514f6dc88968562e006c006e00300003000400efbef83a1a55f83a1a551400000033' & _
                '0036003000895b68514f6dc88968562e006c006e006b000000240000000000000074010000040000006600320083090000fc' & _
                '3a5d14200044414d4557417e312e4c4e4b00004a0003000400efbe4e3a880ba83a9a6c14000000440061006d006500570061' & _
                '007200650020004e00540020005500740069006c00690074006900650073002e006c006e006b0000001c00000000000000f8' & _
                '00000043003a005c0044006f00630075006d0065006e0074007300200061006e0064002000530065007400740069006e0067' & _
                '0073005c0032003000300039005c004100700070006c00690063006100740069006f006e00200044006100740061005c004d' & _
                '006900630072006f0073006f00660074005c0049006e007300740061006c006c00650072005c007b00350032004400380036' & _
                '003200460039002d0046003200380031002d0034003100420035002d0038003800300036002d003500380044003400410042' & _
                '004200380031003500390045007d005c00490063006f006e00410032004500360035004200430041002e0065007800650000' & _
                '00030000005c0000000e0000004e003200dc020000b03a35242000445245414d4d7e312e4c4e4b0000320003000400efbeb0' & _
                '3a3524b03a35241400000044007200650061006d004d00610069006c002e006c006e006b0000001c00000000000000560000' & _
                '0008000000480032003e020000593a961b2000467470727573682e6c6e6b002e0003000400efbe593a961ba83a9a6c140000' & _
                '0046007400700072007500730068002e006c006e006b0000001a000000000000005a000000010000004c003200590200004d' & _
                '3a3d2a200049636553776f72642e6c6e6b0000300003000400efbe4d3a3d2aa83a4b6514000000490063006500530077006f' & _
                '00720064002e006c006e006b0000001c0000000000000054000000100000004600320051020000cf3a2a1120004953546f6f' & _
                '6c2e6c6e6b00002c0003000400efbecf3a2a11cf3a2a11140000004900530054006f006f006c002e006c006e006b0000001a' & _
                '000000000000007a0000000c0000006c0032007c0200006a3aa02d20004d4943524f537e312e4c4e4b0000500003000400ef' & _
                'be6a3aa02da83a9a6c140000004d006900630072006f0073006f006600740020004f006600660069006300650020004f0075' & _
                '0074006c006f006f006b002e006c006e006b0000001c000000000000005e00000005000000500032007a020000503ae94c20' & _
                '004e45544d45457e312e4c4e4b0000340003000400efbe503ae94ca83a9a6c140000004e00650074004d0065006500740069' & _
                '006e0067002e006c006e006b0000001c00000000000000900000000d000000820032003f020000a93a154820005350582049' & _
                '6e7374616e742053637265656e20436170747572652e6c6e6b0000540003000400efbea93a1548a93a154814000000530050' & _
                '005800200049006e007300740061006e0074002000530063007200650065006e00200043006100700074007500720065002e' & _
                '006c006e006b0000002e0000000000000064000000110000005600320040020000e83a525020005454504c41597e312e4c4e' & _
                '4b00003a0003000400efbee83a5250e83a5250140000005400540050006c006100790065007200200050006c00750073002e' & _
                '006c006e006b0000001c000000000000005c0000000f0000004e0032003b070000c93a04242000554c545241457e312e4c4e' & _
                '4b0000320003000400efbec93a0424c93a04241400000055006c0074007200610045006400690074002e006c006e006b0000' & _
                '001c000000000000005e000000030000005000320089020000ac3ae04520005653544152547e312e4c4e4b00003400030004' & _
                '00efbeac3ae045ac3ae045140000005600530074006100720074002e006500780065002e006c006e006b0000001c00000000' & _
                '000000720000000900000064003200240300005a3a235e200057494e444f577e312e4c4e4b0000480003000400efbe5a3a23' & _
                '5ea83a9a6c14000000570069006e0064006f007700730020004d006500640069006100200050006c0061007900650072002e' & _
                '006c006e006b0000001c000000000000005c000000070000004e00360063020000893acd532000b250386e4f6dc889685632' & _
                '002e006c006e006b002c0003000400efbe583a6109a83a9a6c14000000b250386e4f6dc889685632002e006c006e006b0000' & _
                '0022000000000000004e0000000a0000004000360043020000623a683520003575749a2e006c006e006b0000002400030004' & _
                '00efbe623a6835a83a9a6c140000003575749a2e006c006e006b0000001c000000000000005a000000060000004c0036001b' & _
                '020000a43a015020004951715f549b2f674b622e006c006e006b0000002a0003000400efbe553acb09a83a9a6c1400000049' & _
                '51715f549b2f674b622e006c006e006b000000220000000000000098000000000000008a0036002f030000d93a735920002f' & _
                '54a852200049006e007400650072006e0065007400660003000400efbe423af913a83a067314004e002f54a852200049006e' & _
                '007400650072006e006500740020004500780070006c006f0072006500720020004f6dc88968562e006c006e006b00000040' & _
                '78707370317265732e646c6c2c2d313130303300002400000000000000560000000b00000048003600cf020000893acd5320' & _
                '007e81af8b540054002e006c006e006b000000280003000400efbe633a4822a83a9a6c140000007e81af8b540054002e006c' & _
                '006e006b00000020000000000000006a000000020000005c0036004f000000423afb1320003e663a794c6862972e00730063' & _
                '00660000003c0003000400efbe423afb13a83a5a6f140026003e663a794c6862972e00730063006600000040787073703272' & _
                '65732e646c6c2c2d363130300020000000000000000000000060070000000000001600000000000000000000001600000000' & _
                '0000000100000001000000aa4f2868486ad0118c7800c04fd918b4d1020000600d0000000000001600000000000000000000' & _
                '00160000000000000001000000020000008b8a0d543f1c324e8132530f6a5020902f00000060050000000000001800000000' & _
                '00000000000000180000000000000001000000')
发表于 2009-8-12 00:42:20 | 显示全部楼层
15. 目前AutoIt v3有什么技术上的局限吗?
下面详细列出目前AutoIt在技术上的局限.要注意的是,一些所谓的限制其实是理论上的,因此往往在能达到实际限制之前您就会碰到有关性能和内存的问题,

  

最大单行脚本长度: 4,095
最大字符串长度: 2,147,483,647 个字符

数字范围(浮点): 1.7E–308 到 1.7E+308 有 15 位的精确度
数字范围(整数): 64 位带符号整数
十六进制数目: 32 位带符号整数(0x80000000 到 0x7FFFFFFF)

数组: 最大64维 和/或 共1600万个元素
递归函数能够调用的最大深度: 5100 级

能够同时使用的最大变量数量: 没有限制
用户定义函数的最大数量: 没有限制

GUI窗口的最大数量: 没有限制
每个窗口中的GUI控件的最大数量: 65532
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-26 12:20 , Processed in 0.079897 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表