| View previous topic :: View next topic |
| Author |
Message |
rockit0
Joined: 06 Oct 2006 Posts: 31
|
Posted: Sat Mar 13, 2010 7:37 pm Post subject: help to RegWrite Hexadecimal code at windows registry |
|
|
[...]
The following table gives the hexadecimal character codes used by ASCII to represent characters inside the computer:
00 = NUL
01 = SOH
02 = STX
03 = ETX
04 = EOT
05 = ENQ
06 = ACK
07 = BEL
08 = BS
09 = HT
0A = LF
0B = VT
0C = FF
0D = CR
0E = SO
0F = SI
10 = DLE
11 = DC1
12 = DC2
13 = DC3
14 = DC4
15 = NAK
16 = SYN
17 = ETB
18 = CAN
19 = EM
1A = SUB
1B = ESC
1C = FS
1D = GS
1E = RS
1F = US
20 = space
21 = ! 22 = " 23 = # 24 = $ 25 = % 26 = & 27 = '
28 = ( 29 = ) 2A = * 2B = + 2C = , 2D = - 2E = . 2F = /
30 = 0 31 = 1 32 = 2 33 = 3 34 = 4 35 = 5 36 = 6 37 = 7
38 = 8 39 = 9 3A = : 3B = ; 3C = < 3D = = 3E = > 3F = ?
40 = @ 41 = A 42 = B 43 = C 44 = D 45 = E 46 = F 47 = G
48 = H 49 = I 4A = J 4B = K 4C = L 4D = M 4E = N 4F = O
50 = P 51 = Q 52 = R 53 = S 54 = T 55 = U 56 = V 57 = W
58 = X 59 = Y 5A = Z 5B = [ 5C = \ 5D = ] 5E = ^ 5F = _
60 = ` 61 = a 62 = b 63 = c 64 = d 65 = e 66 = f 67 = g
68 = h 69 = i 6A = j 6B = k 6C = l 6D = m 6E = n 6F = o
70 = p 71 = q 72 = r 73 = s 74 = t 75 = u 76 = v 77 = w
78 = x 79 = y 7A = z 7B = { 7C = | 7D = } 7E = ~ 7F = DEL
Codes with a hexadecimal value less than 20 16 are called "control characters". These were used in the past for teletype and pre-LAN communications protocols, and only a few have much relevance today. Of these, the (carriage) return ("CR") and the line feed ("LF"), or new line, are of particular interest.
[...]
if i write de word "CIEL3" using autohotkey with this command:
RegWrite,REG_SZ,HKEY_CURRENT_USER,Software\Prog\etc...,MetaStockSourceInfo1,CIEL3
the binary value at windows registry will be 43 00 49 00 45 00 4C 00 33 00 00 00 like this:
I have dificult to write this invisible char like 1C (FS) and my question is:
how to write the same word CIEL3 but adding this invisible char like this image:
thank's |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Sat Mar 13, 2010 8:37 pm Post subject: |
|
|
Tested:
| Code: | | RegWrite, REG_BINARY, HKCU, Software\AutoHotkey, Test, 4300490045004C0033001C00 |
|
|
| Back to top |
|
 |
rockit0
Joined: 06 Oct 2006 Posts: 31
|
Posted: Sun Mar 14, 2010 6:11 am Post subject: |
|
|
| SKAN wrote: | Tested:
| Code: | | RegWrite, REG_BINARY, HKCU, Software\AutoHotkey, Test, 4300490045004C0033001C00 |
|
Thank's for try but i continues have the problem.
This answer works fine if i have only one variable that is CIEL3.
When i post this topic i resumed my question but the true is that i have a giant list of variables to write:
[...]
CIEL3
SANB11
MRVE3
PDGR3
OGXP3
PCAR5
PETR4
RDCD3
RSID3
SBSP3
CSNA3
CRUZ3
TAMM4
TNLP3
TNLP4
TMAR5
TLPP4
TCSL3
TCSL4
TRPL4
UGPA4
USIM3
USIM5
VALE5
VIVO4
[...]
i have to write each one of this list two times separated by this hexadeximal code 1C (FS) and after put some , and space like this image:
HELP!
how to do this? |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Sun Mar 14, 2010 6:24 am Post subject: |
|
|
| rockit0 wrote: | but i continues have the problem.
This answer works fine if i have only one variable that is CIEL3. |
I did not expect you to run the code as is..
Whatever string you need to write should be
1) Converted into Unicode String
2) ( and then ) Converted into Hex String
Ample examples for both are available in the forum.
Please do a forum search. |
|
| Back to top |
|
 |
rockit0
Joined: 06 Oct 2006 Posts: 31
|
Posted: Sun Mar 14, 2010 2:02 pm Post subject: |
|
|
| oh my god |
|
| Back to top |
|
 |
|