zenmark22 Posted October 6, 2023 Posted October 6, 2023 (edited) The fact that I take a screenshot and keep it on the disk consumes a lot of time. Is there any solution to have this in binary mode, faster? Thanks! This is working: #include <ScreenCapture.au3> $File = @ScriptDir & "\img.jpg" _ScreenCapture_Capture($File) $hfile = FileOpen($File, 16) $data = FileRead($hfile) ConsoleWrite("binary img: " & $data & @CRLF) But, I try with : #include <ScreenCapture.au3> $hfile = FileOpen(_ScreenCapture_Capture(), 16) $data = FileRead($hfile) ConsoleWrite("binary img: " & $data & @CRLF) And not working... Edited October 7, 2023 by zenmark22
Solution Danp2 Posted October 6, 2023 Solution Posted October 6, 2023 You can't do it like that. Take a look at the solution provided in this thread -- Latest Webdriver UDF Release Webdriver Wiki FAQs
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