Administrators Jon Posted April 4, 2007 Administrators Share Posted April 4, 2007 What does the FileOpen raw mode do? Why is it useful? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted April 4, 2007 Share Posted April 4, 2007 thats a good question.. Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
therks Posted April 5, 2007 Share Posted April 5, 2007 Coming from the man himself. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
Administrators Jon Posted April 5, 2007 Author Administrators Share Posted April 5, 2007 So is it likely to be used by anyone in normal scripting circles for anything other than going "huh" when they see it in the help file? It don't see why it's there tbh (apart from bugging me when debugging the file code ) Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
evilertoaster Posted April 11, 2007 Share Posted April 11, 2007 http://www.autoitscript.com/forum/index.ph...9392&hl=rawI described it as best i could at the start of that post (heed not the later posts as it goes into a tangent).Just reads hex , like opening a file in binary mode (instead of text mode) in C/C++ correct? Link to comment Share on other sites More sharing options...
jvanegmond Posted April 16, 2007 Share Posted April 16, 2007 I was playing around with this question, and found that the output from this script, when using RAW mode is much longer.. How is that? $Filename = FileOpenDialog("Try this on image files such as JPG","", "All Files (*.*)") If @error Then Exit ;Read mode $Filehandle = FileOpen($Filename,0) $Read = FileRead($Filehandle,512) FileClose($Filehandle) $Split = StringSplit($Read,'') Dim $Return For $x = 1 to $Split[0] $Return &= Hex($Split[$x],2) & " " Next MsgBox(0, "Normal Read Mode", $Return) ; Raw read mode $Filehandle = FileOpen($Filename,4) $Read = FileRead($Filehandle,512) FileClose($Filehandle) $Split = StringSplit($Read,'') Dim $Return For $x = 1 to $Split[0] $Return &= Hex($Split[$x],2) & " " Next MsgBox(0, "RAW Mode", $Return) github.com/jvanegmond Link to comment Share on other sites More sharing options...
MHz Posted April 16, 2007 Share Posted April 16, 2007 As Larry posted. You cannot read the eltoro boot image unless you read it raw by it's position on the disk. Other uses would be formating or forensic. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now