| Author |
Message |
   
Omar Ramano
Username: hexuae
Registered: N/A
| | Posted on Sunday, Nov 11, 2007 - 11:27: | |
Hello, I have fallen in love with your HEX editor and wanted to know how to create a template to do the same operations that the Hex Value Replace feature does, but in a batch operation, thus doing it multiple times. This following example doesn't make sense, but for the sake of an example.. How would I acheive the following? Replace all 'AA' values with 'BB' then Replace all '3A' values with '3B' then Replace all '1D' values with 'DA' Basically just creating a template of a bunch of replaces. Thanks so much for the great software and I eagerly await a helpful reply!  |
   
Stefan Fleischmann
Username: admin
Registered: 1-2001
| | Posted on Sunday, Nov 11, 2007 - 12:01: | |
Templates are merely a special way to represent data. They are totally inactive and can never change any data. For what you have in mind you would use a script in WinHex instead. The script commands are all explained in the program help and user manual. Looks like you simply need the ReplaceAll command. |
   
Omar Ramano
Username: hexuae
Registered: N/A
| | Posted on Sunday, Nov 11, 2007 - 13:26: | |
Thanks so much for the fast reply and point in the right direction. It seems script is what I am looking for and not template. Now I just have to figure out how to write ReplaceAll commands for a handful of the Hex values. Thanks again! |