Page 2 of 2
Re: Extract file data from Raw View via script?
Posted: 13 Feb 2010 02:37
by xboxninja
SkyFrontier - as I mentioned, I'm pretty new to scripting in XYplorer so I don't think I'm the guy you want writing scripts for you!
The other responses in this thread seem to be right on and should give you at least a good start to create the script on your own.
Good luck!
Re: Extract file data from Raw View via script?
Posted: 13 Feb 2010 14:00
by SkyFrontier
Code: Select all
...came up with the following code:
Code:
//read the contents of the selected file into $a
$a = readfile(<curitem>, b);
//just grab the first part of the file to find the headers
$b = substr($a, 0, 500);
//dump the hex values to a variable
$c = hexdump($b);
gave me the wrong impression. I also play a lot with XY scripts and solved myself a few problems, but extracting exact pieces of text/replacing text inside a document is currently beyond me.
Hallgren: EcoByte software requires dotNET 3.5. But don't mind: as I said, I already have a little set to accomplish that task externally to XY.
Re: Extract file data from Raw View via script?
Posted: 13 Feb 2010 17:56
by j_c_hallgren
SkyFrontier wrote:Hallgren: EcoByte software requires dotNET 3.5. But don't mind: as I said, I already have a little set to accomplish that task externally to XY.
Ok...The site now has v2.2 and I have v2.0 which I still found on net at another site
http://www.ablestable.com/resources/free/free-pc3.htm as
http://www.ablestable.com/assets/free/pc/bkrep20.exe
I have D/L'd that copy and it compares identical to my old install and i don't believe that one required any external stuff.