Win hex scripts

10/29/2008 21:12 Greenhouse#1
How do you make those? The winhex help doesnt make any sense :D i looked at some .whs files that i had but i couldnt figure it out :confused:
10/29/2008 21:52 link#2
It does make sense.
Simply take a look at the 'Scripts' category in the help file.
You'll find a description of those and a list of all functions, which are available.
If you aren't able to locate anything about it, contact me for further information.
11/01/2008 00:22 Greenhouse#3
i appreciate ur help bro. what would i write to tell the prog to go to offset X and write Y there? thts rly all i need i guess :D
11/01/2008 04:58 link#4
If you really do not need more, try using something like this:

Quote:
Goto 0x128 ;Address in Hexa
Write 0x0D0A ;Write a value to file
You may also need:
Quote:
Save ;Saves the file
Read MyVariable 10 ;Read 10 Bytes beginning at the current position ('Opens' or 'Creates' the variable)
Write MyVariable ;You can also use it with a variable
Move -100 ;Cursor goes back a hundred bytes
MessageBox "Caution" ;Shows MessageBox with 'OK' or 'Cancel' (if Cancel Script Execution will be canceled)
And there are even some If-Commands...
But I think if you'd need them you should better read them on your own ;-)

At last: I attached the help files in English and German.
Just open it, view "Selected Concepts" ("Ausgewählte Grundkonzepte") and select the 7th title (also known as "Scripts").


PS: Sorry if it's wrong, but I didn't ever write a script for it, too.
[+ I did not tested it...]
11/02/2008 18:30 Greenhouse#5
ill check it out when i get home from work ;)