Jump to content

w1r3dh4ck3r

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by w1r3dh4ck3r

  1. Hello, I'm trying to automate a task and that involves clicking in a button in the software dnSpy when I hover over the button with the Spy tool there is no control information (I'm trying to send a ControlClick), I suppose I could use the mouse to click it but that's risky as it could lead to errors, the application is .NET (I think), so is there a way to use ControlClick to send commands to the buttons in the application? Thanks.
  2. Hey OP can you take a look at why this thing won't work? I try the code in your example (everything is in place, the files (either 32 or 64 none of them works same error)) #include <ImageSearch.au3> HotKeySet("p", "checkForImage") global $y = 0, $x = 0 Func checkForImage() Local $search = _ImageSearch('checkImage.bmp', 0, $x, $y, 0) If $search = 1 Then MouseMove($x, $y, 10) EndIf EndFunc while 1 sleep(200) WEnd Then I get this error: >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\w1r3dh4ck3r\Desktop\ImageSearch\Search.au3" "C:\Program Files (x86)\AutoIt3\Include\ImageSearch.au3" (44) : ==> Subscript used on non-accessible variable.: if $result[0]="0" then return 0 if $result^ ERROR >Exit code: 1 Time: 4.889 Please help me out?
×
×
  • Create New...