DmitriyM Posted December 2, 2022 Share Posted December 2, 2022 (edited) #RequireAdmin $st = FileReadLine('C:\Program Files\Mozilla Firefox\xul.dll', 175055); $st2 = StringLeft($st, 80) $st3 = StringRight($st2, 12); FileWriteLine('1.txt', $st3) By a script this value changes normally. Edited December 2, 2022 by DmitriyM Link to comment Share on other sites More sharing options...
Developers Jos Posted December 2, 2022 Developers Share Posted December 2, 2022 You can't read "lines" from a Binary file! What exactly are you trying to do here? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
DmitriyM Posted December 2, 2022 Author Share Posted December 2, 2022 I'm looking to convert code to text so I can save it to a file. #include <Encoding.au3> _Encoding_ANSIToUTF8(FileWriteLine('1.txt', $st)) Link to comment Share on other sites More sharing options...
Developers Jos Posted December 2, 2022 Developers Share Posted December 2, 2022 That is not really what I asked..... Why do you wan to read the DLL? DLL in general is compiled code. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
DmitriyM Posted December 2, 2022 Author Share Posted December 2, 2022 From the compiled code, you can get values, numbers. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 2, 2022 Developers Share Posted December 2, 2022 Sigh, Last chance: Why do you need to read information from that DLL? Give me a proper legitimate reason and you might get help... keep avoiding a proper answer and this thread will be closed. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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