When a control doesn't respond to ControlClick()... - (Moved)
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By edubensa
Hi! Can someone help me with this? I upgraded from SciTe Edit Lite to full version. Now every time I edit a script it opens on a new SciTe tab, but I want it opens on a new window like before the upgrade. Can someone help me with that? Thanks!!
-
By Cengokill
Hi everyone,
I have created a ListView that is in a tab, and I want to display an image in that tab, with the ListView on top.
However, the image still appears on top of my ListView.
If I remove the tabs everything works.
I looked at the autoit documentation and the <GuiListView.au3> documentation , I can't figure out how to display a background image, and put on top a ListView, inside a tab. 😥
Here is the code:
Opt("GUIOnEventMode", 1) $Form1 = GUICreate($Titre, 700, 627, $Form1Width, $Form1Height); main window $tabulation = GUICtrlCreateTab(148,0,700,580); creating tabs $tab1=GUICtrlCreateTabItem("Tab 1"); first tab GUICtrlSetState(-1, $GUI_SHOW); this tab is selected by default $Pic1 = GUICtrlCreatePic("image.jpg", 0, 30, 700, 627) GUICtrlSetState(-1, $GUI_DISABLE). $idListview = GUICtrlCreateListView("list 1|list 2|list 3", 200, 50, 390, 200) GUISetState(@SW_SHOW) While 1 Sleep(100) WEnd Thank you in advance.
-
By basictheprogram
#include <Constants.au3> Func Install() ConsoleWrite("Install EasyLog" & @LF) Local $handle = WinWaitActive("EasyLog USB Device Driver Installer") ConsoleWrite("Install EasyLog2 " & $handle & @LF) Local $blah = ControlClick($handle, "", "[CLASS:Button; INSTANCE:1]", "Left", 1) ConsoleWrite("Install EasyLog3 " & $blah & @LF) WinClose($handle) EndFunc Install() ConsoleWrite("End of Install!" & @LF) Trying to get AutoIt to click "Install" on the EasyLogUSB Device Driver Installer window.
Console displays:
Install EasyLog
Install EasyLog2 0x001B041E
Install EasyLog3 1
End of Install!
Windows Info confirms the Handle is 0x001B041E
Window Info for the Control
For the life of me I cannot figure out why the script is not working.
Even $blah says the ControlClick succeeded.
I've tried Send("{ENTER}") and MouseClick() those didn't work either.
Any help would be appreciated.
Thanks.
-
By AutoPM
#RequireAdmin AutoItSetOption('MouseCoordMode', 0) If WinExists("newtitle") Then ControlClick('newtitle', '', 'Button1') EndIf a Simple script to click Button on GUI with title "newtitle". this script is working fine on my laptop on [windows 10, windows 7]
but on a different laptop. script is not clicking this button, is there any alternative to control click then please tell. don't want to use mouseclick
Thank you
-
By tentacole
Afternoon!
This is my first post, so I apologize if this is in the wrong place.
I've created a while loop to click in a certain area of an application, and have the y axis change at the end of each loop. My loop continues to click at x:27, x:10, even though the $y is adding 15 at the end of each loop. I did a Send($x) and Send($y) into a Notepad to see if the $y had changed after each loop, and the 15 was being added to $y each loop. (If this makes sense)
I'm unsure where I'm going wrong, and would be extremely grateful if someone can point me in the correct direction to fix this.
Local $rDirectory = "H:\oDemandProject\fList.txt" Local $rLine = _FileCountLines($rDirectory) Local $x = 27 Local $y = 10 While $rline > 0 WinActivate("OnDemand", "-> 1") WinWaitActive("OnDemand", "-> 1") ControlClick("OnDemand", "", "[CLASS:AfxFrameOrView120u; INSTANCE:1]", "left", 4, $x, $y) $y += 15 $rLine -= 1 WEnd
-
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