Jump to content

JippyJouns

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by JippyJouns

  1. Hello, after such a long time, the posts here have been very helpful for me today. Thanks for that. I can now display .png files with transparency. My question about this: Can I also display a transparent png scaled? I want it to scale proportionally to the resolution (or number of pixels). That shouldn't be a problem if I could even manage to scale a png in any way when displaying it. It's easy with jpg's, but as a beginner I still don't have a solution for png's. If anyone wants to try it out, here is my example script, which I adapted from the examples above for this purpose without knowing much about it: 2in1 (haha).au3 I've simplified my question here: 2in1 (haha).au3
  2. Thank you for your prompt reply. No I have not. Sorry I'm a beginner. How exactly do I have to use the parameter?
  3. 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
×
×
  • Create New...