DIMM_V2 Posted December 4, 2023 Author Posted December 4, 2023 4 hours ago, Danp2 said: Ok... so this appears to be the same issue as described in this prior thread. Running the script in x64 mode works for me. #AutoIt3Wrapper_UseX64=Y #include <GUIConstantsEx.au3> #include <TreeViewConstants.au3> #include <WindowsConstants.au3> ; Run the Everything application Run('C:\Program Files\Everything\Everything.exe') Sleep(1000) Send("^p") Sleep(1000) ; Get the handle of the SysTreeView32 control in the Everything window Local $hWnd = WinGetHandle("Everything Options") Local $hTreeView = ControlGetHandle($hWnd, "", "[CLASS:SysTreeView32; INSTANCE:1]") ControlTreeView($hWnd , "", $hTreeView, "Select", "General|Home") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : ControlTreeView = Error code: ' & @error & @CRLF) now im doing some advanced test , and I See that for me it's working only with 32 bits version of Everything @win11 , can you post your Everything version ? and on which os you are ? win 10 / win 11 ? and build . and the "#AutoIt3Wrapper_UseX64=Y" changes nothing to me .
Danp2 Posted December 4, 2023 Posted December 4, 2023 Everything v1.4.1.1024 (x64) is what I installed. Could be related to the issue described in this thread. Latest Webdriver UDF Release Webdriver Wiki FAQs
DIMM_V2 Posted December 4, 2023 Author Posted December 4, 2023 4 hours ago, Danp2 said: Running the script in x64 mode works for me. you are on win 10 ? / 11 ?
Danp2 Posted December 4, 2023 Posted December 4, 2023 Win 11 x64 Latest Webdriver UDF Release Webdriver Wiki FAQs
DIMM_V2 Posted December 4, 2023 Author Posted December 4, 2023 (edited) I See interesting thing , this is working for 64bits only from SciTE.exe , not from cmd,powershell or Visual Studio Code . this is really strange , or maybe it is normal because there are an argument "#AutoIt3Wrapper_UseX64=Y" which is accepted only by Scite ? if compiled in x64 to final exe , this works fine . Edited December 4, 2023 by DIMM_V2
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