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!
Extract file data from Raw View via script?
-
xboxninja
- Posts: 10
- Joined: 12 Feb 2010 15:10
- Location: New Jersey, USA
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Extract file data from Raw View via script?
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);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.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Extract file data from Raw View via script?
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.exeSkyFrontier 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.
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.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
XYplorer Beta Club