Hello guys,
(Sorry for my bad English)
I'm trying to write a bot to install Daemon Tools Lite. For those who want to try it:
Download: https://www.daemon-tools.cc/deu/products/dtLite
My problem is that the installation window is difficult to handle and gives me not much information.
so unfortunately ControlClicks don't work.
Installation:
Step 1: choose "Free License"
Step 2: downloading installation Software.
Step 3: ...
Problem: PixelChecksum does not recognize that the Install button appears.
Question: What options are there to check that the Installation "button" can be pressed now?
I tried PixelChecksum and PixelGetColor but I can't manage that the functions always check Pixel of the Daemon Tools window. There are always different values..
Part of the script:
#RequireAdmin
AutoItSetOption('PixelCoordMode', 0)
$sDTLi = 'DAEMON Tools Lite Installer'
Run(@ScriptDir & '\Material\01 Daemon Tools Lite.exe')
WinWait($sDTLi)
WinWaitActive($sDTLi)
Send('{TAB}{SPACE}')
Sleep(3000)
$handle = WinGetHandle($sDTLi)
WinActivate(HWnd($handle))
Local $check1 = PixelChecksum(242, 356, 403, 385, '', HWnd($handle)) ; coordinates of the install 'button' that appears when the download is complete
While $check1 = PixelChecksum(242, 356, 403, 385, '', HWnd($handle))
Sleep(100) ; heres the problem, he can't find any change
WEnd
Sleep(300)
Send('{TAB 4}{SPACE}')
...
...
...
I want CheckSum to always return the same values, even if the window is moved.
I've tried many different versions, but I think this is how it should normally work.
I uploadet the Script. You can download the Daemon Tools Installer file from the above.
Thanks for Help
Daemon Tools Install Script.au3