
DIMM_V2
Active Members-
Posts
24 -
Joined
-
Last visited
Profile Information
-
Member Title
DIMM_V2
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
DIMM_V2's Achievements
-
this is a home build but it's working each time. ✔️ Run("Everything.exe") Sleep(500) ; Get the handle of the "Everything" window $hWindow = WinGetHandle("Everything") ; Use the control class for the menu, not the main window class $hControl = ControlGetHandle($hWindow, "", "[CLASS:EVERYTHING]") ;~ activate some kind of focus for Everything ControlSend($hWindow, "", "", "!h") ControlSend($hWindow, "", "", "{ESC}") ;~ activate some kind of focus for Everything Sleep(500) WinMenuSelectItem($hWindow, "", "&Help", "&About Everything...")
-
WinWaitActive("Everything", "", "") $hWindow = WinGetHandle("Everything") ControlSend($hWindow, "", "", "!h") ControlSend($hWindow, "", "", "a") WinMenuSelectItem - i want to use this , to be shure that it really working your code ; and mine this is working , but it's too easy.
-
yes , i saw it , and it strange because as i said before , it works anyway , but first click must be on "help" , so that means that works , maybe i need to do some "focus" before .
-
Hi , this code is working only if i Click by myself on button "help" , why is that ? i have some mistakes here ? testing on 32 bits version of Everything Run("Everything.exe") ; Wait for the "Everything" window to become active Sleep(500) ; Get the handle of the "Everything" window $hWindow = WinGetHandle("Everything") ; Use the control class for the menu, not the main window class $hControl = ControlGetHandle($hWindow, "", "[CLASS:EVERYTHING]") Sleep(500) ControlFocus($hWindow, $hControl ,"[CLASS:EVERYTHING]") WinMenuSelectItem($hWindow, "", "&Help", "&About Everything...")
-
DIMM_V2 reacted to a post in a topic: click on button which is on Frame - (Moved)
-
DIMM_V2 reacted to a post in a topic: TreeView Click by text
-
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 .
-
you are on win 10 ? / 11 ?
-
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 .
-
DIMM_V2 reacted to a post in a topic: TreeView Click by text
-
why this one is not working ==> ControlTreeView("Everything Options", $hTreeView, "Select", "General|Home") ==> i have the title here , right ? i dont't understand . * yes it works well on windows 11 too,
-
Version : Everything 1.4.1.935 (x64) Version : Win 10 , build 2004 * maybe it is not working on windows 11, all my past tests are done on windows 11 ; except the last one , i will retest it later on win11. * for your test you must have the window Opened with label "Everything Options" , so it is not a main page . yes these lines are working ; full working code Run('Everything.exe') Sleep(1000) Send("^p") Sleep(1000) ; Get the handle of the SysTreeView32 control in the Everything window $hWnd = WinGetHandle("Everything Options") $hTreeView = ControlGetHandle("Everything Options", "", "[CLASS:SysTreeView32; INSTANCE:1]") Sleep(1000) ControlTreeView($hWnd,"", $hTreeView, "Select", "General|ui") ; kk Sleep(1000) ControlTreeView($hWnd,"", $hTreeView, "Select", "General|Home") ; kk Check Proof -)
-
$hWnd = WinGetHandle("Everything Options") ControlTreeView ( "title", "text", controlID, "command" [, option1] ) ==> this is official info , how to use . ControlTreeView($hWnd,"", $hTreeView, "Select", "General|ui") ; ==> this is working . why this one is not working ==> ControlTreeView("Everything Options", $hTreeView, "Select", "General|Home") ==> i have the title here , right ? i dont't understand .
-
DIMM_V2 reacted to a post in a topic: TreeView Click by text
-
can you give an example ,that should work ? with ControlTreeView ?
-
really ? this is my second line on the start of this post ==> .ps - it's working by index , but not by text . After some tests : this is working only with their own gui which is created by autoit, it can't run with external soft , or there is a bug ... so for me the function "ControlTreeView" present some bugs or not fully compatible. this is working code (this can change values in General , Home,Red,Green but fully useless : #RequireAdmin #include <GUIConstantsEx.au3> #include <TreeViewConstants.au3> #include <WindowsConstants.au3> #include <GuiTreeView.au3> Example() Func Example() Local $hGUI, $idTreeView ; Create a GUI $hGUI = GUICreate("TreeView Example", 300, 200) $idTreeView = GUICtrlCreateTreeView(10, 10, 280, 180) ; Add items to the TreeView Local $idRoot = GUICtrlCreateTreeViewItem("General", $idTreeView) Local $idChild1 = GUICtrlCreateTreeViewItem("Home", $idRoot) Local $idChild2 = GUICtrlCreateTreeViewItem("Red", $idRoot) Local $idChild3 = GUICtrlCreateTreeViewItem("Green", $idRoot) ; Show the GUI GUISetState(@SW_SHOW, $hGUI) ; Select the "Home" item _GUICtrlTreeView_SelectItem($idTreeView, $idChild1) WinActive("TreeView Example") $hWnd = WinGetHandle("TreeView Example") ; Get the handle of the SysTreeView32 control Local $hTreeView = ControlGetHandle($hWnd, "", "[CLASS:SysTreeView32; INSTANCE:1]") Sleep(2500) ControlTreeView($hWnd, "", $hTreeView, "Select", "General|Red") Sleep(1200) ControlTreeView($hWnd, "", $hTreeView, "Select", "General|Green") ; Run the GUI until the user closes it Do Sleep(10) Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete($hGUI) EndFunc this should work but this is not working : #RequireAdmin #include <GUIConstantsEx.au3> #include <TreeViewConstants.au3> #include <WindowsConstants.au3> ; Run the Everything application Run('Everything.exe') Sleep(1000) Send("^p") Sleep(1000) ; Get the handle of the SysTreeView32 control in the Everything window $hWnd = WinGetHandle("Everything Options") Local $hTreeView = ControlGetHandle("Everything Options", "", "[CLASS:SysTreeView32; INSTANCE:1]") ; Select the third item in the TreeView ;~ ControlTreeView($hGUI, "", $hTreeView_1, "Select", "Root|Item 4") ; example ControlTreeView($hWnd , "", "Select", "General|Home") ControlTreeView($hTreeView , "", "Select", "General|Home")
-
@@ Debug(32) : Failed to select item. Error code: 1 , this info i had already . 🤯
-
how to check for errors , by debug to console from Scite ? if yes there is nothing special : "ever.au3"(19,293) : error: syntax error" for the second point : I have tryed with 32 bit versions for "Everything" the same result . necessary details : im trying to click to "General > Home" as on my picture . os : ( win11 @ [Version 10.0.22621.2715])
-
* this code is working , but this is by index , i want to do that by text,so im not sure that the problem is in "parameter" ControlTreeView("", "", $hTreeView, "Select", "#0|#1") ; this is home #0|#1 if i understand well , it should be something like this ==> right ? because in my case i don't create any gui's . ControlTreeView($hTreeView, "", "Select", "#General|#Home") ; this is not working home ControlTreeView($hTreeView, "", "Select", "General|Home") ; this is not working home